Go Back   Winamp Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12th July 2009, 13:54   #1
nsnb
Senior Member
 
Join Date: Jul 2008
Posts: 157
Is RequestExecutionLevel a COMPILE-TIME directive?

I tried using RequestExecutionLevel in .onInit but the compiler gave me this error:
Quote:
Error: command RequestExecutionLevel not valid in Function
Does this mean that RequestExecutionLevel is a COMPILE-TIME directive?

If so, what can I do to implement a pretty unique installer that "Requests ExecutionLevel" based on whether the logged in user has Administrator privileges?

I would like to implement this somewhat "smart" installer that changes its behavior based on the account type (i.e. admin vs. limited). Is this possible without resorting to write the installer entirely in win32 C or C++?
nsnb is offline   Reply With Quote
 
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump