/build/static/layout/Breadcrumb_cap_w.png

Error 1720 & Info 1402 System Error 6

Hi,

I have added a MST to a vendor MSI which amongst other things needs to remove a Component which the MSI doesn't. This requires a process to be stopped during the uninstall, I've added the VB below as a CustomAction

On Error Resume Next
strComputer="."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" _
& strComputer & "\root\cimv2")

Set colProcess = objWMIService.ExecQuery _
("Select * from Win32_Process Where Name = 'DocGen7.exe'" )
For Each objProcess in colProcess
objProcess.Terminate()
Next

I now get the following error during uninstallation:

MSI (s) (18:E4) [13:16:41:653]: Product: M3 Land and Property Live -- Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action script error , : Line , Column ,

Error 1720.There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor. Custom action script error , : Line , Column ,

Action ended 13:16:41: InstallExecute. Return value 3.

Info 1402.Could not open key: UNKNOWN\Products\D355D98A04E09164785BD81D531CD01E\Usage. System error 6. Verify that you have sufficient access to that key, or contact your support personnel.


The process is stopped as expected but the install then fails and rolls back. My MST works without this CustomAction if I manually stop the process. I'm running as local admin. Any ideas appreciated.

0 Comments   [ + ] Show comments

Answers (5)

Posted by: anonymous_9363 13 years ago
Red Belt
0
Is your CA in the deferred sequence and is it set to execute in System context?
Posted by: tmpamlrs 13 years ago
Senior Yellow Belt
0
Hi,

to answer your questions first. I tried Deferring the CustomAction as well as not, both the same result. Not sure how to set it to run in the system context, is this down to the InstallExecuteSequence?

I would like to get my original method working but what I've done as a workaround is change the CA to an Asynchronous exe and used taskkill. Which does work!
Posted by: anonymous_9363 13 years ago
Red Belt
0
In order to run outside the logged-in user's context, CAs *must* be in the deferred sequence. You set the context in your authoring tool's UI. If you're editing the tables directly with InstEdit/Orca, then refer to this MSDN article for details.
Posted by: vanthana 12 years ago
Yellow Belt
0
Hi,
I have application i.e. legacy application, first i did repackager for .irp file generation. after .irp file generation, created .ism and .msi file . I made change in the registry data and build application. finally i got the .exe file. now i install the application on test machine i am getting following error. can any one pls help me on this. thanks in advance.

Error Message:Error 1402. Coud not open key: HKEY_LOCAL_MACHINE32\Software\Classes\CLSID\{8802116A-1E30-4134-A02A-18B9114500EBF}\..\ProxyStubClsid32. Verify that you have sufficient access to that key or contact your support personnel
Posted by: anonymous_9363 12 years ago
Red Belt
0
Verify that you have sufficient access to that key What is is it about the message that you don't understand?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ