Archive: Installer Option: Current Usr / All Users under Vista


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


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.