mirror of
https://github.com/servo/servo
synced 2026-04-25 17:15:48 +02:00
Create a Burn variable and pass it to MSI, in order to really install the bundle on customized path chosen in UI. Doc: https://docs.firegiant.com/wix/whatsnew/#default-installation-folder Testing: Tested with [try](https://github.com/servo/servo/pull/41653#issuecomment-3707098782). - Install works - Uninstall works - Default path works Fixes: #40995 --------- Signed-off-by: Euclid Ye <yezhizhenjiakang@gmail.com>
28 lines
923 B
XML
28 lines
923 B
XML
<?xml version="1.0"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
|
|
<Bundle Name="Servo"
|
|
Version="1.0"
|
|
UpgradeCode="91b09c7e-6c0d-4166-b806-1dc724acf728">
|
|
|
|
<Variable Name="InstallFolder"
|
|
Type="string"
|
|
Value="[ProgramFiles64Folder]Servo\Servo Tech Demo"
|
|
bal:Overridable="yes" />
|
|
|
|
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.HyperlinkLicense">
|
|
<bal:WixStandardBootstrapperApplication
|
|
LicenseUrl="https://www.mozilla.org/en-US/MPL/2.0/"
|
|
/>
|
|
</BootstrapperApplicationRef>
|
|
<Chain>
|
|
<MsiPackage
|
|
SourceFile="Installer.msi"
|
|
Compressed="yes"
|
|
DisplayName="Servo"
|
|
ForcePerMachine="yes">
|
|
<MsiProperty Name="INSTALLDIR" Value="[InstallFolder]" />
|
|
</MsiPackage>
|
|
</Chain>
|
|
</Bundle>
|
|
</Wix>
|