msp cannot be removed
i am testing patching. i created a tiny base package and then created a little patch that updates 1 file.
i am using installshield 10 and windows installer 4.5.
it installs correctly, but when i run the command line to remove the patch i get an error:-
Uninstallation of the patch package is not supported
the command line i run is
msiexec /i BasePackage.msi MSIPATCHREMOVE="PatchPackage.msp" /l*v RemovePatch.log /qb
I have pasted the remove log if that helps.
i am using installshield 10 and windows installer 4.5.
it installs correctly, but when i run the command line to remove the patch i get an error:-
Uninstallation of the patch package is not supported
the command line i run is
msiexec /i BasePackage.msi MSIPATCHREMOVE="PatchPackage.msp" /l*v RemovePatch.log /qb
I have pasted the remove log if that helps.
=== Verbose logging started: 24/09/2009 10:10:47 Build type: SHIP UNICODE 4.05.6001.00 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (98:14) [10:10:47:750]: Resetting cached policy values
MSI (c) (98:14) [10:10:47:750]: Machine policy value 'Debug' is 0
MSI (c) (98:14) [10:10:47:750]: ******* RunEngine:
******* Product: D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\BasePackage.msi
******* Action:
******* CommandLine: **********
MSI (c) (98:14) [10:10:47:750]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (98:14) [10:10:47:750]: Grabbed execution mutex.
MSI (c) (98:14) [10:10:47:765]: Cloaking enabled.
MSI (c) (98:14) [10:10:47:765]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (98:14) [10:10:47:781]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:0C) [10:10:47:781]: Running installation inside multi-package transaction D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\BasePackage.msi
MSI (s) (38:0C) [10:10:47:781]: Grabbed execution mutex.
MSI (s) (38:A4) [10:10:47:781]: Resetting cached policy values
MSI (s) (38:A4) [10:10:47:781]: Machine policy value 'Debug' is 0
MSI (s) (38:A4) [10:10:47:781]: ******* RunEngine:
******* Product: D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\BasePackage.msi
******* Action:
******* CommandLine: **********
MSI (s) (38:A4) [10:10:47:781]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (38:A4) [10:10:47:796]: End dialog not enabled
MSI (s) (38:A4) [10:10:47:796]: Original package ==> D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\BasePackage.msi
MSI (s) (38:A4) [10:10:47:796]: Package we're running from ==> C:\WINDOWS\Installer\f3e2107.msi
MSI (s) (38:A4) [10:10:47:796]: APPCOMPAT: looking for appcompat database entry with ProductCode '{41873D25-7461-4E46-8E35-481AEC5F9713}'.
MSI (s) (38:A4) [10:10:47:796]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (38:A4) [10:10:47:796]: MSCOREE not loaded loading copy from system32
MSI (s) (38:A4) [10:10:47:796]: Opening existing patch 'C:\WINDOWS\Installer\f3e2112.msp'.
MSI (s) (38:A4) [10:10:47:796]: Machine policy value 'DisablePatchUninstall' is 0
MSI (s) (38:A4) [10:10:47:796]: File will have security applied from OpCode.
MSI (s) (38:A4) [10:10:47:812]: Original patch ==> D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\PatchPackage.msp
MSI (s) (38:A4) [10:10:47:812]: Patch we're running from ==> C:\WINDOWS\Installer\f3e2113.msp
MSI (s) (38:A4) [10:10:47:812]: SequencePatches starts. Product code: {41873D25-7461-4E46-8E35-481AEC5F9713}, Product version: 7.0.0.0, Upgrade code: {866FE894-9E95-4B59-AFD2-5741D00D91C1}, Product language 1033
MSI (s) (38:A4) [10:10:47:812]: SequencePatches returns success.
MSI (s) (38:A4) [10:10:47:812]: Final Patch Application Order:
MSI (s) (38:A4) [10:10:47:812]: Other Patches:
MSI (s) (38:A4) [10:10:47:812]: Unknown\Absent: {35C96A2B-6ED9-4952-B78C-E550E0A028E2} - D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\PatchPackage.msp
MSI (s) (38:A4) [10:10:47:812]: Machine policy value 'DisablePatch' is 0
MSI (s) (38:A4) [10:10:47:812]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (38:A4) [10:10:47:812]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (38:A4) [10:10:47:812]: Disallowing uninstallation of patch {35C96A2B-6ED9-4952-B78C-E550E0A028E2} because the patch is marked as not uninstallable
MSI (s) (38:A4) [10:10:47:812]: Product: BasePackage - Update 'BasePackage' could not be removed. Error code 1646. Additional information is available in the log file D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\RemovePatch.log.
MSI (s) (38:A4) [10:10:47:812]: Windows Installer removed an update. Product Name: BasePackage. Product Version: 7.0.0.0. Product Language: 1033. Update Name: BasePackage. Removal success or error status: 0.
MSI (s) (38:A4) [10:10:47:812]: Note: 1: 1708
MSI (s) (38:A4) [10:10:47:812]: Product: BasePackage -- Installation failed.
MSI (s) (38:A4) [10:10:47:812]: Windows Installer installed the product. Product Name: BasePackage. Product Version: 7.0.0.0. Product Language: 1033. Installation success or error status: 1646.
MSI (s) (38:A4) [10:10:47:812]: Attempting to delete file C:\WINDOWS\Installer\f3e2113.msp
MSI (s) (38:A4) [10:10:47:812]: MainEngineThread is returning 1646
MSI (s) (38:0C) [10:10:47:812]: No System Restore sequence number for this installation.
Uninstallation of the patch package is not supported.
D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.2.0.0\BasePackage.msi
MSI (s) (38:0C) [10:10:47:812]: User policy value 'DisableRollback' is 0
MSI (s) (38:0C) [10:10:47:812]: Machine policy value 'DisableRollback' is 0
MSI (s) (38:0C) [10:10:47:812]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:0C) [10:10:47:812]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (38:0C) [10:10:47:812]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (38:0C) [10:10:47:812]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (38:0C) [10:10:47:812]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (38:0C) [10:10:47:812]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (38:0C) [10:10:47:812]: Restoring environment variables
MSI (c) (98:14) [10:10:47:812]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (98:14) [10:10:47:812]: MainEngineThread is returning 1646
=== Verbose logging stopped: 24/09/2009 10:10:47 ===
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
anonymous_9363
15 years ago
Clue:
http://msdn.microsoft.com/en-us/library/aa372102%28VS.85%29.aspx
MSI (s) (38:A4) [10:10:47:812]: Disallowing uninstallation of patch {35C96A2B-6ED9-4952-B78C-E550E0A028E2} because the patch is marked as not uninstallable
Research:http://msdn.microsoft.com/en-us/library/aa372102%28VS.85%29.aspx
Posted by:
frodo
15 years ago
thanks for all your help lately, really appreciate it vbScab.
i read that article and released i did not set AllowRemoval = 1. i did that and checked that the policy was set correctly on the machine which it is. I attempted to uninstall again using the following comand line and it still fails. log pasted below, i am all out of ideas.
Msiexec /package {20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E} /uninstall {6EAD9123-A68F-41E4-BBBE-5D567320E1C1} /qb /l*v RemovePatchg.log
i read that article and released i did not set AllowRemoval = 1. i did that and checked that the policy was set correctly on the machine which it is. I attempted to uninstall again using the following comand line and it still fails. log pasted below, i am all out of ideas.
Msiexec /package {20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E} /uninstall {6EAD9123-A68F-41E4-BBBE-5D567320E1C1} /qb /l*v RemovePatchg.log
=== Verbose logging started: 24/09/2009 10:36:50 Build type: SHIP UNICODE 4.05.6001.00 Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (7C:A0) [10:36:50:078]: Resetting cached policy values
MSI (c) (7C:A0) [10:36:50:078]: Machine policy value 'Debug' is 0
MSI (c) (7C:A0) [10:36:50:078]: ******* RunEngine:
******* Product: {20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E}
******* Action:
******* CommandLine: **********
MSI (c) (7C:A0) [10:36:50:078]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (7C:A0) [10:36:50:078]: Grabbed execution mutex.
MSI (c) (7C:A0) [10:36:50:078]: Cloaking enabled.
MSI (c) (7C:A0) [10:36:50:078]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (7C:A0) [10:36:50:093]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:0C) [10:36:50:093]: Running installation inside multi-package transaction {20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E}
MSI (s) (38:0C) [10:36:50:093]: Grabbed execution mutex.
MSI (s) (38:64) [10:36:50:093]: Resetting cached policy values
MSI (s) (38:64) [10:36:50:093]: Machine policy value 'Debug' is 0
MSI (s) (38:64) [10:36:50:093]: ******* RunEngine:
******* Product: {20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E}
******* Action:
******* CommandLine: **********
MSI (s) (38:64) [10:36:50:093]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (38:64) [10:36:50:093]: End dialog not enabled
MSI (s) (38:64) [10:36:50:093]: Original package ==> C:\WINDOWS\Installer\f3e2149.msi
MSI (s) (38:64) [10:36:50:093]: Package we're running from ==> C:\WINDOWS\Installer\f3e2149.msi
MSI (s) (38:64) [10:36:50:109]: APPCOMPAT: looking for appcompat database entry with ProductCode '{20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E}'.
MSI (s) (38:64) [10:36:50:109]: APPCOMPAT: no matching ProductCode found in database.
MSI (s) (38:64) [10:36:50:109]: MSCOREE not loaded loading copy from system32
MSI (s) (38:64) [10:36:50:109]: Opening existing patch 'C:\WINDOWS\Installer\f3e2154.msp'.
MSI (s) (38:64) [10:36:50:109]: Machine policy value 'DisablePatchUninstall' is 0
MSI (s) (38:64) [10:36:50:109]: SequencePatches starts. Product code: {20D3A1E7-DD39-4A95-BEC4-8B8F04F2AB7E}, Product version: 7.0.0.0, Upgrade code: {1F084187-AC91-4B5C-B014-AEDD5254DF41}, Product language 1033
MSI (s) (38:64) [10:36:50:109]: SequencePatches returns success.
MSI (s) (38:64) [10:36:50:109]: Final Patch Application Order:
MSI (s) (38:64) [10:36:50:109]: Other Patches:
MSI (s) (38:64) [10:36:50:109]: Unknown\Absent: {6EAD9123-A68F-41E4-BBBE-5D567320E1C1} -
MSI (s) (38:64) [10:36:50:109]: Machine policy value 'DisablePatch' is 0
MSI (s) (38:64) [10:36:50:109]: Machine policy value 'AllowLockdownPatch' is 0
MSI (s) (38:64) [10:36:50:109]: Machine policy value 'DisableLUAPatching' is 0
MSI (s) (38:64) [10:36:50:109]: Machine policy value 'DisableFlyWeightPatching' is 0
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ActionText 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdminExecuteSequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdminUISequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdvtExecuteSequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdvtUISequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Feature 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Binary 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: CheckBox 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Icon 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ComboBox 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Directory 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Control 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Dialog 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ControlCondition 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ControlEvent 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: CreateFolder 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: EventMapping 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: FeatureComponents 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: InstallUISequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ListBox 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ListView 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Media 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: RadioButton 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Registry 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: TextStyle 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: UIText 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Upgrade 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ISComponentExtended 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ISCustomActionReference 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ActionText 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdminUISequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdvtExecuteSequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: AdvtUISequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Feature 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Binary 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: File 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: CheckBox 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Icon 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ComboBox 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Directory 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Control 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Dialog 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ControlCondition 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ControlEvent 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: CreateFolder 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: CustomAction 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: EventMapping 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: FeatureComponents 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: InstallUISequence 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ListBox 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ListView 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: MsiFileHash 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: RadioButton 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Registry 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: TextStyle 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: UIText 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: Upgrade 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: _Validation 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ISComponentExtended 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: ISCustomActionReference 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2262 2: MsiPatchHeaders 3: -2147287038
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2205 2: 3: MsiAssembly
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`, `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (s) (38:64) [10:36:50:109]: Note: 1: 2725
DEBUG: Error 2725: Invalid database tables
1: 2725
MSI (s) (38:64) [10:36:50:109]: Product: BasePackage - Update 'BasePackage' could not be removed. Error code 1603. Additional information is available in the log file D:\Projects\Packaging\TestPackages\MSP-Patching\DesignerPatch_7.3.0.0\RemovePatchg.log.
MSI (s) (38:64) [10:36:50:109]: Windows Installer removed an update. Product Name: BasePackage. Product Version: 7.0.0.0. Product Language: 1033. Update Name: BasePackage. Removal success or error status: 1603.
MSI (s) (38:64) [10:36:50:109]: Note: 1: 1708
MSI (s) (38:64) [10:36:50:109]: Product: BasePackage -- Installation failed.
MSI (s) (38:64) [10:36:50:109]: Windows Installer installed the product. Product Name: BasePackage. Product Version: 7.0.0.0. Product Language: 1033. Installation success or error status: 1603.
MSI (s) (38:64) [10:36:50:125]: MainEngineThread is returning 1603
MSI (s) (38:0C) [10:36:50:125]: No System Restore sequence number for this installation.
Fatal error during installation.
QPPrev1ToQPNewVersion
MSI (s) (38:0C) [10:36:50:125]: User policy value 'DisableRollback' is 0
MSI (s) (38:0C) [10:36:50:125]: Machine policy value 'DisableRollback' is 0
MSI (s) (38:0C) [10:36:50:125]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (38:0C) [10:36:50:125]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (38:0C) [10:36:50:125]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (38:0C) [10:36:50:125]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (38:0C) [10:36:50:125]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2
MSI (s) (38:0C) [10:36:50:125]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (38:0C) [10:36:50:125]: Restoring environment variables
MSI (c) (7C:A0) [10:36:50:125]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (7C:A0) [10:36:50:125]: MainEngineThread is returning 1603
=== Verbose logging stopped: 24/09/2009 10:36:50 ===
Posted by:
frodo
15 years ago
in the base package i have a few dlls and a txt file. if i only update the text file then the removal works fine, so it appears i have everything authored correctly.
Now, once i author the msp to update one of the dlls, update version 21.0 to 22.0 then it installs fine but fails on removal. i notices in the shared dll registry hive that that file has a value of 8. bottom line is that if i attempt to update any of the dlls the remove of the msp fails.
i will keep going and post results here, hopefully i will get to the bottom of this.
the base package using dynamic file linking this may be the issue!
Now, once i author the msp to update one of the dlls, update version 21.0 to 22.0 then it installs fine but fails on removal. i notices in the shared dll registry hive that that file has a value of 8. bottom line is that if i attempt to update any of the dlls the remove of the msp fails.
i will keep going and post results here, hopefully i will get to the bottom of this.
the base package using dynamic file linking this may be the issue!
Posted by:
anonymous_9363
15 years ago
Posted by:
tryingman
14 years ago
Posted by:
tryingman
14 years ago
Sorry, I meant to ask my above question to frodo who was actually facing this problem.
I can't uninstall a patch. Error is: "Error 2725: Invalid database tables"
The related log is:
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: MsiPatchHeaders 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: MsiPatchHeaders 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2205 2: 3: MsiAssembly
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`, `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2725
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2729
DEBUG: Error 2725: Invalid database tables
1: 2725
MSI (s) (0C:1C) [13:22:51:694]: Product: Remote Infrastructure Monitoring - Update 'Remote Infrastructure Monitoring 2.1.56006 Update' could not be removed. Error code 1603. Additional information is available in the log file D:\silverback\hotfix\hotfix6\Patch\uninstall_patch_with_pradeep_guid_change-1.log.
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 1708
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2729
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2729
MSI (s) (0C:1C) [13:22:51:694]: Product: Remote Infrastructure Monitoring -- Installation failed.
MSI (s) (0C:1C) [13:22:51:709]: MainEngineThread is returning 1603
Fatal error during installation.
Patch_errorToPatch_fixed
MSI (c) (00:2C) [13:22:51:709]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (00:2C) [13:22:51:709]: MainEngineThread is returning 1603
=== Verbose logging stopped: 10/12/2010 13:22:51 ===
I can't uninstall a patch. Error is: "Error 2725: Invalid database tables"
The related log is:
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: MsiPatchHeaders 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Patch 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: MsiPatchHeaders 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2205 2: 3: MsiAssembly
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2228 2: 3: MsiAssembly 4: SELECT `MsiAssembly`.`Attributes`, `MsiAssembly`.`File_Application`, `MsiAssembly`.`File_Manifest`, `Component`.`KeyPath` FROM `MsiAssembly`, `Component` WHERE `MsiAssembly`.`Component_` = `Component`.`Component` AND `MsiAssembly`.`Component_` = ?
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:678]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:678]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Transforming table Component.
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2262 2: Component 3: -2147287038
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2725
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2729
DEBUG: Error 2725: Invalid database tables
1: 2725
MSI (s) (0C:1C) [13:22:51:694]: Product: Remote Infrastructure Monitoring - Update 'Remote Infrastructure Monitoring 2.1.56006 Update' could not be removed. Error code 1603. Additional information is available in the log file D:\silverback\hotfix\hotfix6\Patch\uninstall_patch_with_pradeep_guid_change-1.log.
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 1708
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2729
MSI (s) (0C:1C) [13:22:51:694]: Note: 1: 2729
MSI (s) (0C:1C) [13:22:51:694]: Product: Remote Infrastructure Monitoring -- Installation failed.
MSI (s) (0C:1C) [13:22:51:709]: MainEngineThread is returning 1603
Fatal error during installation.
Patch_errorToPatch_fixed
MSI (c) (00:2C) [13:22:51:709]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (00:2C) [13:22:51:709]: MainEngineThread is returning 1603
=== Verbose logging stopped: 10/12/2010 13:22:51 ===
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.