Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Admin install requires machine admin privileges?

0 views
Skip to first unread message

aleck

unread,
Jun 9, 2005, 5:19:10 AM6/9/05
to
Hi!

I'm trying to make admin installation with non-admin user priviliges. As I
understand, admin installation should simply unpack the files. However, the
installation fails with the message (see below) from MSI log. The user
doesn't have Write permissions to machine-wide registry (as usual).

So why it writes registry?

Investigating further under RegMon shows that it opens HKLM\Software\Classes
with requested access 0x2001F (READ_CONTROL, KEY_NOTIFY, KEY_ENUM_SUBKEYS,
KEY_CREATE_SUBKEY, KEY_SET_VAL, KEY_QUERY_VAL). However, even with
appropriate permsissions it doesn't write anything when I make another run
under admin account. So the requested open access mask seems to be
excessive.

So is it normal behavior not allowing non-admins to perform administrative
installations or something went wrong ?


Regards,
Aleksey Karyakin


...
GenerateScript: Copying new files
Action ended 1:29:56: InstallFiles. Return value 1.
Action start 1:29:56: InstallFinalize.
Error 1401.Could not create key Software\Classes. System error 5. Verify
that you have sufficient access to that key, or contact your support
personnel.
MSI (s) (B4:A4): Product: **** -- Error 1401.Could not create key
Software\Classes. System error 5. Verify that you have sufficient access
to that key, or contact your support personnel.

Action ended 1:30:08: InstallFinalize. Return value 3.
Action 1:30:08: .
Action ended 1:30:09: ADMIN. Return value 3.

AdminExecuteSequence looks like the following (in Wix format):

<AdminExecuteSequence>
<CostInitialize Sequence="50" />
<FileCost Sequence="100" />
<CostFinalize Sequence="150" />
<InstallValidate Sequence="200" />
<InstallInitialize Sequence="250" />
<InstallAdminPackage Sequence="300" />
<InstallFiles Sequence="350" />
<InstallFinalize Sequence="400" />
</AdminExecuteSequence>


0 new messages