I have packaged an app that after uninstall leaves quite a few regkeys. What is the best way to remove these on uninstall? I think I could do this with a custom action, but was wandering if there was another method. e.g. "RemoveRegistry" table?

Cheers, Mike.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hi Mike!

RemoveRegistry is supposed to work. I have never tried it myself tho, but in RemoveFile you can set files (with wildchar) that you want to delete on uninstall.

/Jonas
Answered 06/12/2006 by: jonasm
Blue Belt

Please log in to comment
0
If the applications write registry that isn't added to the msi then they will be left alone.
Registry in the RemoveRegistry table will only be removed during installation and NOT on uninstall
Answered 06/12/2006 by: AngelD
Red Belt

Please log in to comment
0
Under the regkey you want to be removed on uninstall, create a new key and change that to "Create Empty key and delete subkeys on uninstall", it would change the key to "*" after you click ok

and also

go to Registry table and replace "+" with "*".
Answered 06/12/2006 by: bheers
Second Degree Blue Belt

Please log in to comment
0
OR add a custom action that executes "REG DELETE <KeyPath>" with condition REMOVE="ALL".
ex. "REG DELETE HKLM\Software\MyPackage\RegKey /f"
Answered 06/12/2006 by: AngelD
Red Belt

Please log in to comment
0
Thanks for your replies - I went for bheers suggestion of creating new blank key with remove on uninstall option. Worked a treat...
Answered 06/14/2006 by: Meic
Second Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity