문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top