Update build.wxs

pull/743/head
Romain 2024-10-18 16:15:38 +02:00
parent b203534676
commit 5083ff1f94
1 changed files with 2 additions and 2 deletions

View File

@ -360,12 +360,12 @@
</Component> </Component>
</Directory> </Directory>
</StandardDirectory> </StandardDirectory>
<StandardDirectory Id="AppInstallerFolder"> <StandardDirectory Id="DesktopFolder">
<Component Id="AppInstallerShortcut" Condition="APPINSTALLERSHORTCUT = 1"> <Component Id="AppInstallerShortcut" Condition="APPINSTALLERSHORTCUT = 1">
<RegistryKey Root="HKCU" Key="SOFTWARE\[Manufacturer]\[ProductName]"> <RegistryKey Root="HKCU" Key="SOFTWARE\[Manufacturer]\[ProductName]">
<RegistryValue Name="WAU_AppInstallerShortcut" Type="integer" Value="[APPINSTALLERSHORTCUT]" KeyPath="yes" /> <RegistryValue Name="WAU_AppInstallerShortcut" Type="integer" Value="[APPINSTALLERSHORTCUT]" KeyPath="yes" />
</RegistryKey> </RegistryKey>
<Shortcut Id="AppInstallerShortcut" Name="Run WAU" Target="[System64Folder]conhost.exe" Arguments="--headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File &quot;[INSTALLDIR]WAU-Installer-GUI.ps1&quot;" Icon="icon.ico" /> <Shortcut Id="AppInstallerShortcut" Name="WAU App Installer" Target="[System64Folder]conhost.exe" Arguments="--headless powershell.exe -NoProfile -ExecutionPolicy Bypass -File &quot;[INSTALLDIR]WAU-Installer-GUI.ps1&quot;" Icon="icon.ico" />
</Component> </Component>
</StandardDirectory> </StandardDirectory>
<StandardDirectory Id="DesktopFolder"> <StandardDirectory Id="DesktopFolder">