Hi, Hope someone can help me. I'm trying to install the Visual C++ redistributables file vcredist_x86.exe
I can't use merge modules as I've been asked to use this one EXE file. I added it to a bootstrapper using this code: <ItemGroup> <BootstrapperFile Include="Microsoft.Visual.C++.10.0.x86"> <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> But this installs the prerequisites at the beginning and I have been asked to show our welcome dialog and then do a registry search to see if the appropriate files are installed. If they are not to call the vcredist_x86.exe file. Can this be done? I'm trying this but cannot get it to work. <CustomAction Id="QtExecDeferredExampleWithProperty_Cmd" Property="QtExecDeferredExampleWithProperty" Value=""[#vcredist_x86.exe]"" Execute="immediate"/> <CustomAction Id="QtExecDeferredExampleWithProperty" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="deferred" Return="check" Impersonate="no"/> <InstallExecuteSequence> <Custom Action="QtExecDeferredExampleWithProperty_Cmd" After="CostFinalize"/> <Custom Action="QtExecDeferredExampleWithProperty" After="InstallInitialize"/> </InstallExecuteSequence> Kind Regards, Natalie Carr ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users