Results 1 to 8 of 8

Thread: removing previous installation on install

  1. #1

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    removing previous installation on install

    I added a new "Project Setup" from setup and deployment. I choose "true" for RemovePreviousVersions. I built the solution and installed my app. I then changed the ProductCode to the UpgradeCode and built the solution again and installed again. but when I went to add/remove programs (in the control panel) I had to versions of my app installed. What do I do so the program will delete previous installations when upgrading?

  2. #2

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Re: removing previous installation on install

    bump

  3. #3
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: removing previous installation on install

    Which language and setup tool are you using?
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  4. #4

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Re: removing previous installation on install

    I am using vb.net (visual studio 2008) and the deployment is from the VS, used as posted above.
    Last edited by Blacknight; Feb 9th, 2010 at 01:19 AM.

  5. #5
    Lively Member
    Join Date
    Dec 2005
    Location
    UK
    Posts
    127

    Re: removing previous installation on install

    dont change the name of your project !

    and make sure your application is named correctly

  6. #6
    Fanatic Member namrekka's Avatar
    Join Date
    Feb 2005
    Location
    Netherlands
    Posts
    639

    Re: removing previous installation on install

    Change the version number in the property of the setup project and RemovePreviousVersions. Then it works fine.

  7. #7
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: removing previous installation on install

    Hey Blacknight,

    Did the above work for you?

    Gary

  8. #8

    Thread Starter
    Hyperactive Member Blacknight's Avatar
    Join Date
    Nov 2002
    Posts
    381

    Re: removing previous installation on install

    nope. it didn't erase the previous version. When I went to the control panel > add/remove programs there were still two versions of my program.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width