473,386 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Upgrade application using Setup Deployment Project

I have a simple vb.net application that I have created a setup project for.The application is a single exe and uses an app.config filem

My question is, how do I go about upgrading the application whenever I make any updates to my code?

Within the setup project, I see I can set the installer to automatically remove the old version, but I don't really want to do that since it may overlay my custom settings in my app.config.

I really want to be able to create a setup project that will simply update the binary content of my application and keep my app.config settings. I also don't want to have do uninstall first.

I guess I'm looking for something similar to install shield's 'upgrade' option.

I've been playing with several settings and have more than confused myself...How can I accomplish this?
Aug 14 '09 #1
4 8190
tlhintoq
3,525 Expert 2GB
I have InstallShield which integrates with VIsual Studio but I presume that the built-in install maker works very similarly.

All I have to do is increase the assembly version number before making the new installer.

Right-click on the project. Choose Properties. First tab on the left pane. Then click the "assembly version" button in the right pane.
Aug 16 '09 #2
Thanks for the reply.
It seems like the last time I increased the assembly version and did nothing else, my setup project allowed me to do another install without having to uninstall first, but the 'upgrade' never updated my executable. It also added a second version of my application to the add/remove programs.

I'll change my assmbly version and re-compile, then repackage and see what happens again.
Aug 17 '09 #3
tlhintoq
3,525 Expert 2GB
@wrangler2004
I'm not expert on this, but that sounds like the GUID of the application changed. Which made it look like a completely different application.
Aug 17 '09 #4
Yep, the GUID was changing. VS recommended I change the Product id/GUID whenever I increased the version (from my setup project). When I changed the version and guiid, it did add another entry to the add/remove programs.

I tried simply changing the assembly version on my exe, then rebuilding the setup package without modifying the version and guid within the setup project and when I went to do an install I got the "setup detected a previous version of this product....you must first uninstall..." message.

I guess you can't roll out minor updates to your applications with the setup projects in VS. Maybe I should look in to InstallShield.
Aug 17 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Phil Galey | last post by:
In VB.NET you have two configurations: Debug and Release. It sure would be nice if you could point the Debug version locally like it already is and the Release version to, say, a network location...
1
by: Richard Lewis Haggard | last post by:
I'm new to C# deployment project way of doing things and have run into a problem with a deployment project that has me stumped. I've put together a deployment of a project which works just fine for...
0
by: forge | last post by:
Installing Merge Modules from C# Windows Form Application (not using a setup and deployment project) Hi, Currently, we have an InstallShield project that creates a setup.exe that only...
3
by: Marek | last post by:
Hi there, I try to make final decision on the choice of installation tool that our team should use for .NET applications. It is supposed to be robust (but not omnipotential) and well established....
1
by: LEE | last post by:
Hi I used msi to deploy application. I'd like to know if there is an easy way to upgrade the application with a new msi without unstalling but just upgrading it Thank
3
by: Nerd | last post by:
All, I am trying to deploy my .Net 2.0 web application and I am looking for the best approach. The setup and deployment project seems to copy the whole source files also. Is there a better way to...
4
by: Carly | last post by:
Hello there, Strangely enough until now I did not find any articles that describe in a "crystal clear" way how to deploy a VB.NEt application. 1. Is it mandatory to have .net framework on the...
0
by: Ashwin | last post by:
Hi, I am trying to build a Set Up and Deployment Project for my Application using Visual Studio 2005 Set up and Deployment Project. I need to install two custom applications installable as the...
6
by: =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ== | last post by:
I have an ASP.NET application that I have been deploying by using the publish option on the project which compiles the project into a directory on my machine. It has been working fine and then...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.