![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | MSI Custom Action DLL does not have administrator rights 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. -- Thanks, Robert Tonsing |
My System Specs![]() |
| | #2 (permalink) |
| | Re: MSI Custom Action DLL does not have administrator rights 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 :-- "Robert Tonsing" <RobertTonsing@discussions.microsoft.com> wrote in message news:62F07143-E4D1-46E6-A53E-35EA2BFA3A60@microsoft.com... > 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. > -- > Thanks, > Robert Tonsing |
My System Specs![]() |
| | #3 (permalink) |
| | Re: MSI Custom Action DLL does not have administrator rights Actually, in http://msdn.microsoft.com/library/de..._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" wrote: > 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 :-- > "Robert Tonsing" <RobertTonsing@discussions.microsoft.com> wrote in message > news:62F07143-E4D1-46E6-A53E-35EA2BFA3A60@microsoft.com... > > 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. > > -- > > Thanks, > > Robert Tonsing > > > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Account 'NAMED' Administrator vs. 'administrator rights' question | Vista installation & setup | |||
| winrm invoke a custom action | PowerShell | |||
| You need permission to perform this action!! to copy a file to a directory with Admin rights | Vista security | |||
| Custom Keyboard action? | Vista General | |||
| SetupIterateCabinet failing from Custom Action .dll | Vista General | |||