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
- :
- Install Only Registry option grayed out
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎May 08, 2008
08:49 AM
Install Only Registry option grayed out
I have an InstallShield MSI project where I create a registry entry that I would like to set as Install Only, however that option is grayed out. Is there any a way to prevent a registry entry from being removed during an ininstall?
(7) Replies
‎May 09, 2008
07:49 AM
The Install Only (+) registry flag is always disabled for registry keys that have subkeys or values. (I don't think that Windows Installer supports this flag for registry keys with subkeys or values.)
Can you select Yes for the Permanent setting for the component that contains the registry entry? When a component is marked as permanent, none of its data (registry entries, files, shortcuts) are removed when the component's feature is uninstalled.
I hope that helps.
Debbie Landers
Acresso Software
Can you select Yes for the Permanent setting for the component that contains the registry entry? When a component is marked as permanent, none of its data (registry entries, files, shortcuts) are removed when the component's feature is uninstalled.
I hope that helps.
Debbie Landers
Acresso Software
‎Apr 28, 2009
02:51 AM
1) Use the direct editor to edit the Registry Table.
2) Add a new row with the Root and Key value matching your registry key.
3) Set the Name to + (a plus sign).
4) Leave the Value field blank.
5) Set the Component to the same value used to establish the key.
6) Close the Table.
When you go back to the Registry View, the "Install Only (+)" option will still be grayed out, but it will be selected.
2) Add a new row with the Root and Key value matching your registry key.
3) Set the Name to + (a plus sign).
4) Leave the Value field blank.
5) Set the Component to the same value used to establish the key.
6) Close the Table.
When you go back to the Registry View, the "Install Only (+)" option will still be grayed out, but it will be selected.
‎Jun 19, 2009
09:09 AM
You can also force 'install only' behavior by setting the Component property "Permanent" to Yes.
The component (registry entry),will not uninstall if the product is uninstalled.
The component (registry entry),will not uninstall if the product is uninstalled.
‎Jul 24, 2009
06:27 PM
I would like to leave the register settings intact if they are present and not remove them on uninstall. I think this is the Install Only(+) option.
1) Use the direct editor to edit the Registry Table. (What is meant by direct editor? Are you talking about the Destination Computer's Registry View?)
2) Add a new row with the Root and Key value matching your registry key.(What do you mean by a new row?)
3) Set the Name to + (a plus sign).
4) Leave the Value field blank.
5) Set the Component to the same value used to establish the key.(Where is the component?)
6) Close the Table.
I have seen many references to setting the component property to "Permanent", but I have yet to find in the program interface where the component properties can be set. I have found where you can set a file to be permanent. I am sure I am missing something obvious, but it is not clear to me what everyone is talking about. Any help would be appreciated!
Thanks,
Jim
1) Use the direct editor to edit the Registry Table. (What is meant by direct editor? Are you talking about the Destination Computer's Registry View?)
2) Add a new row with the Root and Key value matching your registry key.(What do you mean by a new row?)
3) Set the Name to + (a plus sign).
4) Leave the Value field blank.
5) Set the Component to the same value used to establish the key.(Where is the component?)
6) Close the Table.
I have seen many references to setting the component property to "Permanent", but I have yet to find in the program interface where the component properties can be set. I have found where you can set a file to be permanent. I am sure I am missing something obvious, but it is not clear to me what everyone is talking about. Any help would be appreciated!
Thanks,
Jim
‎Aug 17, 2009
05:23 PM
Jim McBride wrote:
I would like to leave the register settings intact if they are present and not remove them on uninstall. I think this is the Install Only(+) option.
1) Use the direct editor to edit the Registry Table. (What is meant by direct editor? Are you talking about the Destination Computer's Registry View?)
2) Add a new row with the Root and Key value matching your registry key.(What do you mean by a new row?)
3) Set the Name to + (a plus sign).
4) Leave the Value field blank.
5) Set the Component to the same value used to establish the key.(Where is the component?)
6) Close the Table.
I have seen many references to setting the component property to "Permanent", but I have yet to find in the program interface where the component properties can be set. I have found where you can set a file to be permanent. I am sure I am missing something obvious, but it is not clear to me what everyone is talking about. Any help would be appreciated!
Thanks,
Jim
Assuming you're using a Basic MSI project, the "Direct Editor" is one of the views available under "Additional Tools". Here you will see all the MSI tables, with Registry being one of them. Read the "Direct Editor" help topic in the InstallShield help library for more information.