Hi All, I want to create a bootstrapper for .NET framework 4.0 install as a prerequisite for my application if it is not already present. Below is how i designed my Bundle in which i am referencing my other WIX project:
<?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Bundle Name="OptimizerBootstrapper" Version="1.0.0.0" Manufacturer="SuvraJyoti" UpgradeCode="{1A9F7A91-A9F9-428E-ACD0-5D48621A0C83}"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /> <Chain> <!-- .NET Framework --> <PackageGroupRef Id="Netfx4Full"/> <!-- Install Application --> <MsiPackage Id="PipielineOptimizerEngineApp" SourceFile="$(var.PipelineOptimizerEngineInstallPath)"/> </Chain> </Bundle> <Fragment> <!-- Check for .NET 4.0 --> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version" Variable="Netfx4FullVersion" /> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Version" Variable="Netfx4x64FullVersion" Win64="yes" /> <!-- Install .NEt 4.0 --> <PackageGroup Id="Netfx4Full"> <ExePackage Id="Netfx4Full" DisplayName="Microsoft .NET Framework 4.0" Compressed="no" Cache="yes" PerMachine="yes" Permanent="yes" Protocol="netfx4" Vital="yes" SourceFile="D:\Installables\.NET Framework 4\dotNetFx40_Full_x86_x64.exe" InstallCommand="/passive /norestart /ChainingPackage" RepairCommand="/passive /norestart /repair /ChainingPackage /q" UninstallCommand="/uninstall /passive /norestart /ChainingPackage /q" DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)" /> </PackageGroup> </Fragment> </Wix> I am getting the below warning as well: /c:\CompletedBuilds\PLO\OptimizerBundle.wixobj : warning LGHT1109 : Found mismatched entry point <Bundle>. Expected <Product> for specified output package type.msi./ Also below are all the candle and light commands that i am using: %WiXDir%\candle -ext WixUIExtension -out %outputPath%\ -I .\TortInstaller\TortInstall.wxs %outputPath%\db.wxs %outputPath%\data.wxs %outputPath%\engine.wxs %outputPath%\security.wxs %outputPath%\gui.wxs -trace %WiXDir%\light -ext WixUIExtension -out %outputPath%\PipelineOptimizerEngineInstall_%VERSION%_%BUILD%.msi %outputPath%\TortInstall.wixobj pause ::Referencing the BUNDLE here %WiXDir%\candle -ext WixBalExtension -ext WixUtilExtension -out %outputPath%\ -dPipelineOptimizerEngineInstallPath=%outputPath%\PipelineOptimizerEngineInstall_%VERSION%_%BUILD%.msi -I .\TortInstaller\OptimizerBundle.wxs -trace %WiXDir%\light -ext WixBalExtension -ext WixUtilExtension -out %outputPath%\PipelineOptimizerEngineInstallBootstrapper_%VERSION%_%BUILD%.msi %outputPath%\OptimizerBundle.wixobj The PipelineOptimizerEngineInstallBootstrapper.msi that is created does not seem to work. My system does have .NET framework 4.0 but that should not mean that i should be getting the message as below on clicking the Bootstrapper msi: /"The installation package could not be opened.Contact the application vendor to verify that this is a valid Windows installer package"/ Also i get to see that the dotNetFx40_Full_x86_x64.exe is produced in the output path where the installers are ouput. Should this happen at all. Please help me in getting these to work. Regards, Suvra Jyoti ------------------------------------------------------------------------------ Flow-based real-time traffic analytics software. Cisco certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer Customize your own dashboards, set traffic alerts and generate reports. Network behavioral analysis & security monitoring. All-in-one tool. http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users