Is it possible to conditionally support the administrator rights requirement in
a script? I only require it if the user is installing a demo setup type which
includes MSDE.
Greg Fasolt
G. Fasolt and Associates
www: GFasolt.com S.M.
Is it possible to conditionally support the administrator rights requirement in
a script? I only require it if the user is installing a demo setup type which
includes MSDE.
Greg Fasolt
G. Fasolt and Associates
www: GFasolt.com S.M.
Greg,
Yes, you can use the %PRIVILEGES% variable. If it holds "Admin" then you
have administrator privileges.
You can do something like the following:
If %PRIVILEGES% Not Equals "Admin" Then
Display Message Box "Administrator privileges required"
Exit Installation
End
Does this help?
Friedrich
--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910
"point. click. ship" - that's SetupBuilder 5
Excellent! Thanks Friedrich.
Greg Fasolt
G. Fasolt and Associates
www: GFasolt.com S.M.
There are currently 1 users browsing this thread. (0 members and 1 guests)