VB.NET School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 300,441 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 1,481 people online right now. Registration is fast and FREE... Join Now!




Setup & Deployment

 

Setup & Deployment

mishipal

2 Jul, 2009 - 03:03 AM
Post #1

D.I.C Head
**

Joined: 4 May, 2009
Posts: 77



Thanked: 1 times
My Contributions
I made a setup using setup project.... the problem is that the application does not update itself to a newer version.
But when i use publish method, then the application updates itself to a newer version.

What may be the problem...?

User is offlineProfile CardPM
+Quote Post


Luc001

RE: Setup & Deployment

2 Jul, 2009 - 04:07 AM
Post #2

D.I.C Head
**

Joined: 4 May, 2009
Posts: 147



Thanked: 12 times
My Contributions
Hi,

If you decide to create your own setup, you may find that it's a real pain to use Add/Remove Programs in Windows Control Panel before each test of your setup. If you simply add one to the setup project Version property (that is, if it's 1.0.1, then change it to 1.0.2), you will be asked if you want to change the ProductCode property too. Click 'Yes' and the new setup will install over the old system. There's a lot of misinformation about this (including some at the official Microsoft MSDN site). This worked with my install of VB.NET 2005!

In addition, the default for Visual Studio .NET is to not rebuild the setup project when the entire solution is rebuilt. To change this and build both the application and the setup project when the solution is rebuilt, right-click the solution in Solution Explorer and select Configuration Manager. Click the Build check box for the setup project.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/8/09 01:18AM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month