The problem appears to be that Patch 2 does not target (RTM + Patch 1). It targets your RTM. Does patch 2 work if you apply only that to your original product install?
If your patch 2 is going to target RTM and (RTM + Patch 1) then you need to list them both in your targets, both images. Phil Wilson -----Original Message----- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Friday, May 21, 2010 11:34 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Patch I installed the patch1 and I tried to install the patch2, but following error occurred: 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. Log: === Verbose logging started: 21/05/2010 15:17:27 Build type: SHIP UNICODE 5.00.7600.00 Calling process: C:\Windows\system32\msiexec.exe === MSI (c) (50:20) [15:17:27:789]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg MSI (c) (50:20) [15:17:27:789]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg MSI (c) (50:1C) [15:17:27:815]: Resetting cached policy values MSI (c) (50:1C) [15:17:27:815]: Machine policy value 'Debug' is 0 MSI (c) (50:1C) [15:17:27:815]: ******* RunEngine: ******* Product: {DD371EA5-5FC9-4488-A836-8E9FF970ABC4} ******* Action: ******* CommandLine: ********** MSI (c) (50:1C) [15:17:27:816]: Machine policy value 'DisableUserInstalls' is 0 MSI (c) (50:1C) [15:17:27:827]: Cloaking enabled. MSI (c) (50:1C) [15:17:27:827]: Attempting to enable all disabled privileges before calling Install on Server MSI (c) (50:1C) [15:17:27:834]: End dialog not enabled MSI (c) (50:1C) [15:17:27:834]: Original package ==> C:\Windows\Installer\f68d71.msi MSI (c) (50:1C) [15:17:27:834]: Package we're running from ==> C:\Windows\Installer\f68d71.msi MSI (c) (50:1C) [15:17:27:837]: APPCOMPAT: Uninstall Flags override found. MSI (c) (50:1C) [15:17:27:837]: APPCOMPAT: Uninstall VersionNT override found. MSI (c) (50:1C) [15:17:27:837]: APPCOMPAT: Uninstall ServicePackLevel override found. MSI (c) (50:1C) [15:17:27:837]: APPCOMPAT: looking for appcompat database entry with ProductCode '{DD371EA5-5FC9-4488-A836-8E9FF970ABC4}'. MSI (c) (50:1C) [15:17:27:837]: APPCOMPAT: no matching ProductCode found in database. MSI (c) (50:1C) [15:17:27:846]: MSCOREE not loaded loading copy from system32 MSI (c) (50:1C) [15:17:27:851]: Opening existing patch 'C:\Windows\Installer\1545e6d.msp'. MSI (c) (50:1C) [15:17:27:853]: Original patch ==> C:\Teste\Teste2\Patch2\patch.msp MSI (c) (50:1C) [15:17:27:853]: Patch we're running from ==> C:\Teste\Teste2\Patch2\patch.msp MSI (c) (50:1C) [15:17:27:853]: SOFTWARE RESTRICTION POLICY: Verifying patch --> 'C:\Teste\Teste2\Patch2\patch.msp' against software restriction policy MSI (c) (50:1C) [15:17:27:853]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (c) (50:1C) [15:17:27:853]: SOFTWARE RESTRICTION POLICY: C:\Teste\Teste2\Patch2\patch.msp is not digitally signed MSI (c) (50:1C) [15:17:27:855]: SOFTWARE RESTRICTION POLICY: C:\Teste\Teste2\Patch2\patch.msp is permitted to run at the 'unrestricted' authorization level. MSI (c) (50:1C) [15:17:27:856]: SequencePatches starts. Product code: {DD371EA5-5FC9-4488-A836-8E9FF970ABC4}, Product version: 1.0.0, Upgrade code: {D40CC247-CA7B-4A67-90D9-D1BE6ACB5DE0}, Product language 1064 MSI (c) (50:1C) [15:17:27:856]: PATCH SEQUENCER: verifying the applicability of minor upgrade patch {BE9AB67E-7226-4EF0-8F0A-D68183543978} against product code: {DD371EA5-5FC9-4488-A836-8E9FF970ABC4}, product version: 1.0.0, product language 1064 and upgrade code: {D40CC247-CA7B-4A67-90D9-D1BE6ACB5DE0} MSI (c) (50:1C) [15:17:27:857]: Note: 1: 2262 2: _Columns 3: -2147287038 MSI (c) (50:1C) [15:17:27:857]: PATCH SEQUENCER: minor upgrade patch {BE9AB67E-7226-4EF0-8F0A-D68183543978} is applicable. MSI (c) (50:1C) [15:17:27:857]: PATCH SEQUENCER: verifying the applicability of minor upgrade patch C:\Teste\Teste2\Patch2\patch.msp against product code: {DD371EA5-5FC9-4488-A836-8E9FF970ABC4}, product version: 1.0.1, product language 1064 and upgrade code: {D40CC247-CA7B-4A67-90D9-D1BE6ACB5DE0} MSI (c) (50:1C) [15:17:27:857]: PATCH SEQUENCER: minor upgrade patch C:\Teste\Teste2\Patch2\patch.msp is not applicable. MSI (c) (50:1C) [15:17:27:857]: SequencePatches returns success. MSI (c) (50:1C) [15:17:27:857]: Final Patch Application Order: MSI (c) (50:1C) [15:17:27:857]: {BE9AB67E-7226-4EF0-8F0A-D68183543978} - MSI (c) (50:1C) [15:17:27:857]: Other Patches: MSI (c) (50:1C) [15:17:27:857]: Unknown\Absent: {8E6C517A-34B6-4AB0-BD71-D241EE9033F3} - C:\Teste\Teste2\Patch2\patch.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\f68d71.msi MSI (c) (50:1C) [15:17:27:858]: Product: Product - Update '{8E6C517A-34B6-4AB0-BD71-D241EE9033F3}' could not be installed. Error code 1642. Additional information is available in the log file C:\Teste\Teste2\Patch2\patch.log. MSI (c) (50:1C) [15:17:27:860]: Windows Installer installed an update. Product Name: Product. Product Version: 1.0.0. Product Language: 1064. Manufacturer: Convergencia. Update Name: {8E6C517A-34B6-4AB0-BD71-D241EE9033F3}. Installation success or error status: 1642. MSI (c) (50:1C) [15:17:27:861]: Note: 1: 1708 MSI (c) (50:1C) [15:17:27:861]: Product: Product -- Installation failed. MSI (c) (50:1C) [15:17:27:864]: Windows Installer installed the product. Product Name: Product. Product Version: 1.0.0. Product Language: 1064. Manufacturer: Convergencia. Installation success or error status: 1642. MSI (c) (50:1C) [15:17:27:867]: MainEngineThread is returning 1642 === Verbose logging stopped: 21/05/2010 15:17:27 === Patch1: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <PatchCreation Id="{BE9AB67E-7226-4EF0-8F0A-D68183543978}" CleanWorkingFolder="yes" OutputPath="patch.pcp" WholeFilesOnly="yes" > <PatchInformation Description="Small Update Patch" Comments="Small Update Patch" ShortNames="no" Languages="1064" Compressed="yes" Manufacturer="Convergencia"/> <PatchMetadata AllowRemoval="yes" Description="Small Update Patch" ManufacturerName="Convergencia" TargetProductName="Setup" MoreInfoURL="http://www.conv.com/" Classification="Update" DisplayName="Sample Patch1"/> <Family DiskId="5000" MediaSrcProp="Sample" Name="Sample" SequenceStart="5000"> <UpgradeImage SourceFile="C:\Temp\Upgrade\Product.msi" Id="Upgrade"> <TargetImage SourceFile="C:\Temp\Target\Product.msi" Order="2" Id="Target" IgnoreMissingFiles="no" /> </UpgradeImage> </Family> <PatchSequence PatchFamily="SamplePatchFamily" Sequence="1.0.0.0" Supersede="yes" /> </PatchCreation> </Wix> Patch2: <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <PatchCreation Id="{8E6C517A-34B6-4AB0-BD71-D241EE9033F3}" CleanWorkingFolder="yes" OutputPath="patch.pcp" WholeFilesOnly="yes" > <PatchInformation Description="Small Update Patch" Comments="Small Update Patch" ShortNames="no" Languages="1064" Compressed="yes" Manufacturer="Convergencia"/> <PatchMetadata AllowRemoval="yes" Description="Small Update Patch" ManufacturerName="Convergencia" TargetProductName="Setup" MoreInfoURL="http://www.conv.com/" Classification="Update" DisplayName="Sample Patch2"/> <Family DiskId="5000" MediaSrcProp="Sample" Name="Sample" SequenceStart="5000"> <UpgradeImage SourceFile="C:\Temp\Upgrade2\Product.msi" Id="Upgrade"> <TargetImage SourceFile="C:\Temp\Target\Product.msi" Order="2" Id="Target" IgnoreMissingFiles="no" /> </UpgradeImage> </Family> <PatchSequence PatchFamily="SamplePatchFamily" Sequence="1.0.0.0" Supersede="yes" /> </PatchCreation> </Wix> Thanks, Carolina Zuqueto. -- Carolina Zuqueto Amaral tel: +55 21 2494-5476 cel: +55 21 9524-7186 email: carolina.ama...@conv.com.br -----Original Message----- From: Wilson, Phil [mailto:phil.wil...@invensys.com] Sent: sexta-feira, 21 de maio de 2010 13:28 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Patch Yes it works - people do it all the time. What's the error and what does a verbose log say? Phil Wilson -----Original Message----- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Friday, May 21, 2010 8:56 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Patch I need to install one MSP at a time. For example: I have a setup installed in computer. I install a MSP and then, other. When Do I install the first and then the second, an error occurs. Is there a way to do this? -- Carolina Zuqueto Amaral tel: +55 21 2494-5476 cel: +55 21 9524-7186 email: carolina.ama...@conv.com.br -----Original Message----- From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] Sent: quinta-feira, 20 de maio de 2010 05:55 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Patch You can apply several patches at once with msiexec. For example: msiexec /update patch1.msp;patch2.msp;patch3.msp -----Original Message----- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: 19 May 2010 22:42 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Patch Hi, I created a lot of MSPs. I want to install a lot of patches in the target setup. How Do I do this? Thanks, Carolina Zuqueto Amaral carolina.ama...@conv.com.br<mailto:carolina.ama...@conv.com.br> tel +55 21 2494-5476 cel +55 21 9524-7186 ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users </pre> <BR style="font-size:4px;"> <a href = "http://www.sdl.com"><img src="http://www.sdl.com/images/email logo_150dpi-01.png" alt="www.sdl.com" border="0"/></a> <BR> <font face="arial" size="2" "><a href = "http://www.sdl.com" style="color:005740; font-weight: bold">www.sdl.com</a> <BR> <BR> <font face="arial" size="1" color="#736F6E"> <b>SDL PLC confidential, all rights reserved.</b> If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.<BR> SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.<BR> Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. </font> ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Confidencialidade: A informação contida nesta mensagem de e-mail, incluindo quaisquer anexos, é confidencial e está reservada apenas à pessoa ou entidade para a qual foi endereçada. Se você não é o destinatário ou a pessoa responsável por encaminhar esta mensagem ao destinatário, você está, por meio desta, notificado que não deverá rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou quaisquer anexos. Caso você tenha recebido esta mensagem por engano, por favor, contate o remetente imediatamente e apague esta mensagem de seu computador ou de qualquer outro banco de dados. Grato. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Thank you. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users Confidencialidade: A informação contida nesta mensagem de e-mail, incluindo quaisquer anexos, é confidencial e está reservada apenas à pessoa ou entidade para a qual foi endereçada. Se você não é o destinatário ou a pessoa responsável por encaminhar esta mensagem ao destinatário, você está, por meio desta, notificado que não deverá rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou quaisquer anexos. Caso você tenha recebido esta mensagem por engano, por favor, contate o remetente imediatamente e apague esta mensagem de seu computador ou de qualquer outro banco de dados. Grato. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Thank you. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users