PC Review


Reply
Thread Tools Rate Thread

admin or elevated privileges - msi installer

 
 
Viviana Vc
Guest
Posts: n/a
 
      24th Nov 2005
Hi all,

I have several questions regarding elevated privileges:
1) I need to create an installer that has to install the product
per-machine. So it is a per-machine installation. As by default this
needs to write stuff into HKLM registry key and to put files in places
where a limited user might not have the rights do I have to check for
elevated privileges or admin rights, or is this done somehow by default
by the MSI as it sees it's a per-machine installation?
2) One of my custom actions is installing a LSP (layered service
provider). This installing/uninstalling works only if the current user
is having admin rights. So in order for this custom action to work do I
need to make it deferred in system context, or should I at the beginning
of the installation check for elevated privileges or admin rights and
abort in case they fail? btw, which one should I check for: admin rights
or elevated privileges?
3) I also have to write in HKLM the TARGETDIR. As this is not a custom
action doesn't this mean that actually the whole installer needs
elevated privileges so I should check for those at the beginning? If
yes, does the MSI use those privileges when it sees that something
neeeds to be added in HKLM or do I have to specify this somehow?

Thanks in advance,
Viv
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: XP elevated privileges Jose Windows XP Help 1 23rd Sep 2009 03:06 PM
Re: XP elevated privileges 1PW Windows XP Help 0 15th Sep 2009 02:03 AM
Installer: No elevated privileges on Vista during change? ckasabula Windows Vista Security 0 17th Mar 2009 06:13 PM
Elevated Privileges Jeff Smyrski Windows XP Security 0 27th Apr 2004 08:02 PM
Elevated privileges Seanl Microsoft Windows 2000 2 1st Sep 2003 12:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:20 AM.