My application uses the registry to store data in
HKEY_CURRENT_USER\Software\MyCompany\MyApp\
My application creates subkeys & values within the MyApp\ Registry key during application runtime.
I want Advanced Installer to delete the \MyApp registry key (including all subkeys & values) on uninstall. But want it to remain unchanged on upgrade-overinstall --
To do an upgrade, right now, I increase the Product Version number and generate a new Product Code. Also note that I am doing the above 2 things automatically via a script I have that edits the .aip file (-- my script reads the product version, increments it; creates a new guid, replaces the product code & saves the aip file.
Is there any way to acheive my desired result -- leave the key on upgrade, delete key on uninstall?
Right now my advanced installer project is always deleting the registry key on either uninstall or overinstall
FOLLOW US
Get the latest news in Application Packaging