Hi All,I have created a windows application using C# and Ms-Access. I have created the setup of my application, while uninstallation I want ask user Please take backup and then uninstall. Press yes to stop process and take backup and else click No to continue uninstallation.If user clicks Yes, then I want to stop the un-installation else continue the installation. I have taken the Installer class and overridden the UnInstall method. But, still though I press Yes, the application is getting un-install. Can anyone help.
`public override void Uninstall(System.Collections.IDictionary savedState)
{
DialogResult drResult = MessageBox.Show("Please take backup and then uninstall. Press yes to stop process and take backup and else click No to continue uninstallation", "Backup", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if (drResult == DialogResult.Yes)
base.Uninstall(savedState);
else
this.Rollback(savedState);
}`