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
- :
- Problem with accessing USERPROFILE during silent install
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
Feb 05, 2009
09:24 PM
Problem with accessing USERPROFILE during silent install
I have custom actions which configure and copy XML based configuration files to the logged on user's profile (example: C:\Documents and Settings\). I use Session.Properties("USERPROFILE") to get to this location.
The CAs work like champs during UI based installation but they resolve USERPROFILE to just "C:\" when the same MSI is run silently :confused:
Can somebody help this lost soul?
Thanks!
The CAs work like champs during UI based installation but they resolve USERPROFILE to just "C:\" when the same MSI is run silently :confused:
Can somebody help this lost soul?
Thanks!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Feb 05, 2009
10:21 PM
I found the resolution actually in the InstallShield 12 forum!
If anybody is curious - see the thread -
http://community.installshield.com/showthread.php?t=170259&highlight=USERPROFILE
If anybody has a better or more efficient idea, i am all ears!
Thanks.:)
If anybody is curious - see the thread -
http://community.installshield.com/showthread.php?t=170259&highlight=USERPROFILE
If anybody has a better or more efficient idea, i am all ears!
Thanks.:)
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)