|
|
#1 |
|
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 |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] 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 |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|