Impersonation
Has anyone had success impersonating a Windows user during a NSIS installation? Many of our users do not have admin priviledges on their machines (so things like DLL registraion may fail). Any insight is greatly appreciated.
Archive: Impersonation
Impersonation
Has anyone had success impersonating a Windows user during a NSIS installation? Many of our users do not have admin priviledges on their machines (so things like DLL registraion may fail). Any insight is greatly appreciated.
You can use UserInfo to find out if the user that started the installation is admin or not. If you want to impersonate you'd have to write a plug-in or use the System.dll to call the appropriate API functions.