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

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.
Labels (1)
0 Kudos
2 Replies
Rouslan
Level 4

The installation contex is different for your packages:

  • 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.
0 Kudos
KathyBailey
Level 4

true, I think I'll just try that. Thanks!
0 Kudos