Re: uninstalling previous app version

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • solburn
    New Member
    • Jan 2007
    • 1

    #1

    Re: uninstalling previous app version

    The initial thread is here: http://www.thescripts.com/forum/thread336476.html

    The answer is here: http://www.knowdotnet.com/articles/autouninstall.html

    When you change the Major, Minor, or Revision version for your Setup Project, you should get a pop up saying "It is recommended that the ProductCode be changed if you change the version. Do you want to do this?". Say yes, as it will generate a UID for the ProductCode for you.

    Here's something related too. There is a patch for VS 2005 that is required for versioning using VS 2005 and a Setup Project. The info is here: http://support.microsoft.com/?kbid=917036

    You will have to contact MicroSoft to actually get the fix.

    Hope this helps!
  • ricardovj
    New Member
    • Jan 2008
    • 1

    #2
    This is an issue that haunted me for a few hours and this article helped me solve it.

    To sum it all up, this is what you need for your new setup project to overwrite an existing installation:

    - Change the ProductCode
    - Changed the Version
    - Set RemovePreviousV ersion to true
    - IMPORTANT: Keep the same upgrade code of the old installation (if you don't know what it is you need to open the old MSI in Orca and look at the Property table, which lists the UpgradeCode).

    Good luck!

    Ricardo

    Comment

    Working...