Archive: Script Admin Rights


Script Admin Rights
Hy,

I'm admin of a little Win AD domain and i use Nsis to create installation software or installation patchs.

I would use the windows start user script ans replace the script by a nsis packet to deploy personnals softwares.
I create my nsis packet and when i run it, it can't have THE ADMIN RIGHTS and don't execute all actions.

Are you a solution to specify on the nsis packet to work with de admin rights. I have admin's user and password and i want to insert them on the nsis script.

I hope i was clear !!!

thanks. Géry.

:rolleyes:


You can use runas.exe, psexec or RunAs but that'd mean keeping the administrator's password in the installer. If the user really wants, he could get it out of the installer by debugging it.


I may decide to add to my RunAs plug-in to include support for CredUIPromptForCredentials (Win XP and above).

Stu