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
- :
- How to define a Registry/Environment path variables?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Mar 12, 2009
09:34 AM
How to define a Registry/Environment path variables?
I'm in the process of converting the standard path variables pointing at our build folders to Registry or environment path variables in order to make it more flexible to change from which folder the files are taken. However, so far I haven't been successful in getting them to work, and the help file is a "bit" too vague about the subject (for example, I'd like to know where in the Registry the value should be stored). I'd appreciate any pointers.
(6) Replies
‎Mar 12, 2009
06:37 PM
Please see the help topic "Creating and Defining a Path Variable", which gives an example of what to put in the registry and what the corresponding path variable settings look like...
‎Mar 13, 2009
05:06 AM
RobertDickau wrote:
Please see the help topic "Creating and Defining a Path Variable", which gives an example of what to put in the registry and what the corresponding path variable settings look like...
Thanks Robert, now everything works like it should. However, the topic wasn't that easy to find, maybe it should be linked from the Path Variables View topic (i.e. the one that opens when you hit F1 in the Path Variables view) or at least from the linked Registry Path Variables and Environment Variables topics.
‎Dec 17, 2009
08:55 PM
To clarify, that topic (describing how to set whether an environment variable is per-user or per-machine) is for creating an environment variable on a user's system, and not for defining a source-path variable on your development system...
‎Dec 17, 2009
09:07 PM
Thank you for your explanation Sir.
So how than do I fix this error on a vista machine? When I have to append registry entries for a product that one has already installed prior? Meaning, I have to add a new product to an exiting key in the registry.
I need this the Environment Variables view to change the Type setting of that environment variable from System to User so when my product is getting uninstalled. I need to remove my registry entries which I have added with InstallShield.
I am lost here?
..............................................Error code......................................
Corrective Action
To resolve ISICE20 errors, do one of the following:
•Select Yes for the Require Administrative Privileges setting in the General Information view. For more information, see Entering Summary Information Stream Data.
•Change your project so that it does not install, modify, or delete data in system locations. For example, if your project adds a registry key to HKEY_LOCAL_MACHINE, use the Registry view to move that registry key to HKEY_CURRENT_USER. If your project adds or modifies a system environment variable, use the Environment Variables view to change the Type setting of that environment variable from System to User.
So how than do I fix this error on a vista machine? When I have to append registry entries for a product that one has already installed prior? Meaning, I have to add a new product to an exiting key in the registry.
I need this the Environment Variables view to change the Type setting of that environment variable from System to User so when my product is getting uninstalled. I need to remove my registry entries which I have added with InstallShield.
I am lost here?
..............................................Error code......................................
Corrective Action
To resolve ISICE20 errors, do one of the following:
•Select Yes for the Require Administrative Privileges setting in the General Information view. For more information, see Entering Summary Information Stream Data.
•Change your project so that it does not install, modify, or delete data in system locations. For example, if your project adds a registry key to HKEY_LOCAL_MACHINE, use the Registry view to move that registry key to HKEY_CURRENT_USER. If your project adds or modifies a system environment variable, use the Environment Variables view to change the Type setting of that environment variable from System to User.