Re: How to raise rights...
- From: "Eugene Gershnik" <gershnik@xxxxxxxxxxx>
- Date: Tue, 5 Jul 2005 11:09:25 -0700
Christian Kaiser wrote:
> Hi,
>
> I need some first push to find the way :)))
>
> For our setup (WISE, not MSI yet) I would like to find a way to enter
> registry entries in HKLM and HKCR. Thus I need the rights to do so
> even as "normal" user. Which means, I need a way to give the user
> these rights temporarily by asking for an admin user/password,
> setting the right, doing whatever necessary, and removing this right
> later in the install process.
>
> Could anybody please give me a hint where to search for such a task?
To answer your specific question
CredUIPromptForCredentials
LogonUser
ImpersonateLoggedOnUser
RevertToSelf
However, it is better to redesign your setup logic to make your application
installed *once* by administrator rather than every time for each user.
--
Eugene
http://www.gershnik.com
.
- Follow-Ups:
- Re: How to raise rights...
- From: Christian Kaiser
- Re: How to raise rights...
- References:
- How to raise rights...
- From: Christian Kaiser
- How to raise rights...
- Prev by Date: Media-class installer rejects the installation of a 64-bit driver on AMD64
- Next by Date: Re: how to read binary data from INI file ?
- Previous by thread: Re: How to raise rights...
- Next by thread: Re: How to raise rights...
- Index(es):
Relevant Pages
|