How are you referencing the fragment with your searches that aren't working? Is it possible you are only referencing them from the .Net bundle?
-----Original Message----- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: Tuesday, January 22, 2013 9:57 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( This is bizarre.. With .NET 4.0 in Burn: [25E8:1194][2013-01-22T10:00:00]i100: Detect begin, 11 packages [25E8:1194][2013-01-22T10:00:00]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\Office\12.0\Outlook' [25E8:1194][2013-01-22T10:00:00]i000: Setting string variable 'Office2010Bitness' to value 'x86' [25E8:1194][2013-01-22T10:00:00]i000: Registry value not found. Key = 'SOFTWARE\Microsoft\Office\15.0\Outlook', Value = 'Bitness' [25E8:1194][2013-01-22T10:00:00]i000: Setting string variable 'Netfx4x64FullVersion' to value '4.0.30319' [25E8:1194][2013-01-22T10:00:00]i000: Setting string variable 'Netfx4FullVersion' to value '4.0.30319' [25E8:1194][2013-01-22T10:00:00]i052: Condition 'Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)' evaluates to true. [25E8:1194][2013-01-22T10:00:00]i103: Detected related package: {A4E269C1-168D-40D3-9ABD-57FE4D4DB537}, scope: PerMachine, version: 2.1.1648.0, language: 0 operation: MajorUpgrade [25E8:1194][2013-01-22T10:00:00]i103: Detected related package: {7AC8EF88-D996-4D47-B40C-4DD93E307481}, scope: PerMachine, version: 2.1.1648.0, language: 0 operation: MajorUpgrade [25E8:1194][2013-01-22T10:00:00]i101: Detected package: Netfx4Full, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: A_Synchronizationx86, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: A_Synchronizationx64, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: DatabaseProvidersx64, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: DatabaseProvidersx86, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: SQLCompactx86, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: SQLCompactx64, state: Present, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: ServicesInstall_x86, state: Absent, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: ServicesInstall_x64, state: Absent, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: MainInstall, state: Absent, cached: None [25E8:1194][2013-01-22T10:00:00]i101: Detected package: MainInstall_x64, state: Absent, cached: None [25E8:1194][2013-01-22T10:00:00]i199: Detect complete, result: 0x0 With .NET 4.0 commented out... [1D40:204C][2013-01-22T10:03:50]i100: Detect begin, 10 packages [1D40:204C][2013-01-22T10:03:50]i103: Detected related package: {A4E269C1-168D-40D3-9ABD-57FE4D4DB537}, scope: PerMachine, version: 2.1.1648.0, language: 0 operation: MajorUpgrade [1D40:204C][2013-01-22T10:03:50]i103: Detected related package: {7AC8EF88-D996-4D47-B40C-4DD93E307481}, scope: PerMachine, version: 2.1.1648.0, language: 0 operation: MajorUpgrade [1D40:204C][2013-01-22T10:03:50]i101: Detected package: A_Synchronizationx86, state: Present, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: A_Synchronizationx64, state: Present, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: DatabaseProvidersx64, state: Present, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: DatabaseProvidersx86, state: Present, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: SQLCompactx86, state: Present, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: SQLCompactx64, state: Present, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: ServicesInstall_x86, state: Absent, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: ServicesInstall_x64, state: Absent, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: MainInstall, state: Absent, cached: None [1D40:204C][2013-01-22T10:03:50]i101: Detected package: MainInstall_x64, state: Absent, cached: None [1D40:204C][2013-01-22T10:03:50]i199: Detect complete, result: 0x0 -----Original Message----- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: January-22-13 10:49 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( >From the log file how are the values of your various Office20xxx variables >changing between with and without .NET 4.0? Neil -----Original Message----- From: Steven Ogilvie [mailto:steven.ogil...@titus.com] Sent: 22 January 2013 15:42 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( This is so weird!!! I put back in the .NET 4.0 pre req and now my product is installing... Chain packagegroupref: <Chain> <PackageGroupRef Id="Netfx4Full"/> Installconditions for .NET: <Fragment Id="InstallConditionChecks"> <!-- Check for .NET 4.0 --> <WixVariable Id="WixMbaPrereqPackageId" Value="Netfx4Full" /> <WixVariable Id="WixMbaPrereqLicenseUrl" Value="NetfxLicense.rtf" /> <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" /> <PackageGroup Id="Netfx4Full"> <ExePackage Id="Netfx4Full" DisplayName="Microsoft .NET Framework 4.0" Cache="no" Compressed="no" PerMachine="yes" Permanent="yes" Vital="yes" SourceFile="..\PreReqs\dotNetFx40_Full_x86_x64.exe" Name="RedistTMC\dotNetFx40_Full_x86_x64.exe" InstallCommand="/passive /norestart" DetectCondition="Netfx4FullVersion AND (NOT VersionNT64 OR Netfx4x64FullVersion)"/> </PackageGroup> -----Original Message----- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: January-22-13 10:02 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Burn InstallCondition not working when it used to :( Hi Folks, I have two installers, one 32 bit and one 64 bit. They depend on the bit'ness of Outlook... so if Outlook is 32 bit, then the 32 bit installer runs, if Outlook is 64 bit then the 64 bit installer runs... It was working before and now isn't... the only thing I have done recently is install WIX 3.7 and remove the .NET 4.0 pre requisite... This is the log file contents: [2524:1B90][2013-01-22T09:52:01]i052: Condition '(Office2007InternetMail = "Internet Mail") OR (Office2010Bitness = "x86") OR (Office2013Bitness = "x86")' evaluates to false. [2524:1B90][2013-01-22T09:52:01]i052: Condition '(Office2010Bitness = "x64") OR (Office2013Bitness = "x64") AND VersionNT64' evaluates to false. This is the MSI package elements: <MsiPackage Id="MainInstall" DisplayName="$(var.ProductName)" SourceFile="$(var.OutDir)MYCOMPANY_MYPRODUCT_Setup_x86.msi" Name="RedistTMC\MYCOMPANY_MYPRODUCT_Setup_x86.msi" InstallCondition="(Office2007InternetMail = "Internet Mail") OR (Office2010Bitness = "x86") OR (Office2013Bitness = "x86")" DisplayInternalUI="yes" Visible="no" Cache="no" Compressed="no" Permanent="no"/> <MsiPackage Id="MainInstall_x64" DisplayName="$(var.ProductName) x64" SourceFile="$(var.OutDir)MYCOMPANY_MYPRODUCT_Setup_x64.msi" Name="RedistTMC\MYCOMPANY_MYPRODUCT_Setup_x64.msi" DisplayInternalUI="yes" InstallCondition="(Office2010Bitness = "x64") OR (Office2013Bitness = "x64") AND VersionNT64" Visible="no" Cache="no" Compressed="no" Permanent="no" After="ServicesInstall_x64"/> </Chain> This is the fragment: </Chain> </Bundle> <Fragment Id="InstallConditionChecks"> <util:RegistrySearch Id="MSOfficeOutlook2007" Format="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Office\12.0\Outlook" Value="Internet Mail" Result="value" Variable="Office2007InternetMail"/> <util:RegistrySearch Id="MSOfficeOutlook2010" Format="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Office\14.0\Outlook" Value="Bitness" Result="value" Variable="Office2010Bitness"/> <util:RegistrySearch Id="MSOfficeOutlook2013" Format="raw" Root="HKLM" Key="SOFTWARE\Microsoft\Office\15.0\Outlook" Value="Bitness" Result="value" Variable="Office2013Bitness"/> Any clue as to why this isn't working anymore? This is effecting the stop of QA builds :( Any help would be very appreciated!! thanks, Steve -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-InstallCondition-not-working-when-it-used-to-tp7583088.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users