This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: To Find if Standard user after Elevation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 20, 2008
11:17 PM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2008
02:05 PM
I haven't tried it, but does Is(USER_INADMINGROUP, "") do something like what you want?
Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 21, 2008
02:40 PM
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
See this article for more information:
http://windowsitpro.com/article/articleid/95231/psexec-user-account-control-and-security-boundaries.html