Hi all,

I edited my question with my new concern. I found the solution easily to the other one so i deleted it.

With wise, i have to update existing registry key. I am wondering what is the best practice when uninstalling the application, if i want to revert to the former registry key value instead of deleting them.

0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity


You need to author two Custom Actions, then.

One will record the data which is there and store it in another key. This will run at install-time so you will need to condition it accordingly using 'If Installed' or, more correctly, you will have added a custom feature and set the condition according to whether or not this feature is selected for install. The second CA will run at uninstall, reading the stored data and writing it back to its former location. This will also need to be conditioned, probably using 'If REMOVE~="ALL"'.
Answered 11/13/2008 by: VBScab
Red Belt

Please log in to comment
Thanks for the info
Answered 11/13/2008 by: PackagerWannaBe
Orange Senior Belt

Please log in to comment