Ok here is what I have:
This class is called as an uninstall Custom Action in my setup project.Code:[RunInstaller(true)] public class Start:Installer { public Start():base() { } // Override 'Uninstall' method of Installer class. public override void Uninstall(IDictionary mySavedState) { if (mySavedState == null) { Console.WriteLine("Uninstallation Error !"); } else { MessageBox.Show("uninstalling now"); base.Uninstall( mySavedState ); } } } }
Now...how do I get the MessageBox to show? Where the messagebox code is now I once had much more code but I was receiving a savedstate error ("The savedState dictionary contains inconsistent data and might have been corrupted"). I then moved the code after the base uninstall, but it was never getting executed.
Any help would be great.


Reply With Quote