Hi. My installation now checks for administrative rights before initialization. If the user is not logged in as administrator, then a message pops up that tells the user to log into Administrator mode before installing.
My Problem:
Is it possible to call up the Windows function that allows the user to change login mode, without rebooting the PC?
If so, then kindly enlighten me on how to do it?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Allow user to change administrative rights
Started by
joechua
, Jan 10 2003 04:59
2 replies to this topic
Posted 10 January 2003 - 12:34
I think there's a command line tool called runas.exe in Windows NT and above.
Stefan Krüger
InstallSite.org twitter facebook
Posted 10 January 2003 - 14:54
depending on the actual requirement you have it might be possible to satisfy your requirement by using the AlwaysInstallElevated policies ( for these to work you must set both the system and current user policy ).
when set for both the current user and local system a msi and any patches/upgrades will run with System Privs. the msi then becomes what is called a 'managed application' in ms parlance.
for custom actions it is possible to add 'security flags' to the custom action type to allow for increased security privs. for the ca.
to my knowledge the runas programme was developed in 1997 but was not included in the ms os baseline until win2000...
when set for both the current user and local system a msi and any patches/upgrades will run with System Privs. the msi then becomes what is called a 'managed application' in ms parlance.
for custom actions it is possible to add 'security flags' to the custom action type to allow for increased security privs. for the ca.
to my knowledge the runas programme was developed in 1997 but was not included in the ms os baseline until win2000...