2012-08-28 4 views
2

안녕하세요 누구든지 내 wix 설치 프로그램의 부트 스트 래퍼에서 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\'. 

내가이 줄 문제라고 생각하지만 난에 넣어 올바른 이름을 모르고 찾을 수 없습니다 어디서나 : C에서

<BootstrapperFile Include="vcredist_86"> 

답변

2

봐 : \ 프로그램 파일 마이크로 소프트의 SDK \ WINDOWS \ v7.0A \ 부트 스트 래퍼 \ 패키지 \ (86) 찾아 해당 폴더 (예 : vcredist_x86). 그런 다음 product.xml 파일을 열고 ProductCode로 나열된 것을 사용하십시오. 예를 들어

". Microsoft.Visual.C++ 10.0.x86"=

제품 코드

+0

,이 집 시간 근처에 바보 같은 오류가 무엇 오 ..;) –

관련 문제