printstaya.blogg.se

Busycal reminders still happening after uninstall
Busycal reminders still happening after uninstall






busycal reminders still happening after uninstall

Public: virtual void Install( IDictionary^ savedState ) override this->AfterUninstall += gcnew InstallEventHandler( this, &InstallerClass::After_Uninstall ) this->AfterInstall += gcnew InstallEventHandler( this, &InstallerClass::After_Install ) Public ref class InstallerClass : public System::Configuration::Install::Installer I have made custom actions for Install, Commit, Rollback, and Uninstall and here is the code I am using. AfterInstall executes every time running the code I've written, but the AfterUninstall event is never raised. Why would this method not be called by the uninstallation process of the MSI? I have tried using the event methods as well AfterInstall and AfterUninstall. I know this because I have placed a call to Debugger::Break() in the begin of the method's definition. The problem is the the Installer class never calls the Uninstall method. There I written code to remove the registry keys and values the application creates and the left over files in the installation directory of the application. Problem 2: In attempts to overcome the failings of the MSI uninstallation process I've overridden the Uninstall method of the installer class.

#Busycal reminders still happening after uninstall install#

When I uninstall my application, I am left with the application's main executable and the install state file from the custom actions of the installer. In my case this is true for the most part. Problem 1: Everything I've read on MSI installations is that everything that is installed by the setup and deployment project should be removed upon uninstallation. Foreword: For my project I am utilizing the Installer class for two things, 1) the Install method saves the installation location of the application in the IDictionary object (.installstate file), and 2) to clean up registry keys and values that were created by the application and any folders and files left behind by the MSI.








Busycal reminders still happening after uninstall