Alfaromeo
13th June 2008 07:45 UTC
Non-Admin should be able to instal
Hi,
My installer should be able to be installed by admin and non-admin users too. While the former works, non-admin users are able to launch the installer , but shortcut icons are missing and the main application file did not get installed.
How can i write such an installer.
LordDaimos
13th June 2008 08:39 UTC
You have to make sure that you have write-access to the places where the installer needs to create files. For example, you can't write to the "All users" start-menu if you are not an administrator and you might not be able to install files to some other folders aswell (like Program Files on Vista).
/ Karl
Red Wine
13th June 2008 09:50 UTC
Check the included multiuser header (MultiUser.nsh).
Alfaromeo
17th June 2008 07:11 UTC
Thanks I used the multiuser.nsh header file and it worked.
The installer automatically substituted the registry Hives based on the logged in user's permission level.
Thanks once agaian.
Red Wine
17th June 2008 12:17 UTC
Right, indeed very useful header, thanks to the author of it.