superrock
12th March 2002 11:21 UTC
Login dialogue
Hi everybody,
Other installers like InstallShield, Wise, or the free Msi 1.1 version will show a login page when starting the setup program. This only occurs under Win2000/XP, if the user has no admininstrator privileges.
Is there any function to do that under Nsis?
It will help also to get the Win-Api function, which can be implemted in an additional exe.
Regards,
Andreas
:)
DuaneJeffers
13th March 2002 06:38 UTC
If you are not an admin, it will give you a warning no matter what, so don't worry about it, but if you do, then there should be a registry setting that one must know about.
What I would really like is if it is possible to create a login session with a website from NSIS.
-Duane
plaztic
13th March 2002 11:39 UTC
The login page is actually the RunAs program.
Type runas /? on a cmd prompt or shift right click on a exe file.
Check this thread for some info about detecting administrator
If the user needs admin rights then make RunAs launch the installer.
\plaz