MSI Custom Action DLL does not have administrator rights

G

Guest

My deployment requires installing a service, among other things, that I do in
a custom action dll. However, it is failing because the dll does not have
administrator rights, even though during Setup the user is prompted for and
gives permission to run as an admin. Why doesn't the dll inherit the rights
of MSI? InstallShield doesn't have this problem.
 
Z

Zack Whittaker

It should - if you're prompted for admin. privilages, it should inherit to
the DLL's. Having said that, MSI packages just refuse to install sometimes
if you're not an admin.

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
 
G

Guest

Actually, in
http://msdn.microsoft.com/library/d...ry/en-us/msi/setup/dynamic_link_libraries.asp,
it states "The installer runs custom actions with user privileges by default
in order to limit the access of custom actions to the system.".

What I need to find out is how to override or bypass this.
--
Thanks,
Robert Tonsing


Zack Whittaker said:
It should - if you're prompted for admin. privilages, it should inherit to
the DLL's. Having said that, MSI packages just refuse to install sometimes
if you're not an admin.

--
Zack Whittaker
» ZackNET Enterprises: www.zacknet.co.uk
» MSBlog on ResDev: www.msblog.org
» Vista Knowledge Base: www.vistabase.co.uk
» This mailing is provided "as is" with no warranties, and confers no
rights. All opinions expressed are those of myself unless stated so, and not
of my employer, best friend, Ghandi, my mother or my cat. Glad we cleared
that up!

--: Original message follows :--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top