You can just call the
Reset
function in your un-install. you can override the uninstall and call the "Reset" function. The reset function already having a logic to set the registry key values to 0. Or you can keep the code to remove the registry key in the Uninstall part. For this you can first call this
GetRegKeyNameForForm
function which will get the RegistryKey and can remove by using this code
key.DeleteValue("DontShowAgain");
Thank You,
Siju Thomas.