Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

"The upgrade patch cannot be installed..." error


3 replies to this topic

dsailesh

dsailesh
  • Full Members
  • 11 posts

Posted 20 August 2010 - 14:24

Hi all,

I am facing an issue with installing patches for my product. I built an original msi and installed on a 64 bit vista machine.

Now, I created another patch on top of it (due to some reason, I have to remove PatchSequence table from the msp before using). The patch update goes thru fine.
I created another patch with higher version and when I am trying to update on top of this, its failing with that error. "The upgrade patch cannot be installed .. product may be missing.. or different version".

On the base msi, both updates individually are getting updated, but not one after another ! If I remove the "Patches" registry from the registry before second update, then it works (as there is no info of the previous patches present now).

Any help on this will be appreciated.

Thanks in advance.

vPanchumarthi

vPanchumarthi
  • Full Members
  • 56 posts

Posted 20 August 2010 - 15:14

Hi,

Are you trying to do Major upgrade?This problem will come if you are doing major upgrade with old product code itself.

Make sure that which type of upgrade you are going for? If you are going for minor upgrade , patch will be used to upgrade your old product.
If you are going to do Major upgrade, setup itself will act as a patch and while installing the patch, old install will get remove and a fresh install will be done.



dsailesh

dsailesh
  • Full Members
  • 11 posts

Posted 22 August 2010 - 17:20

No, we are not doing Major Upgrade. Its minor upgrade and everything that's needed seems to be intact. Product, Upgrade and Package code are reflecting correctly.

dsailesh

dsailesh
  • Full Members
  • 11 posts

Posted 23 August 2010 - 09:59

=== Verbose logging started: 26/08/2010 8:29:53 Build type: SHIP UNICODE 4.00.6000.00 Calling process: C:\Windows\system32\msiexec.exe ===
MSI © (A0:C4) [08:29:53:548]: Resetting cached policy values
MSI © (A0:C4) [08:29:53:548]: Machine policy value 'Debug' is 0
MSI © (A0:C4) [08:29:53:548]: ******* RunEngine:
******* Product: {7A1C3D54-04B0-44E0-9A2C-725CE1D38ED9}
******* Action:
******* CommandLine: **********
MSI © (A0:C4) [08:29:53:548]: Machine policy value 'DisableUserInstalls' is 0
MSI © (A0:C4) [08:29:53:610]: Cloaking enabled.
MSI © (A0:C4) [08:29:53:610]: Attempting to enable all disabled privileges before calling Install on Server
MSI © (A0:C4) [08:29:53:610]: End dialog not enabled
MSI © (A0:C4) [08:29:53:626]: Original package ==> C:\Windows\Installer\ee7886d.msi
MSI © (A0:C4) [08:29:53:626]: Package we're running from ==> C:\Windows\Installer\ee7886d.msi
MSI © (A0:C4) [08:29:53:626]: APPCOMPAT: looking for appcompat database entry with ProductCode '{7A1C3D54-04B0-44E0-9A2C-725CE1D38ED9}'.
MSI © (A0:C4) [08:29:53:626]: APPCOMPAT: no matching ProductCode found in database.
MSI © (A0:C4) [08:29:53:642]: MSCOREE not loaded loading copy from system32
MSI © (A0:C4) [08:29:53:642]: Opening existing patch 'C:\Windows\Installer\1b659.msp'.
MSI © (A0:C4) [08:29:53:642]: Note: 1: 2205 2: 3: MsiPatchSequence
MSI © (A0:C4) [08:29:53:642]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2
MSI © (A0:C4) [08:29:53:767]: Original patch ==> C:\Users\Admin\Desktop\GMC4\SecureLogin\Client\x64\NSLFIX7011008003.msp
MSI © (A0:C4) [08:29:53:767]: Patch we're running from ==> C:\Users\Admin\AppData\Local\Temp\ef67cdb.msp
MSI © (A0:C4) [08:29:53:767]: Opening existing patch 'C:\Windows\Installer\4d75a6.msp'.
MSI © (A0:C4) [08:29:53:767]: Note: 1: 2205 2: 3: MsiPatchSequence
MSI © (A0:C4) [08:29:53:767]: SequencePatches starts. Product code: {7A1C3D54-04B0-44E0-9A2C-725CE1D38ED9}, Product version: 7.0.100.0, Upgrade code: {14C6BA65-F67A-45EF-A1FD-882CF1A4735B}, Product language 1033
MSI © (A0:C4) [08:29:53:767]: Note: 1: 2205 2: 3: MsiPatchSequence
MSI © (A0:C4) [08:29:53:767]: Note: 1: 2205 2: 3: MsiPatchSequence
MSI © (A0:C4) [08:29:53:767]: PATCH SEQUENCER: verifying the applicability of 2.0 minor upgrade patch {1A9E9B0B-1C7C-4CE9-87FC-4EFB90415BF2} against product code: {7A1C3D54-04B0-44E0-9A2C-725CE1D38ED9}, product version: 7.0.100.0, product language 1033 and upgrade code: {14C6BA65-F67A-45EF-A1FD-882CF1A4735B}
MSI © (A0:C4) [08:29:53:767]: Note: 1: 2262 2: _Tables 3: -2147287038
MSI © (A0:C4) [08:29:53:767]: Note: 1: 2262 2: _Columns 3: -2147287038
MSI © (A0:C4) [08:29:53:767]: PATCH SEQUENCER: 2.0 minor upgrade patch {1A9E9B0B-1C7C-4CE9-87FC-4EFB90415BF2} is applicable.
MSI © (A0:C4) [08:29:53:767]: PATCH SEQUENCER: verifying the applicability of 2.0 minor upgrade patch C:\Users\Admin\Desktop\FIX7011008003.msp against product code: {7A1C3D54-04B0-44E0-9A2C-725CE1D38ED9}, product version: 7.0.1.002, product language 1033 and upgrade code: {14C6BA65-F67A-45EF-A1FD-882CF1A4735B}
MSI © (A0:C4) [08:29:53:767]: PATCH SEQUENCER: 2.0 minor upgrade patch C:\Users\Admin\Desktop\FIX7011008003.msp is not applicable.
MSI © (A0:C4) [08:29:53:767]: SequencePatches returns success.
MSI © (A0:C4) [08:29:53:767]: Final Patch Application Order:
MSI © (A0:C4) [08:29:53:767]: {1A9E9B0B-1C7C-4CE9-87FC-4EFB90415BF2} -
MSI © (A0:C4) [08:29:53:767]: Other Patches:
MSI © (A0:C4) [08:29:53:767]: Unknown\Absent: {791593C6-BC37-4027-AB39-7FC17013ABA0} - C:\Users\Admin\Desktop\FIX7011008003.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\ee7886d.msi
MSI © (A0:C4) [08:29:53:767]: Product: F - Update '{791593C6-BC37-4027-AB39-7FC17013ABA0}' could not be installed. Error code 1642. Additional information is available in the log file C:\Users\Admin\Desktop\logfile.log.

MSI © (A0:C4) [08:29:53:767]: Windows Installer installed an update. Product Name: F. Product Version: 7.0.100.0. Product Language: 1033. Update Name: {791593C6-BC37-4027-AB39-7FC17013ABA0}. Installation success or error status: 1642.

MSI © (A0:C4) [08:29:53:767]: Note: 1: 1708
MSI © (A0:C4) [08:29:53:767]: Product: F -- Installation failed.

MSI © (A0:C4) [08:29:53:767]: Windows Installer installed the product. Product Name: F. Product Version: 7.0.100.0. Product Language: 1033. Installation success or error status: 1642.

MSI © (A0:C4) [08:29:53:782]: Attempting to delete file C:\Users\Admin\AppData\Local\Temp\ef67cdb.msp
MSI © (A0:C4) [08:29:53:782]: MainEngineThread is returning 1642
=== Verbose logging stopped: 26/08/2010 8:29:53 ===


This is the log I am getting when its failing. I don't why its not able to find the product that's installed already when another patch is applied before applying new patch.

Any suggestions?