Hi,
Is there any possibility to check the previlege of login user in Basic MSI installer...
--laxman
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.
Log in user
Started by
lakshmanjh
, Nov 28 2008 13:28
2 replies to this topic
Posted 01 December 2008 - 11:18
Hi,
I doubt if this check can be done in a basic MSI.But you can use a Custom Action (might be a VBScript) to read the variable USERNAME using ExpandEnvironmentStrings("%USERNAME%")and check if the user is an Administrator or Power User or so on..
I doubt if this check can be done in a basic MSI.But you can use a Custom Action (might be a VBScript) to read the variable USERNAME using ExpandEnvironmentStrings("%USERNAME%")and check if the user is an Administrator or Power User or so on..
Posted 02 December 2008 - 14:27
To test for privileges like SeBackupPrivilege, SeShutdownPrivilege, SeSecurityPrivilege etc. you'll need to write a DLL doing all the work, and call that DLL.
Edited by Zweitze, 02 December 2008 - 14:28.