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
- :
- Set Registry value to use ALLUSERSPROFILE
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
Jun 29, 2009
12:32 PM
Set Registry value to use ALLUSERSPROFILE
In my installation, I am attempting to set some registry values to use ALLUSERSPROFILE. For example, %ALLUSERSPROFILE%\Application Data\Microsoft\Schemas\somefile.xsd. However, the installation does not resolve it to C:\Documents and Settings\All Users. If I replace it with %PROGRAM FILES%, it resolves it correctly. The log shows that setAllUsersProfile2K is executing and setting the value correctly. I can see this in the log, but it does not change it for the registry setting.
Any suggestions?
Any suggestions?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 29, 2009
06:08 PM
What exactly are you putting in the registry view? [ALLUSERSPROFILE], or...?
As described in the MSI "Formatted" help topic, you can use [%ENVVAR] in the Registry and some other tables to expand the value of an environment variable, or use [PROPNAME] to expand a property. (You can view the Registry table in the Direct Editor view to double-check the data.)
As described in the MSI "Formatted" help topic, you can use [%ENVVAR] in the Registry and some other tables to expand the value of an environment variable, or use [PROPNAME] to expand a property. (You can view the Registry table in the Direct Editor view to double-check the data.)