cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sammathew
Level 4

To Find if Standard user after Elevation

HI All,

I am Using InstallScript(InstallShield 2008).

My product Installation Setup.exe requires administrative privileges to run.If the Standard user is going to intsall my product then the user as to give UserName and Password of Admin inorder to install since the manifest file is embeded with the Setup.exe.

Thats fine till now.

But after the Standard user as given the UserName and Password of Admin now he gets elevated.Since he gets elevated i cant find is the User is a Standard user or not.

Is there a way to find the user is a Standard user if the Standard user installs the Setup.exe even if gets elevated.

Because i need to dispalay the SdCustomer Dialog accordingly.

My Advance Thanks.
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

I haven't tried it, but does Is(USER_INADMINGROUP, "") do something like what you want?
0 Kudos
Not applicable

The user who launched your application is the user who provided OTS credentials. So, in effect, any knowledge that the user who originally attempted to launch your application without permissions is lost.

See this article for more information:
http://windowsitpro.com/article/articleid/95231/psexec-user-account-control-and-security-boundaries.html
0 Kudos