Results 1 to 3 of 3

Thread: Setup and deployment

  1. #1

    Thread Starter
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Setup and deployment

    I've never have any problems with making installers in VS 2005 & 2008 but in VS 2010 I'm noticing that no matter how I configure it, it will not install the new version on top of the current version of my application. I even created a new test app and am able to duplicate it, the new version does not remove the old version nor does it install the new version in any way.
    I'm running this on Win7 Ultimate x64, the testapp and installer are targeting x86.
    Installer v1.0 installs app v1.0 just fine.
    Installer v2.0 installs app v2.0 just fine if app 1.0 is not installed already.
    Installer v2.0 shows the copy file progress bar and says it completes, when I run the app it is v1.0 still.

    Anyone else have this experience?
    I've done this in VS2005 and 2008 for many apps and have never had this happen, it's definitely a VS 2010 issue.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Setup and deployment

    Are you changing the ProductCode of the Setup project?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    PowerPoster JuggaloBrotha's Avatar
    Join Date
    Sep 2005
    Location
    Lansing, MI; USA
    Posts
    4,286

    Re: Setup and deployment

    Quote Originally Posted by jmcilhinney View Post
    Are you changing the ProductCode of the Setup project?
    Yes
    I also have "RemovePreviousVersions" set to True and I tried it both being backward compatible GUID with VS 2008 generation being set to true and tried it being set to false.
    For whatever reason, the 2nd installer does not remove the first installation and does not overwrite the first installation's files.

    I'm in the process of setting up an XP VM to see if this problem is just a Win7 issue or not too.
    Currently using VS 2015 Enterprise on Win10 Enterprise x64.

    CodeBank: All ThreadsColors ComboBoxFading & Gradient FormMoveItemListBox/MoveItemListViewMultilineListBoxMenuButtonToolStripCheckBoxStart with Windows

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