Question

So I have an InstallShield 2009 Premier project and a custom dialog with a text (editable) field. I need to have the value (string) entered in that field during maintenance mode (specifically REPAIR). I presume that I'm supposed to store this information in registry. The question is how to find the registry key specific to this (current) installation instance. I also need to support multiple installations.

Is there an InstallScript function to retrieve a registry key of current installation where I can create my own subkey?

Thanks

Was it helpful?

Solution

Only one instance of a given MSI's ProductCode can be installed at a time, so you can use that property in a custom action or system search (or the PRODUCT_GUID and INSTANCE_GUID variables if this is a pure InstallScript project). One common location to store this kind of thing is to use a string data in the "Uninstall" key.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top