use INSTALLLOCATION for working dir on desktop shortcut

with that xenadmin is able to find the report file for https://github.com/xcp-ng/xenadmin/issues/99
This commit is contained in:
Alexander Schulz 2018-11-08 23:14:05 +01:00
parent a685054f3b
commit ec7d0061a2

View File

@ -34,7 +34,11 @@
<UIRef Id="WixUI_Minimal"/>
<DirectoryRef Id="ApplicationProgramsFolder">
<Component Id="ApplicationShortcut" Guid="{2010795F-AB74-4166-89F0-B555B3DEB9C8}">
<Shortcut Id="startmenuxcpng" Name="[XenCenter]" Target="[INSTALLLOCATION]$(var.splash.TargetFileName)" WorkingDirectory="INSTALLLOCATION" />
<Shortcut Id="startmenuxcpng"
Name="[XenCenter]"
Target="[INSTALLLOCATION]$(var.splash.TargetFileName)"
WorkingDirectory="INSTALLLOCATION" />
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\[BRANDING_COMPANY_NAME_SHORT]\[XenCenter]" Name="installed" Type="integer" Value="1" KeyPath="yes" />
</Component>
@ -52,7 +56,7 @@
<Shortcut Id="ApplicationShortcutDesktop"
Target="[INSTALLLOCATION]$(var.splash.TargetFileName)"
WorkingDirectory="INSTALLFOLDER"
WorkingDirectory="INSTALLLOCATION"
Directory="DesktopFolder"
Name="[XenCenter]"
Advertise="no"/>