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 Administrator - but i need current user profile
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 19, 2008
10:21 AM
RunAs Administrator - but i need current user profile
Dear all!
I'm running my setup.exe using "RunAs Administrator". During the installation process i need to copy some files to the actual user profile. As I'm running setup as the administrator, the "CurrentUserProfile" path seems to be the one of the administrator.
Do you know a way to get the path of the current user profile?
Thanks a lot!
Michael
I'm running my setup.exe using "RunAs Administrator". During the installation process i need to copy some files to the actual user profile. As I'm running setup as the administrator, the "CurrentUserProfile" path seems to be the one of the administrator.
Do you know a way to get the path of the current user profile?
Thanks a lot!
Michael
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Nov 25, 2008
09:07 AM
If you're running as user 'a' and you want things put into user 'b's profile, you may need to employ something like Advertised Shortcuts or Active Setup (not recommended if you can help it in my experience) to run a repair of the install to install the files to where you want.
Chris
Chris
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)