Skip to content

Commit a1a8ba6

Browse files
committed
Added feature for desktop shortcuts
1 parent 4fd466b commit a1a8ba6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ngscopeclient/wix/ngscopeclient.wxs.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
<Directory Id="TARGETDIR" Name="SourceDir">
2020
<Directory Id="ProgramMenuFolder">
2121
<Directory Id="DesktopFolder" Name="Desktop">
22-
<Shortcut Id="RunProgram" Directory="DesktopFolder" Name="$(var.Product)" Description="$(var.Product)" Target="[APPLICATIONFOLDER]$(var.ShortcutTarget)" />
22+
<Component Id="DesktopShortcuts" Guid="$(var.Uuid.DesktopShortcuts)">
23+
<Shortcut Id="RunProgram" Directory="DesktopFolder" Name="$(var.Product)" Description="$(var.Product)" Target="[APPLICATIONFOLDER]$(var.ShortcutTarget)" />
24+
</Component>
2325
</Directory>
2426
<Directory Id="ProgramMenuDir" Name="ngscopeclient">
2527
<Component Id="StartMenuShortcuts" Guid="$(var.Uuid.StartMenuShortcuts)">
@@ -40,6 +42,7 @@
4042
</Directory>
4143
<Feature Id="DefaultFeature" Level="1" Title="$(var.Product)">
4244
<ComponentRef Id="StartMenuShortcuts" />
45+
<ComponentRef Id="DesktopShortcuts" />
4346
<ComponentRef Id="InstallDir" />
4447
<ComponentGroupRef Id="AllFiles" />
4548
</Feature>

0 commit comments

Comments
 (0)