In your patch generation you need to target the patch for all the product codes 
[instances] you want it to be applicable to.

<TargetProductCode Id="PRODUCT_CODE_GUID"/>
<TargetProductCode Id="PRODUCT_CODE_GUID_INSTANCE1"/>
<TargetProductCode Id="PRODUCT_CODE_GUID_INSTANCE2"/>

Etc...





From: Matt Ziegler [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 20, 2008 3:50 PM
To: wix-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [WiX-devs] Multiple instance patches

Any insight from anyone?
On Wed, Nov 19, 2008 at 2:58 PM, Matt Ziegler <[EMAIL PROTECTED]<mailto:[EMAIL 
PROTECTED]>> wrote:
I've been playing around with installing multiple instances of an application 
used the <InstanceTransforms /> element, works quite well.  I'm trying to 
create a patch between 2 versions and apply that one patch to multiple 
installed instances and according to 
http://msdn.microsoft.com/en-us/library/aa369528(VS.85).aspx<http://msdn.microsoft.com/en-us/library/aa369528%28VS.85%29.aspx>
 it is possible to do this by running the patch from the command line and 
passing in the product id of the installed instance you want to patch.  I have 
yet to be able to get a patch to install to a second instance correctly, 
installing to the base instances works just fine.  The error message I get is:

"The upgrade patch cannot be installed by the Windows Installer service because 
the program to be upgraded may be missing, or the upgrade patch may update a 
different version of the program."

The command line executed is: msiexec /update 1to2.msp /n 
{48F7E3D3-4291-45b0-AA5E-8A78337D95FF}
There is no log created even with /l*v

I included a <Validate /> element wondering if there was some check with the 
different product code for the patch that was holding back, no joy.
<PatchBaseline Id="RTM">
        <Validate ProductId="no" UpgradeCode="no" ProductVersion="Major" 
ProductVersionOperator="GreaterOrEqual"/>
</PatchBaseline>

Any help or insight would be greatly appreciated.

Thanks

Matt

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to