[Skip CI] Add Desktop Shortcut
MODIFY
WalletWasabi.WindowsInstaller/Components.wxs
WalletWasabi.WindowsInstaller/Components.wxs
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<ComponentGroup Id="ProductComponents">
- <ComponentRef Id="MainAppShortcut"/>
+ <ComponentRef Id="StartMenuShortcut"/>
+ <ComponentRef Id="DesktopShortcut"/>
</ComponentGroup>
- <DirectoryRef Id="INSTALLFOLDER" FileSource="..\WalletWasabi.Gui\bin\dist\win7-x64\">
- <Component Id="MainAppShortcut" Guid="{50CAF59B-0B66-4CA3-8D92-C96591A707AD}" Win64="yes">
+ <DirectoryRef Id="INSTALLFOLDER" FileSource="SourceDir">
+ <Component Id="StartMenuShortcut" Guid="{50CAF59B-0B66-4CA3-8D92-C96591A707AD}" Win64="yes">
<Shortcut
- Id="MainAppShortcut"
+ Id="StartMenuShortcut"
Name="!(loc.ProductName)"
+ Description="!(loc.Description)"
Target="[INSTALLFOLDER]Wasabi Wallet.exe"
Directory="InstallProgramMenuFolder"
WorkingDirectory="INSTALLFOLDER"
Icon="icon.ico"
/>
- <RegistryValue Id="RegShortcutKey" Root="HKCU" Key="SOFTWARE\!(loc.ProductNameFolder)" Name="Shortcut" Value="1" Type="integer" KeyPath="yes" />
+ <RegistryValue Id="StartMenuShortcutKey" Root="HKCU" Key="SOFTWARE\!(loc.ProductNameFolder)" Name="StartMenuShortcut" Value="1" Type="integer" KeyPath="yes" />
<RemoveFolder Id="RemoveStartMenu" Directory="InstallProgramMenuFolder" On="uninstall"/>
</Component>
+
+ <Component Id="DesktopShortcut" Guid="{FD3D13B1-AA09-495F-A1DE-0E50A010DDF6}" Win64="yes">
+ <Shortcut
+ Id="DesktopShortcut"
+ Name="!(loc.ProductName)"
+ Description="!(loc.Description)"
+ Target="[INSTALLFOLDER]Wasabi Wallet.exe"
+ Directory="DesktopFolder"
+ WorkingDirectory="INSTALLFOLDER"
+ Icon="icon.ico"
+ />
+ <RegistryValue Id="DesktopShortcutKey" Root="HKCU" Key="SOFTWARE\!(loc.ProductNameFolder)" Name="DesktopShortcut" Value="1" Type="integer" KeyPath="yes" />
+ <RemoveFolder Id="RemoveDesktop" Directory="DesktopFolder" On="uninstall"/>
+ </Component>
</DirectoryRef>
+
</Fragment>
</Wix>

MODIFY
WalletWasabi.WindowsInstaller/Directories.wxs
WalletWasabi.WindowsInstaller/Directories.wxs
<Directory Id="InstallProgramMenuFolder" Name="!(loc.ProductNameFolder)" />
</Directory>
+ <!-- Desktop -->
+ <Directory Id="DesktopFolder">
+
+ </Directory>
+
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="!(loc.ProductNameFolder)" />
</Directory>

[Skip CI] Add Desktop Shortcut