I have followed the tutorial on creating a patch
http://wix.sourceforge.net/manual-wix3/patch_building.htm and can create
multiple small updates and apply them. (I have a base version and 2 patches
which are created by using MsiMsp between the base and new version). However,
when I try changing the product version to create a minor update I am only
allow to install one patch and get the following error when attempting to
install the second one.
What am I doing wrong?
Can multiple minor updates be applied at the same time?
Can a minor update (Supersede) a previous version by uninstalling it in the way
a major update will uninstall a previous version?
Thanks - Tom
Base version: Id='{2A064163-4049-45bb-8979-DCC777C84ACF}' Version='1.0.0'
UpgradeCode='{A785EE0E-2FE0-441b-AAC3-37FA9FA098C2}'
Patch1 version: Id='{2A064163-4049-45bb-8979-DCC777C84ACF}' Version='1.0.2'
UpgradeCode='{A785EE0E-2FE0-441b-AAC3-37FA9FA098C2}'
Patch2 version: Id='{2A064163-4049-45bb-8979-DCC777C84ACF}' Version='1.0.3'
UpgradeCode='{A785EE0E-2FE0-441b-AAC3-37FA9FA098C2}'
MSI (c) (B0:08) [09:50:14:941]: Original patch ==> C:\WIX\PatchTest\Patch3.msp
MSI (c) (B0:08) [09:50:14:941]: Patch we're running from ==>
C:\WIX\PatchTest\Patch3.msp
MSI (c) (B0:08) [09:50:14:942]: SOFTWARE RESTRICTION POLICY: Verifying patch
--> 'C:\WIX\PatchTest\Patch3.msp' against software restriction policy
MSI (c) (B0:08) [09:50:14:942]: Note: 1: 2262 2: DigitalSignature 3: -2147287038
MSI (c) (B0:08) [09:50:14:942]: SOFTWARE RESTRICTION POLICY:
C:\WIX\PatchTest\Patch3.msp is not digitally signed
MSI (c) (B0:08) [09:50:14:942]: SOFTWARE RESTRICTION POLICY:
C:\WIX\PatchTest\Patch3.msp is permitted to run at the 'unrestricted'
authorization level.
MSI (c) (B0:08) [09:50:14:942]: SequencePatches starts. Product code:
{2A064163-4049-45BB-8979-DCC777C84ACF}, Product version: 1.0.0, Upgrade code:
{A785EE0E-2FE0-441B-AAC3-37FA9FA098C2}, Product language 1033
MSI (c) (B0:08) [09:50:14:943]: PATCH SEQUENCER: verifying the applicability of
minor upgrade patch {3B529A64-7466-46B4-AE6F-F91EE77F047C} against product
code: {2A064163-4049-45BB-8979-DCC777C84ACF}, product version: 1.0.0, product
language 1033 and upgrade code: {A785EE0E-2FE0-441B-AAC3-37FA9FA098C2}
MSI (c) (B0:08) [09:50:14:943]: PATCH SEQUENCER: minor upgrade patch
{3B529A64-7466-46B4-AE6F-F91EE77F047C} is applicable.
MSI (c) (B0:08) [09:50:14:943]: PATCH SEQUENCER: verifying the applicability of
minor upgrade patch C:\WIX\PatchTest\Patch3.msp against product code:
{2A064163-4049-45BB-8979-DCC777C84ACF}, product version: 1.0.2, product
language 1033 and upgrade code: {A785EE0E-2FE0-441B-AAC3-37FA9FA098C2}
MSI (c) (B0:08) [09:50:14:943]: PATCH SEQUENCER: minor upgrade patch
C:\WIX\PatchTest\Patch3.msp is not applicable.
MSI (c) (B0:08) [09:50:14:943]: SequencePatches returns success.
MSI (c) (B0:08) [09:50:14:943]: Final Patch Application Order:
MSI (c) (B0:08) [09:50:14:943]: {3B529A64-7466-46B4-AE6F-F91EE77F047C} -
MSI (c) (B0:08) [09:50:14:943]: Other Patches:
MSI (c) (B0:08) [09:50:14:943]: Unknown\Absent:
{B152EB81-11E7-4451-BBC2-989896DE8C46} - C:\WIX\PatchTest\Patch3.msp
The upgrade cannot be installed by the Windows Installer service because the
program to be upgraded may be missing, or the upgrade may update a different
version of the program. Verify that the program to be upgraded exists on your
computer and that you have the correct upgrade.
C:\Windows\Installer\56df855.msi
MSI (c) (B0:08) [09:50:14:944]: Product: App 1.0 - Update
'{B152EB81-11E7-4451-BBC2-989896DE8C46}' could not be installed. Error code
1642. Additional information is available in the log file
C:\WIX\PatchTest\PatchInstall34.log.
MSI (c) (B0:08) [09:50:14:945]: Windows Installer installed an update. Product
Name: App 1.0. Product Version: 1.0.0. Product Language: 1033. Manufacturer:
Acme Ltd.. Update Name: {B152EB81-11E7-4451-BBC2-989896DE8C46}. Installation
success or error status: 1642.
MSI (c) (B0:08) [09:50:14:945]: Note: 1: 1708
MSI (c) (B0:08) [09:50:14:945]: Product: App 1.0 -- Installation failed.
MSI (c) (B0:08) [09:50:14:946]: Windows Installer installed the product.
Product Name: App 1.0. Product Version: 1.0.0. Product Language: 1033.
Manufacturer: Acme Ltd.. Installation success or error status: 1642.
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users