Thanks to assistance in these forums, I now have an installer that prepends a value to an existing REG_SZ registry entry (AI’s prepend feature can only work with REG_MULTI_SZ entries). To accomplish this I used a search to extract the current value (let’s call is OLD_VALUE), an installation property (let’s call is MY_VALUE) and wrote back OLD_VALUE;MY_VALUE. Works great!
What I need to do now is set the reg key back to its original value during uninstall. So I have a couple of questions.
1) How do I write a registry key during uninstall? I don’t see a place to do that.
2) Does the AI search function operate during uninstall or just during install?
3) Are the values of installation properties like MY_VALUE preserved from install to uninstall? (I know this would require storing the values somewhere but it seems like this might happen… wishful thinking?)
I’m guessing I might have to write a VBScript to read, edit and rewrite the registry value but was hoping there might be an approach built into AI. Is there any difference between Professional and Enterprise for want I want to do?
FOLLOW US
Get the latest news in Application Packaging