Is AI uninstall capable of "removing" string text that was prepended or appended to a registry value? I tried "appending" to any empty value but it appears not to get "removed" on uninstall.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
I've tested your scenario, but I cannot reproduce the behavior. If a value is appended to a non-empty registry value, the appended value is correctly removed at uninstall, but if it is appended to an empty registry value, then the whole entry will be removed at uninstall.
Also, please keep in mind that a value can be appended only to a list of strings (REG_MULTI_SZ registry type).
What's really there is just "CTXCIF" (no comma and space in front of it).
I'm trying to account for my registry value to be appended with either "CTXCIF" (if value is empty) or ", CTXCIF") if existing values are there... perhaps I can avoid all this by just "pre-pending"...
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Yes append and pre-pend seem to create a key of REG_MULTI_SZ and the vendor's existing key is defined as REG_SZ. So pre-pending seems to replace whatever is there
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Tried reading current value, using registry search and then writing that out with my value appended to that string which worked fine the PROBLEM than became on uninstall the value was removed and the registry value gets deleted
Think I'm to the point I need to do this one via custom action code.
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
As I mentioned in my previous post, the append and prepend operations should work as expected if the registry entry type is "REG_MULTI_SZ". If you want to use these operations on a "REG_SZ" registry type, you can create your own custom action with this functionality.
FOLLOW US
Get the latest news in Application Packaging