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 = quot;Internet Mailquot;) OR (Office2010Bitness = quot;x86quot;) OR (Office2013Bitness = quot;x86quot;) 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 = quot;x64quot;) OR (Office2013Bitness = quot;x64quot;) 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
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 = quot;Internet Mailquot;) OR (Office2010Bitness = quot;x86quot;) OR (Office2013Bitness = quot;x86quot;) 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 = quot;x64quot;) OR (Office2013Bitness = quot;x64quot;) 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
Re: [WiX-users] Burn InstallCondition not working when it used to :(
The log file should explain all. On Tue, Jan 22, 2013 at 7:02 AM, StevenOgilvie sogil...@msn.com wrote: 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 = quot;Internet Mailquot;) OR (Office2010Bitness = quot;x86quot;) OR (Office2013Bitness = quot;x86quot;) 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 = quot;x64quot;) OR (Office2013Bitness = quot;x64quot;) 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
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
Re: [WiX-users] Burn InstallCondition not working when it used to :(
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
Re: [WiX-users] Burn InstallCondition not working when it used to :(
Complete Bundle.wxs WITH .NET 4.0: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:bal=http://schemas.microsoft.com/wix/BalExtension; xmlns:net=http://schemas.microsoft.com/wix/NetFxExtension; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; ?include $(var.SolutionDir)Includes\Variables.wxi ? Bundle Name=$(var.ProductName) Version=$(var.ProductVersion) Manufacturer=$(var.ProductCompany) UpgradeCode=some guid placed here DisableModify=yes DisableRemove=no HelpTelephone=a number HelpUrl=http://www.mycorp.com/support/index.php; Copyright=blah. IconSourceFile=$(var.resourcePath)\MyProduct.ico SplashScreenSourceFile=$(var.resourcePath)\Side.bmp BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.HyperlinkLicense bal:WixStandardBootstrapperApplication SuppressOptionsUI=yes LicenseUrl= LogoFile=$(var.resourcePath)\logo.png/ /BootstrapperApplicationRef Chain PackageGroupRef Id=Netfx4Full/ MsiPackage Id=A_Synchronizationx86 DisplayName=Microsoft Sync Framework 2.1 Core Components (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x86-ENU.msi Name=RedistTMC\Synchronization-v2.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=A_Synchronizationx64 DisplayName=Microsoft Sync Framework 2.1 Core Components (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x64-ENU.msi Name=RedistTMC\Synchronization-v2.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=DatabaseProvidersx86 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x86-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes After=A_Synchronizationx86/ MsiPackage Id=DatabaseProvidersx64 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x64-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes After=A_Synchronizationx64/ MsiPackage Id=SQLCompactx86 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x86-ENU.msi Name=RedistTMC\SSCERuntime_x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=SQLCompactx64 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x64-ENU.msi Name=RedistTMC\SSCERuntime_x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=ServicesInstall_x86 DisplayName=MyCorp Services x86 SourceFile=$(var.OutDir)MyCorp_Services_Setup_x86.msi Name=RedistTMC\MyCorp_Services_Setup_x86.msi InstallCondition=Not VersionNT64 DisplayInternalUI=no Visible=no Cache=no Compressed=no Permanent=no MsiProperty Name=SERVER_INSTALL Value=0/ /MsiPackage MsiPackage Id=ServicesInstall_x64 DisplayName=MyCorp Services x64 SourceFile=$(var.OutDir)MyCorp_Services_Setup_x64.msi Name=RedistTMC\MyCorp_Services_Setup_x64.msi
Re: [WiX-users] Burn InstallCondition not working when it used to :(
Jacob was right, your Office20xxx variables are in a fragment and there aren't any references to it unless you include .NET therefore they are not included in the code. Neil -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: 22 January 2013 16:13 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( Complete Bundle.wxs WITH .NET 4.0: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:bal=http://schemas.microsoft.com/wix/BalExtension; xmlns:net=http://schemas.microsoft.com/wix/NetFxExtension; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; ?include $(var.SolutionDir)Includes\Variables.wxi ? Bundle Name=$(var.ProductName) Version=$(var.ProductVersion) Manufacturer=$(var.ProductCompany) UpgradeCode=some guid placed here DisableModify=yes DisableRemove=no HelpTelephone=a number HelpUrl=http://www.mycorp.com/support/index.php; Copyright=blah. IconSourceFile=$(var.resourcePath)\MyProduct.ico SplashScreenSourceFile=$(var.resourcePath)\Side.bmp BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.HyperlinkLicense bal:WixStandardBootstrapperApplication SuppressOptionsUI=yes LicenseUrl= LogoFile=$(var.resourcePath)\logo.png/ /BootstrapperApplicationRef Chain PackageGroupRef Id=Netfx4Full/ MsiPackage Id=A_Synchronizationx86 DisplayName=Microsoft Sync Framework 2.1 Core Components (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x86-ENU.msi Name=RedistTMC\Synchronization-v2.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=A_Synchronizationx64 DisplayName=Microsoft Sync Framework 2.1 Core Components (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x64-ENU.msi Name=RedistTMC\Synchronization-v2.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=DatabaseProvidersx86 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x86-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes After=A_Synchronizationx86/ MsiPackage Id=DatabaseProvidersx64 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x64-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes After=A_Synchronizationx64/ MsiPackage Id=SQLCompactx86 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x86-ENU.msi Name=RedistTMC\SSCERuntime_x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=SQLCompactx64 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x64-ENU.msi Name=RedistTMC\SSCERuntime_x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=ServicesInstall_x86 DisplayName=MyCorp Services x86 SourceFile=$(var.OutDir)MyCorp_Services_Setup_x86.msi Name=RedistTMC\MyCorp_Services_Setup_x86.msi InstallCondition=Not VersionNT64 DisplayInternalUI=no Visible=no Cache
Re: [WiX-users] Burn InstallCondition not working when it used to :(
If I had to guess, removing the fragment and making it part of the main file will fix it. I normally make my checks inside the same fragment as the Package. This way if you include the package in the chain you also include your searches and conditions. I also use a separate file for each to have a nice clean separation, in which case from the main file referencing the Package or PackageGroup pulls it all into scope. -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Tuesday, January 22, 2013 10:13 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( Complete Bundle.wxs WITH .NET 4.0: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:bal=http://schemas.microsoft.com/wix/BalExtension; xmlns:net=http://schemas.microsoft.com/wix/NetFxExtension; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; ?include $(var.SolutionDir)Includes\Variables.wxi ? Bundle Name=$(var.ProductName) Version=$(var.ProductVersion) Manufacturer=$(var.ProductCompany) UpgradeCode=some guid placed here DisableModify=yes DisableRemove=no HelpTelephone=a number HelpUrl=http://www.mycorp.com/support/index.php; Copyright=blah. IconSourceFile=$(var.resourcePath)\MyProduct.ico SplashScreenSourceFile=$(var.resourcePath)\Side.bmp BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.HyperlinkLicense bal:WixStandardBootstrapperApplication SuppressOptionsUI=yes LicenseUrl= LogoFile=$(var.resourcePath)\logo.png/ /BootstrapperApplicationRef Chain PackageGroupRef Id=Netfx4Full/ MsiPackage Id=A_Synchronizationx86 DisplayName=Microsoft Sync Framework 2.1 Core Components (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x86-ENU.msi Name=RedistTMC\Synchronization-v2.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=A_Synchronizationx64 DisplayName=Microsoft Sync Framework 2.1 Core Components (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x64-ENU.msi Name=RedistTMC\Synchronization-v2.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=DatabaseProvidersx86 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x86-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes After=A_Synchronizationx86/ MsiPackage Id=DatabaseProvidersx64 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x64-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes After=A_Synchronizationx64/ MsiPackage Id=SQLCompactx86 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x86-ENU.msi Name=RedistTMC\SSCERuntime_x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=SQLCompactx64 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x64-ENU.msi Name=RedistTMC\SSCERuntime_x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=ServicesInstall_x86 DisplayName=MyCorp Services x86 SourceFile=$(var.OutDir
Re: [WiX-users] Burn InstallCondition not working when it used to :(
Neil/Jacob, Thanks I will try that and see if it works! Much appreciated!! Steve -Original Message- From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] Sent: January-22-13 11:52 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( If I had to guess, removing the fragment and making it part of the main file will fix it. I normally make my checks inside the same fragment as the Package. This way if you include the package in the chain you also include your searches and conditions. I also use a separate file for each to have a nice clean separation, in which case from the main file referencing the Package or PackageGroup pulls it all into scope. -Original Message- From: StevenOgilvie [mailto:sogil...@msn.com] Sent: Tuesday, January 22, 2013 10:13 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Burn InstallCondition not working when it used to :( Complete Bundle.wxs WITH .NET 4.0: ?xml version=1.0 encoding=UTF-8? Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; xmlns:bal=http://schemas.microsoft.com/wix/BalExtension; xmlns:net=http://schemas.microsoft.com/wix/NetFxExtension; xmlns:util=http://schemas.microsoft.com/wix/UtilExtension; ?include $(var.SolutionDir)Includes\Variables.wxi ? Bundle Name=$(var.ProductName) Version=$(var.ProductVersion) Manufacturer=$(var.ProductCompany) UpgradeCode=some guid placed here DisableModify=yes DisableRemove=no HelpTelephone=a number HelpUrl=http://www.mycorp.com/support/index.php; Copyright=blah. IconSourceFile=$(var.resourcePath)\MyProduct.ico SplashScreenSourceFile=$(var.resourcePath)\Side.bmp BootstrapperApplicationRef Id=WixStandardBootstrapperApplication.HyperlinkLicense bal:WixStandardBootstrapperApplication SuppressOptionsUI=yes LicenseUrl= LogoFile=$(var.resourcePath)\logo.png/ /BootstrapperApplicationRef Chain PackageGroupRef Id=Netfx4Full/ MsiPackage Id=A_Synchronizationx86 DisplayName=Microsoft Sync Framework 2.1 Core Components (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x86-ENU.msi Name=RedistTMC\Synchronization-v2.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=A_Synchronizationx64 DisplayName=Microsoft Sync Framework 2.1 Core Components (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\Synchronization-v2.1-x64-ENU.msi Name=RedistTMC\Synchronization-v2.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes/ MsiPackage Id=DatabaseProvidersx86 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x86-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x86-ENU.msi Cache=no Compressed=no Permanent=yes After=A_Synchronizationx86/ MsiPackage Id=DatabaseProvidersx64 DisplayName=Microsoft Sync Framework 3.1 Database Providers (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\DatabaseProviders-v3.1-x64-ENU.msi Name=RedistTMC\DatabaseProviders-v3.1-x64-ENU.msi InstallCondition=VersionNT64 Cache=no Compressed=no Permanent=yes After=A_Synchronizationx64/ MsiPackage Id=SQLCompactx86 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x86) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x86-ENU.msi Name=RedistTMC\SSCERuntime_x86-ENU.msi Cache=no Compressed=no Permanent=yes/ MsiPackage Id=SQLCompactx64 DisplayName=Microsoft SQL Server Compact 3.5 SP2 (x64) DisplayInternalUI=no Visible=yes SourceFile=..\PreReqs\SSCERuntime_x64-ENU.msi Name=RedistTMC