More problems with this. This time with MspPackage (code as previous). The issue is with a system which has already had the MSP applied.
[1428:145C][2012-04-25T14:45:28]: Setting version variable 'SharedContentVersion' to value '2.2.0.0' [1428:145C][2012-04-25T14:45:29]: Detected package: SharedContentPatch, state: Present, cached: None [1428:145C][2012-04-25T14:45:29]: Detected package: SharedContentPatch target: {92E2C426-6CDB-44D4-8D48-6414A442231D}, state: Present [1428:145C][2012-04-25T14:45:30]: Condition 'SharedContentVersion > v1.9.9.9 AND SharedContentVersion < v2.2.0.0' evaluates to false. [1428:145C][2012-04-25T14:45:30]: Skipping dependency registration on package with no dependency providers: SharedContentPatch [1428:145C][2012-04-25T14:45:30]: Planned package: SharedContentPatch, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: Yes, uncache: Yes, dependency: None [0D34:097C][2012-04-25T14:46:46]: Applying package: SharedContentPatch, target: {92E2C426-6CDB-44D4-8D48-6414A442231D}, action: Uninstall, path: (null), arguments: '(null)' [0D34:097C][2012-04-25T14:46:46]: Error 0x8007066e: Failed to uninstall MSP package. [0D34:097C][2012-04-25T14:46:46]: Error 0x8007066e: Failed to execute MSP package. [1428:145C][2012-04-25T14:46:46]: Error 0x8007066e: Failed to configure per-machine MSP package. [1428:145C][2012-04-25T14:46:46]: Applied execute package: SharedContentPatch, result: 0x8007066e, restart: None [1428:145C][2012-04-25T14:46:46]: Error 0x8007066e: Failed to execute MSP package. Why is it attempting to uninstall the patch when the condition is false & the patch has AllowRemoval="no"? Palbinder Sandher Software Platform Engineer T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 23 April 2012 11:46 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Burn - MSIPackage InstallCondition evaluates to false, attempts minor upgrade Further to this I'm also getting no UI for the MSP package below even though DisplayInternalUI="yes". Not a massive issue just a bit different to what I was expecting. It upgrades perfectly fine. Palbinder Sandher Software Platform Engineer T:+44 (0) 141 945 8500 F:+44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: Pally Sandher [mailto:pally.sand...@iesve.com] Sent: 19 April 2012 17:00 To: General discussion for Windows Installer XML toolset. (wix-users@lists.sourceforge.net) Subject: [WiX-users] Burn - MSIPackage InstallCondition evaluates to false, attempts minor upgrade Relevant parts of my code: <util:ProductSearch Id="SharedContent" Variable="SharedContentVersion" Guid="92E2C426-6CDB-44D4-8D48-6414A442231D" Result="version" /> <MsiPackage Id="SharedContentFull" SourceFile="..\..\..\install\VESharedContent.msi" After="NET4.0" Compressed="no" DisplayInternalUI="yes" DownloadUrl="http://removed/VESharedContent.msi" ForcePerMachine="yes" Visible="yes" Vital="yes" InstallCondition="SharedContentVersion < v2.0.0.0" /> <MspPackage Id="SharedContentPatch" SourceFile="..\..\..\install\VESharedContent.msp" After="SharedContentFull" Compressed="no" DisplayInternalUI="yes" DownloadUrl="http://removed/VESharedContent.msp" PerMachine="yes" Vital="yes" InstallCondition="SharedContentVersion > v1.9.9.9 AND SharedContentVersion < v2.2.0.0" /> Relevant parts of the log: [07FC:082C][2012-04-19T15:52:19]: Setting version variable 'SharedContentVersion' to value '2.1.0.0' [07FC:082C][2012-04-19T15:52:19]: Calculating patch applicability for target product code: {92E2C426-6CDB-44D4-8D48-6414A442231D}, context: Machine [07FC:082C][2012-04-19T15:52:21]: Detected related package: {92E2C426-6CDB-44D4-8D48-6414A442231D}, scope: PerMachine, version: 2.1.0.0, language: 1033 operation: MinorUpdate [07FC:082C][2012-04-19T15:52:21]: Detected package: SharedContentFull, state: Present, cached: None [07FC:082C][2012-04-19T15:52:21]: Detected package: SharedContentPatch, state: Absent, cached: None [07FC:082C][2012-04-19T15:52:21]: Detected package: SharedContentPatch target: {92E2C426-6CDB-44D4-8D48-6414A442231D}, state: Absent [07FC:082C][2012-04-19T15:52:23]: Condition 'SharedContentVersion < v2.0.0.0' evaluates to false. [07FC:082C][2012-04-19T15:52:23]: Setting string variable 'WixBundleRollbackLog_SharedContentFull' to value 'C:\Users\zxc\AppData\Local\Temp\IES_Virtual_Environment_6.5_20120419155218_1_SharedContentFull_rollback.log' [07FC:082C][2012-04-19T15:52:23]: Setting string variable 'WixBundleLog_SharedContentFull' to value 'C:\Users\zxc\AppData\Local\Temp\IES_Virtual_Environment_6.5_20120419155218_1_SharedContentFull.log' [07FC:082C][2012-04-19T15:52:23]: Condition 'SharedContentVersion > v1.9.9.9 AND SharedContentVersion < v2.2.0.0' evaluates to true. [07FC:082C][2012-04-19T15:52:23]: Skipping dependency registration on package with no dependency providers: SharedContentPatch [07FC:082C][2012-04-19T15:52:23]: Setting string variable 'WixBundleLog_SharedContentPatch' to value 'C:\Users\zxc\AppData\Local\Temp\IES_Virtual_Environment_6.5_20120419155218_{92E2C426-6CDB-44D4-8D48-6414A442231D}_2_SharedContentPatch.log' [07FC:082C][2012-04-19T15:52:23]: Setting string variable 'WixBundleRollbackLog_SharedContentPatch' to value 'C:\Users\zxc\AppData\Local\Temp\IES_Virtual_Environment_6.5_20120419155218_{92E2C426-6CDB-44D4-8D48-6414A442231D}_2_SharedContentPatch_rollback.log' [07FC:082C][2012-04-19T15:52:23]: Plan execute skipped patch: SharedContentPatch, action: Install because chained target package: SharedContentFull being uninstalled [07FC:082C][2012-04-19T15:52:23]: Planned package: SharedContentFull, state: Present, default requested: Absent, ba requested: Absent, execute: Uninstall, rollback: Install, cache: Yes, uncache: Yes, dependency: Unregister [07FC:082C][2012-04-19T15:52:23]: Planned package: SharedContentPatch, state: Absent, default requested: Present, ba requested: Present, execute: Install, rollback: Uninstall, cache: Yes, uncache: No, dependency: None If I run VESharedContent.msi manually, it won't install as expected (earlier version installed). Why is Burn trying to be clever & running a minor upgrade & how do I make it stop without removing that MSIPackage? Palbinder Sandher Software Platform Engineer T:+44 (0) 141 945 8500 F:+44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ 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