[wpkg-users] MsiInstaller cant write to registry when installing several particular packages.

Tomasz Chmielewski mangoo at wpkg.org
Fri Aug 15 12:58:32 CEST 2008


Tor Soerensen schrieb:

(...)

> The packages does not install at the moment when run with wpkg, but if I run the installers manually they install fine. 
> 
> Looking at the windows logbook (eventvwr.msc) I can see that each MsiInstaller generates two kinds of error events  (loosely translated from danish):
> 
> 1)
> Source: MsiInstaller
> Event id: 11406
> 
> Product: Carsten .. Error 1406. The varlue could not be written to the key \Software\Classes\CLSID\{[ UID Abbreviated by me ]}\InprocServer32. System error. Check whether you have sufficient access to the key in question or contact your support technician.
> 
> 2)
> Source: MsiInstaller
> Event id: 11401
> 
> Product: Afasi-assistent Standard 1.7 -- Error 1401. The key HKEY_USERS\[ abbreviated ]\Software\Classes could not be created. System error 87. Ensure that you have sufficient access to the key, or contact your support technician.
> 
> Both errors occur in the same run (initial installation on new pc's), and other packages (for instance 7-zip and MS office) install without any problems during the same run. 
> 
> I also on occasion see events saying something like "The registry for the user support has been saved" (cant remember the exact wording). Support is the user used for installing packages.
> 
> 
> 
> 
> I include my settings.xml from the wpkg client below
> 
>   <?xml version="1.0" encoding="UTF-8" ?> 
> - <configuration>
>   <file>\\tiger\wpkg\wpkg.js</file> 
>   <path-user>wpkg</path-user> 
>   <path-password>[Removed]</path-password> 
>   <exec-user>support</exec-user> 

Is "support" user an administrator? Does this user have proper privileges?

Are you sure you can install programs when logged in as "support" user? 
Maybe this user does not have access to some parts of the registry?

Does it help if you temporarily change the user in "WPKG Client" to SYSTEM?


-- 
Tomasz Chmielewski
http://wpkg.org



More information about the wpkg-users mailing list