Groups | Blog | Home
all groups > dotnet setup > march 2004 >

dotnet setup : How to upgrade an existing installation



Phil Wilson
3/26/2004 10:27:11 AM
Increment the Version in the product properties from (say) 1.0.0 to 1.0.1. This
will prompt to change ProductCode and PackageCode. Say Yes. Set the
RemovePreviousVersions property to True. This will give you an install that will
remove older installed versions when you install it.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Phil Wilson
3/26/2004 10:44:55 AM
More accurately, ".... in the project properties from (say) 1......."
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Asif
3/26/2004 12:39:08 PM
Hi,

I have created a setup project using .NET setup framework. Now i want to
upgrade my existing
installation.

The problem is that when setup is started on a system which already has an
installation of it ,it shows only two options, one to repair the existing
installation and another one to remove the existing installation.

Is there a way by which i can change the options inorder to upgrade my
existing installation?

Can we set reinstall option?

Thanks and Regards,
Asif

Phil Wilson
3/29/2004 9:58:49 AM
This is in the setup and deployment project.
--
Phil Wilson [MVP Windows Installer]
----
[quoted text, click to view]

Asif
3/29/2004 2:16:46 PM
Thanks for your help.
But where can i change the Product Version. I am using Visual C++.net 2003
edition.

asif

[quoted text, click to view]

maheshdara48 NO[at]SPAM yahoo.co.in
4/1/2004 6:51:57 AM
Is there any other way of changing the version number automatically
instead of changing everytime when you rebuild the application.


[quoted text, click to view]
enewman NO[at]SPAM online.microsoft.com
4/2/2004 10:04:11 PM
Sorry, there is no 'auto-increment' in VS setup projects.

-Elizabeth Newman
--------------------
[quoted text, click to view]

----
Elizabeth Newman – Visual Basic Deployment Test Team
This posting is provided "AS IS" with no warranties, and confers no rights.

DotNetJunkies User
5/16/2004 2:23:21 AM
Hi, I have also faced similar problem when trying to upgrade the an exisiting installation but the devevlopment tool I am using is visual basic 6.0 and visual installer.
I found that when there is a new upgrade of .msi, the installation only have two option 1.repair and the other is 2.remove application. Is there an method to auto remove the previous installation and install the new installation when using vb 6.0 and visual installer.


---
Posted using Wimdows.net NntpNews Component -

DotNetJunkies User
5/16/2004 7:48:33 AM
I also face this similar problem.

"The problem is that when setup is started on a system which already has an
installation of it ,it shows only two options, one to repair the existing
installation and another one to remove the existing installation.

Is there a way by which i can change the options inorder to upgrade my
existing installation?"

However, the development tool I use is visual basic 6.0 and visual installer.

---
Posted using Wimdows.net NntpNews Component -

DotNetJunkies User
5/16/2004 8:02:16 AM
"The problem is that when setup is started on a system which already has an
installation of it ,it shows only two options, one to repair the existing
installation and another one to remove the existing installation.

Is there a way by which i can change the options inorder to upgrade my
existing installation?"

I also face this similar problem and hope that someone could kindly provide me some help.

The development tool I use is visual basic 6.0 and visual installer.

---
Posted using Wimdows.net NntpNews Component -

AddThis Social Bookmark Button