locked
Uninstall doesn't uninstall everything RRS feed

  • Question

  • hi.

     

    i have an ordinary setup project that is build with vs 2005 and installs a windows.forms client application. the setup project does contain one custom action. this custom action copies one single file from the distribution medium to the target hard drive (incase that file exists.).

     

    after setup is complete, a file with the name 'NameOfcustomActionHere.InstallState' is located at the same place as the custom action dll.

     

    when the application is uninstalled using the control panel -> Software applet, that *.InstallState file is not beeing removed. any ideas what i am doing wrong ?

     

    WM_THXADVANCE
    -thomas woelfer

     

    Tuesday, October 30, 2007 5:08 PM

Answers

  • This custom action - it's an install custom action? Or one that happens at install time (like Commit)?  If you're going to use an Installer class custom action (they preserve state in installstate files) then you need an uninstall custom action also, so that the base Installer class Uninstall method is called.

    Tuesday, October 30, 2007 10:04 PM

All replies

  • This custom action - it's an install custom action? Or one that happens at install time (like Commit)?  If you're going to use an Installer class custom action (they preserve state in installstate files) then you need an uninstall custom action also, so that the base Installer class Uninstall method is called.

    Tuesday, October 30, 2007 10:04 PM
  • Phil,

     

    WM_THX
    -thomas woelfer

     

    Wednesday, October 31, 2007 11:37 AM