0
我正打算在我的軟件包鏈中包含一個驅動程序MSI,但我不確定如何引用它。在WiX引導程序中綁定第三方Msi
我有以下代碼微星是在我的項目文件夾/資源/ DriverInstaller.msi
這是我,但我收到關於構建
未定義的預處理器變量「$此錯誤(var.InstallerBootstrapper.ProjectDir)」。 InstallerBootstrapper
<?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="Installer" Version="4.0.0.0" Manufacturer="Laxus Hipot" UpgradeCode="7cbb781f-c5cc-4805-b599-713357824532">
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
<bal:WixStandardBootstrapperApplication LicenseFile="Resources\EULA.rtf" LogoFile="Resources\Icon.png" />
</BootstrapperApplicationRef>
<Chain>
<MsiPackage Id="DriverInstaller" SourceFile="$(var.InstallerBootstrapper.ProjectDir)Resources\DriverInstaller.msi" />
<MsiPackage Id="Installer" SourceFile="$(var.InstallerSetup.TargetPath)" />
</Chain>
</Bundle>
</Wix>