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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users