CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    17

    Unhappy Deployment setup project exe is not updating while reinstalling setup in VS 2008

    Hello,
    I have a problem about Visual studio deployment setup projects in .NET of exe is not updating while reinstalling setup in Visual Studio 2008.

    I have made a deployment setup in .NET in VS2008 and setup when installed it is display in Add/Remove programs and working fine.

    But, now I have to make a setup like when reinstall it it is updates a new version and exe is latest to be updated while running a setup and withour remove setup from control panel it should work.

    For that, I have changed a setup properties like RemovePreviousVersions and DetectNewInstalledVersion property to true in UserInterface properties of setup. Version property I increment like 1.0.0 to 1.1.0 every time when I changed the exe.
    In setup folder all the dlls and exes are there.

    By changing these properties in Apllication Folder(C:\\Program Files\\Setup folder) exe is not updating when install a setup.

    Please help regarding this.

  2. #2
    Join Date
    Nov 2007
    Location
    .NET 3.5 / VS2008 Developer
    Posts
    624

    Re: Deployment setup project exe is not updating while reinstalling setup in VS 2008

    are you making user that you are building your project before you build the setup project?

  3. #3
    Join Date
    Jun 2009
    Posts
    1

    Lightbulb Re: Deployment setup project exe is not updating while reinstalling setup in VS 2008

    I found in my Visual Studio 2008 Version 9.0.21022.8 RTM Setup Project
    I needed to rebuild rather than just build the Setup Project
    Doing this resulted in a MSI/exe that would upgrade my application exe.
    With Setup Project Variables
    RemovePreviousVersion = True
    UpgradeCode remaining consistent
    Version updated (manually)
    ProductCode updated (when Verion updated)

    Application Assembly updated and File Version cleared (taking Assembly version by default)

    Best - firstmalone

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

Featured