<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
<Bundle Name="fire" Version="1.0.0.0" Manufacturer="hans" UpgradeCode="8211dbca-38d0-4dde-aa6a-f03f0ca341a5">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" />
<Variable Name="InstallFolder" Type="string" Value="[ProgramFilesFolder]"/>
<Chain>
<MsiPackage Vital="yes" DisplayName="Your Name" Id="MsiId" SourceFile=".\installer.msi">
<MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
</MsiPackage>
</Chain>
</Bundle>
<Fragment>
<PackageGroup Id="VC_redist_x86">
<ExePackage Id="VC_redist_x86"
DisplayName="Visual Studio Redistributable Package x86"
Cache ="yes"
Compressed="yes"
PerMachine="yes"
Permanent="yes"
Vital="yes"
SourceFile=".\VC_redist.x86.exe"
InstallCommand="\passive /norestart" />
</PackageGroup>
<PackageGroup Id="flash_ppapi">
<ExePackage Id="flash_ppapi"
DisplayName="Flash Player ppapi"
Cache ="yes"
Compressed="yes"
PerMachine="yes"
Permanent="yes"
Vital="yes"
SourceFile=".\flashplayer32pp_ka_install.exe"
InstallCommand="\passive /norestart" />
</PackageGroup>
</Fragment>
installer.msi的默认路径是“ C:\ Program Files(x86)\ Default Company Name”。
当我运行bootstrapper时,它将安装在默认路径中。
我希望将其安装在“ C:\ Program Files(x86)\ testtest”文件夹中,但安装在默认路径“ C:\ Program Files(x86)\ Default Company Name”中。