Error 1605 when trying to execute MSI file with PSexec.exe command
I am trying to uninstall Adobe CS6 application silently (Design and Web premium).
Uninstalling with msi file generated <msiexec /x <path of msi> /q>.
Problem here is when we uninstall with admin mode, application uninstalls silently. Before deploying in SCCM, first we have to test with command <psexec -sid cmd.exe>, another cmd window opens and we try to uninstall in that cmd window, it throws error message 1605 in the log file. (refer below please)
There are other options to uninstall but it is non-silent. We would want it to happen silently.
There is also a command line => setup.exe --mode=Silent --deploymentFile=<path to Installer XML file> but deployment team does not accept exe file,we have tried that option as well in SCCM, it did not work either after distribution, manual testing works ok.
Are there any other options to uninstall Adobe CS6 silently and also it should work with SCCM as well.Please assist
Tried options: 1) uninstalled msi with /q ALLUSERS=2 REINSTALLMODE=OMUS 2) as the msi file is 32-bit tried executing the uninstall msi in 32-bit cmd window also.
LOG FILE
=== Verbose logging started: 30.10.2013 13:14:21 Build type: SHIP UNICODE 5.00.7601.00 Calling process: C:\Windows\SysWOW64\msiexec.exe === MSI (c) (60:CC) [13:14:21:601]: Resetting cached policy values MSI (c) (60:CC) [13:14:21:601]: Machine policy value 'Debug' is 0 MSI (c) (60:CC) [13:14:21:601]: ******* RunEngine: ******* Product: C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi ******* Action: ******* CommandLine: ********** MSI (c) (60:CC) [13:14:21:601]: Client-side and UI is none or basic: Running entire install on the server. MSI (c) (60:CC) [13:14:21:601]: Grabbed execution mutex. MSI (c) (60:CC) [13:14:21:617]: Cloaking enabled. MSI (c) (60:CC) [13:14:21:617]: Attempting to enable all disabled privileges before calling Install on Server MSI (c) (60:CC) [13:14:21:632]: Incrementing counter to disable shutdown. Counter after increment: 0 MSI (s) (04:E8) [13:14:21:632]: Running installation inside multi-package transaction C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi MSI (s) (04:E8) [13:14:21:632]: Grabbed execution mutex. MSI (s) (04:18) [13:14:21:632]: Resetting cached policy values MSI (s) (04:18) [13:14:21:632]: Machine policy value 'Debug' is 0 MSI (s) (04:18) [13:14:21:632]: ******* RunEngine: ******* Product: C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi ******* Action: ******* CommandLine: ********** MSI (s) (04:18) [13:14:21:632]: Machine policy value 'DisableUserInstalls' is 0 MSI (s) (04:18) [13:14:21:664]: SRSetRestorePoint skipped for this transaction. MSI (s) (04:18) [13:14:21:664]: Note: 1: 1402 2: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer 3: 2 MSI (s) (04:18) [13:14:21:664]: File will have security applied from OpCode. MSI (s) (04:18) [13:14:22:132]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi' against software restriction policy MSI (s) (04:18) [13:14:22:132]: Note: 1: 2262 2: DigitalSignature 3: -2147287038 MSI (s) (04:18) [13:14:22:132]: SOFTWARE RESTRICTION POLICY: C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi is not digitally signed MSI (s) (04:18) [13:14:22:132]: SOFTWARE RESTRICTION POLICY: C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi is permitted to run because the user token authorizes execution (system or service token). MSI (s) (04:18) [13:14:22:132]: End dialog not enabled MSI (s) (04:18) [13:14:22:132]: Original package ==> C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi MSI (s) (04:18) [13:14:22:132]: Package we're running from ==> C:\WINDOWS\Installer\1473065.msi MSI (s) (04:18) [13:14:22:148]: APPCOMPAT: Compatibility mode property overrides found. MSI (s) (04:18) [13:14:22:148]: APPCOMPAT: looking for appcompat database entry with ProductCode '{8B88631D-8A0D-4094-953C-E4D44996988C}'. MSI (s) (04:18) [13:14:22:148]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (04:18) [13:14:22:164]: Machine policy value 'TransformsSecure' is 0 MSI (s) (04:18) [13:14:22:164]: User policy value 'TransformsAtSource' is 0 MSI (s) (04:18) [13:14:22:164]: Machine policy value 'DisablePatch' is 0 MSI (s) (04:18) [13:14:22:164]: Machine policy value 'AllowLockdownPatch' is 0 MSI (s) (04:18) [13:14:22:164]: Machine policy value 'DisableLUAPatching' is 0 MSI (s) (04:18) [13:14:22:164]: Machine policy value 'DisableFlyWeightPatching' is 0 MSI (s) (04:18) [13:14:22:164]: APPCOMPAT: looking for appcompat database entry with ProductCode '{8B88631D-8A0D-4094-953C-E4D44996988C}'. MSI (s) (04:18) [13:14:22:164]: APPCOMPAT: no matching ProductCode found in database. MSI (s) (04:18) [13:14:22:164]: Transforms are not secure. MSI (s) (04:18) [13:14:22:164]: PROPERTY CHANGE: Adding MsiLogFileLocation property. Its value is 'c:\appl\web.log'. MSI (s) (04:18) [13:14:22:164]: Command Line: REMOVE=ALL CURRENTDIRECTORY=C:\Windows\SysWOW64 CLIENTUILEVEL=3 CLIENTPROCESSID=1120 MSI (s) (04:18) [13:14:22:164]: PROPERTY CHANGE: Adding PackageCode property. Its value is '{DED6D37B-02F1-45B9-B67A-441735EF3302}'. MSI (s) (04:18) [13:14:22:164]: Product Code passed to Engine.Initialize: '' MSI (s) (04:18) [13:14:22:164]: Product Code from property table before transforms: '{8B88631D-8A0D-4094-953C-E4D44996988C}' MSI (s) (04:18) [13:14:22:164]: Product Code from property table after transforms: '{8B88631D-8A0D-4094-953C-E4D44996988C}' MSI (s) (04:18) [13:14:22:164]: Note: 1: 1708 MSI (s) (04:18) [13:14:22:164]: Product: Adobe Design and Web Premium -- Installation failed. MSI (s) (04:18) [13:14:22:164]: Windows Installer installed the product. Product Name: Adobe Design and Web Premium. Product Version: 1.2.0000. Product Language: 1033. Manufacturer: Adobe Systems Incorporated. Installation success or error status: 1605. MSI (s) (04:18) [13:14:22:179]: MainEngineThread is returning 1605 MSI (s) (04:E8) [13:14:22:179]: No System Restore sequence number for this installation. This action is only valid for products that are currently installed. C:\APPL\Build\Adobe CS6 Design and Web Premium\Build\Design&WebPremium.msi MSI (s) (04:E8) [13:14:22:179]: User policy value 'DisableRollback' is 0 MSI (s) (04:E8) [13:14:22:179]: Machine policy value 'DisableRollback' is 0 MSI (s) (04:E8) [13:14:22:179]: Incrementing counter to disable shutdown. Counter after increment: 0 MSI (s) (04:E8) [13:14:22:179]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (04:E8) [13:14:22:179]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 MSI (s) (04:E8) [13:14:22:179]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 MSI (s) (04:E8) [13:14:22:179]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\InProgress 3: 2 MSI (s) (04:E8) [13:14:22:179]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (s) (04:E8) [13:14:22:179]: Restoring environment variables MSI (c) (60:CC) [13:14:22:179]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1 MSI (c) (60:CC) [13:14:22:179]: MainEngineThread is returning 1605 === Verbose logging stopped: 30.10.2013 13:14:22 ===
Answers (2)
Why not try uninstalling with the correct command line? '/q' is the argument to quiese the installer UI. You need to use the '/x' argument and, rather than refer to the MSI, use the Product Code which you'll find in the registry, under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall. There you'll find a whole buch of GUIDs. Check the corresponding 'DisplayName' until you find the one for the product concerned. The key containing that value will be the ProductCode you need.
You'll find it useful to include a log, so....
MSIEXEC /X {GUID} /L*V %SystemRoot%\TEMP\[logfilename.log]