Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Revert to %USERNAME% after ranas (admin) (http://forums.winamp.com/showthread.php?t=232579)

videodam 5th December 2005 10:09

Revert to %USERNAME% after ranas (admin)
 
To install my app, users can use "Runas" and then an admin ID. I would like to use then MUI_FINISHPAGE_RUN command to automatically run the app after install, but under the local user profile not the "runas" admin id (so as not to create their documents etc under the wrong user name).

Or am I missing something....

Comm@nder21 5th December 2005 12:58

i can't think of any solution for this one yet, as nsis just has the rights of the admin account and runs any programm/instruction with those rights.

maybe another runas command will do the trick, so the installer needs to run the application with the runas of the current user.


All times are GMT. The time now is 05:50.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.