2
嗨誰能告訴我如何引用vcredist_x86.exe
文件在我的wix安裝程序的引導程序。威克斯Visual C++可引導程序的可再分發
我已經試過這樣:
<ItemGroup>
<BootstrapperFile Include="vcredist_86">
<ProductName>Microsoft Visual C++ Redistributables</ProductName>
</BootstrapperFile>
</ItemGroup>
<Target Name="AfterBuild">
<GenerateBootstrapper ApplicationFile="$(TargetFileName)" ApplicationName="Server Setup" BootstrapperItems="@(BootstrapperFile)" ComponentsLocation="Relative" CopyComponents="True" OutputPath="$(OutputPath)" Path="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\" />
</Target>
但我的錯誤是:
warning MSB3155: Item 'vcredist_86' could not be located in 'C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\'.
我覺得這條線是問題,但我不知道正確的名稱擺在並不能找到它的任何地方:
<BootstrapperFile Include="vcredist_86">
哦,一個愚蠢的錯誤,這是家附近的時候什麼..;) –