Hi All, I have been having problems with the Burn bootstrapper when the MSIPackage is installed with the "DisplayInternalUI=yes". We need this as a requirement.
The problem I face is that When we click on "Cancel" for the MSI installation, the whole prerequisite is going into a reinstall or repair mode bypassing the "InstallCondition" of each EXEPackage that is defined. Is this a bug or am I doing it wrong? Also how can I block from the bundle from being installed when the MSI is already installed? I have tried the "Condition" element in the bundle but it seems to bypass that too. Below is my codes: BUNDLE.WXS: <?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 Version="6.0.0.16" Condition="NOT WixSOIInstalled" IconSourceFile="..\SourceFiles\setup.ico" UpgradeCode="7CD9A5CB-A250-426A-939A-49751499C42E"> <BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense" /> <WixVariable Id="WixStdbaLicenseRtf" Value="..\SourceFiles\License.rtf" /> <WixVariable Id="WixStdbaLogo" Value="..\SourceFiles\logo_next.png" /> <WixVariable Id="WixStdbaThemeXml" Value="..\SourceFiles\ExactRtfTheme.xml"/> <util:ProductSearch Guid ="183B99EC-EF7E-46ac-ACA0-28D06BEE1604" Id ="SOIInstalledSearch" Variable ="WixSOIInstalled" /> <Chain > <PackageGroupRef Id="NetFX40" /> <PackageGroupRef Id="VSTO40x86" /> <PackageGroupRef Id="VSTO40x64" /> <MsiPackage Name="Office Integration" Compressed="yes" Vital="yes" SourceFile="..\SourceFiles\OfficeIntegration.msi" DisplayInternalUI="yes" InstallCondition="NOT WixSOIInstalled"> </MsiPackage> </Chain> </Bundle> </Wix> NETFX.WXS: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Fragment> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Install" Variable="NetFX40Install" /> <util:RegistrySearch Root="HKLM" Key="SOFTWARE\Wow6432Node\Microsoft\Net Framework Setup\NDP\v4\Full" Value="Install" Variable="NetFX40x64Install"/> <PackageGroup Id="NetFX40"> <ExePackage Id="dotNetFx40_Full_x86_x64.exe" Vital="yes" SourceFile="..\SourceFiles\dotNetFx40_Full_setup.exe" DownloadUrl="http://www.microsoft.com/download/en/details.aspx?id=17851" InstallCommand="/q /norestart /log %TEMP%\dotNetFx40install.log" DetectCondition="(NetFX40Install >= 1) OR (NetFX40x64Install >= 1)" InstallCondition="NOT NetFX40Install OR (VersionNT64 AND NOT NetFX40x64Install)" PerMachine ="yes" Permanent ="yes" Name =".NET Framework 4.0 full runtime" /> </PackageGroup> </Fragment> </Wix> VSTO.WXS: <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Fragment> <util:RegistrySearch Root="HKLM" Key="Software\Microsoft\vsto runtime setup\v4R" Value="VSTORFeature_CLR40" Variable="VSTO40x86Install" /> <PackageGroup Id="VSTO40x86"> <ExePackage Id="vstor40_x86.exe" Vital="yes" SourceFile="..\SourceFiles\vstor40_x86.exe" DownloadUrl="http://www.microsoft.com/download/en/details.aspx?id=20479" InstallCommand="/q" DetectCondition="VSTO40x86Install >= 1" InstallCondition="NOT VersionNT64 AND NOT VSTO40x86Install" PerMachine ="yes" Permanent ="yes" Name ="Visual Studio 2010 for Office Runtime (x86)" /> </PackageGroup> </Fragment> </Wix> ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users