Skip to content

Commit

Permalink
fix(msi): MSI fails to install when deployed machine-wide via GPO
Browse files Browse the repository at this point in the history
Disable advertised shortcuts, since MSIs with advertised Start Menu shortcuts that have a
Shortcut Property fail to install when deployed machine-wide via GPO, but work fine in all
other contexts. This might be a bug in Windows, or a misdiagnosis; see electron-userland#6508 for more details.

Closes electron-userland#6508
BREAKING CHANGE: Admins using advertisement must apply an MST to re-enable it. See electron-userland#6508.
  • Loading branch information
aplum committed Dec 23, 2021
1 parent b81ec0c commit a0392bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/app-builder-lib/templates/msi/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

<Property Id="ApplicationFolderName" Value="${installationDirectoryWixName}"/>
<Property Id="WixAppFolder" Value="WixPerUserFolder"/>
<Property Id="DISABLEADVTSHORTCUTS" Value="1"/>

{{ if (iconPath) { }}
<Icon Id="${iconId}" SourceFile="${iconPath}"/>
Expand Down

0 comments on commit a0392bb

Please sign in to comment.