Windows 10 MSI application uninstall not working properly after windows update

  • Thread starter Thread starter Vaken Technologies
  • Start date Start date
V

Vaken Technologies

While uninstalling our MSI Application, we have shown a custom exception message when MSI application is running in the background.To show custom message we have override the installer file .namespace SampleApplication { [RunInstaller(true)] public partial class SampleInstaller : System.Configuration.Install.Installer { public override void Uninstall(IDictionary savedState) { if (AlreadyRunning()) { // custom exception we throw throw new InstallException("Sample MSI is running in background. Please close if you want to uninstall."); } else { base.Uninstall(savedState); try { //other tasks } ca

Continue reading...
 
Back
Top