Skip to content

Commit a078e3b

Browse files
committed
Revert "Hopefully make desktop icon optional. See #887."
This reverts commit c996324.
1 parent c996324 commit a078e3b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/ngscopeclient/wix/ngscopeclient.wxs.in

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,9 @@
2424
<RegistryValue Root="HKCU" Key="Software\$(var.RegKey)" Name="InstallDir" Value="[APPLICATIONFOLDER]" Type="string" KeyPath="yes" />
2525
<RemoveFolder Id="ProgramMenuDir" Directory="ProgramMenuDir" On="uninstall" />
2626
<Shortcut Id="RunProgram" Directory="ProgramMenuDir" Name="$(var.Product)" Description="Run $(var.Product)" Target="[APPLICATIONFOLDER]$(var.ShortcutTarget)" />
27+
<Shortcut Id="RunProgramDesktop" Directory="DesktopFolder" Name="$(var.Product)" Description="Run $(var.Product)" Target="[APPLICATIONFOLDER]$(var.ShortcutTarget)" />
2728
<Shortcut Id="UninstallProduct" Directory="ProgramMenuDir" Name="Uninstall $(var.Product)" Description="Uninstalls the $(var.Product)" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" />
2829
</Component>
29-
<Component Id="DesktopShortcuts" Guid="$(var.Uuid.DesktopShortcuts)">
30-
<Shortcut Id="RunProgramDesktop" Directory="DesktopFolder" Name="$(var.Product)" Description="Run $(var.Product)" Target="[APPLICATIONFOLDER]$(var.ShortcutTarget)" />
31-
</Component>
3230
</Directory>
3331
</Directory>
3432
<Directory Id="ProgramFiles64Folder">
@@ -44,9 +42,6 @@
4442
<ComponentRef Id="InstallDir" />
4543
<ComponentGroupRef Id="AllFiles" />
4644
</Feature>
47-
<Feature Id="Icons" Level="1" Title="Create Desktop Shortcut">
48-
<ComponentRef Id="DesktopShortcuts" />
49-
</Feature>
5045
<Media Id="1" Cabinet="files.cab" EmbedCab="yes" />
5146
<UIRef Id="WixUI_Custom" />
5247
<Property Id="ALLUSERS" Value="1" />

0 commit comments

Comments
 (0)