Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 10th January 2008, 10:05   #1
Protagonist
Junior Member
 
Join Date: Jul 2004
Location: Frankfurt , Germany
Posts: 13
Installer Option: Current Usr / All Users under Vista

I need an installer for Windows XP / Vista which offers the option to install for current user / all users. It is no problem under Windows XP, all i have to do is alter setshellvarcontext accordingly (I know that this is not 100 % correct as I theoretically need to alter the uninstall info etc, but as most people are logged in as admins anyway it suits me fine)



Here I found some good hints what I have to do for the installer to function properly under Vista

What I could not quite grasp was if you are locked in as an admin and want to install for the current user only. Does the UAC plugin cover that ?

Oh, and if anybody has already coded an installer with the abovementioned feature I would be very happy to take a look at that piece of code.

thanks in advance.

Protagonist
Protagonist is offline   Reply With Quote
Old 11th January 2008, 16:41   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
The UAC plug-in should be able to handle that. You'd simply have to wait until the user selects the installation type before you use it to execute the installer again as an administrator.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump