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
- :
- runas admin but who is the current user?
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
‎Sep 28, 2010
12:30 PM
runas admin but who is the current user?
Is there a function in installshield that will tell me who the current user is when the install is runas administrator?
We are calling a third party installer that is leaving a shortcut directly on the current user's desktop that I need to remove.
While my install is running as Admin it only sees admin's desktop as the current user instead of the REAL current user.
thanks for any help.
We are calling a third party installer that is leaving a shortcut directly on the current user's desktop that I need to remove.
While my install is running as Admin it only sees admin's desktop as the current user instead of the REAL current user.
thanks for any help.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 29, 2010
02:08 AM
The installation contex is different for your packages:
Just try to run both installers under one contex. it could be SomeAdministrator conex. In this scenario third party installer will create shortcut for SomeAdminitrator that easily can be deleted.
- third party installer contex is CurrentUser
- your installer conex is SomeAdministrator
Just try to run both installers under one contex. it could be SomeAdministrator conex. In this scenario third party installer will create shortcut for SomeAdminitrator that easily can be deleted.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 05, 2010
09:15 AM
true, I think I'll just try that. Thanks!
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)