feat-001: add Start Menu shortcut to installer
This commit is contained in:
18
wix/main.wxs
18
wix/main.wxs
@@ -85,6 +85,9 @@
|
||||
<Property Id='DiskPrompt' Value='tickr Installation'/>
|
||||
|
||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
||||
<Directory Id='ProgramMenuFolder'>
|
||||
<Directory Id='ApplicationProgramsFolder' Name='Tickr'/>
|
||||
</Directory>
|
||||
<Directory Id='$(var.PlatformProgramFilesFolder)' Name='PFiles'>
|
||||
<Directory Id='APPLICATIONFOLDER' Name='tickr'>
|
||||
<!--
|
||||
@@ -120,6 +123,20 @@
|
||||
Source='$(var.CargoTargetBinDir)\tickr.exe'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
<Component Id='ApplicationShortcut' Guid='*'>
|
||||
<Shortcut Id='ApplicationStartMenuShortcut'
|
||||
Name='Tickr'
|
||||
Description='Tickr Stock Ticker'
|
||||
Target='[Bin]tickr-launcher.exe'
|
||||
WorkingDirectory='Bin'/>
|
||||
<RemoveFolder Id='CleanUpShortcut' Directory='ApplicationProgramsFolder' On='uninstall'/>
|
||||
<RegistryValue Root='HKCU'
|
||||
Key='Software\Whitlocktech\Tickr'
|
||||
Name='installed'
|
||||
Type='integer'
|
||||
Value='1'
|
||||
KeyPath='yes'/>
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
@@ -141,6 +158,7 @@
|
||||
<ComponentRef Id='License'/>
|
||||
|
||||
<ComponentRef Id='binary0'/>
|
||||
<ComponentRef Id='ApplicationShortcut'/>
|
||||
|
||||
<Feature
|
||||
Id='Environment'
|
||||
|
||||
Reference in New Issue
Block a user