CA-375346: Point to Wix Shell instead of executable when launching XenCenter

XenCenter executable was started with elevated privileges even with use of `Impersonate = "yes"`, and `WixShellExecTarget` was actually ignored.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
This commit is contained in:
Danilo Del Busso 2023-02-21 09:25:59 +00:00 committed by Konstantina Chremmou
parent 4089e821bd
commit 3edf31b7a2

View File

@ -245,11 +245,11 @@
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="!(loc.XenCenter_Launch) $(var.BrandConsole)" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1" />
<Property Id="WixShellExecTarget" Value="[#XenCenterEXE]" />
<CustomAction Id="LaunchApplication"
FileKey="XenCenterEXE"
ExeCommand="/X"
<CustomAction Id="LaunchApplication"
BinaryKey="WixCA"
DllEntry="WixShellExec"
Impersonate="yes"
Return="asyncNoWait" />
/>
<Icon Id="XenCenterICO" SourceFile="$(env.RepoRoot)\Branding\Images\AppIcon.ico" />
</Product>
</Wix>