472,980 Members | 1,640 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

Deployment only installs, refuses to upgrade or remove

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 new installations but
fails if the project has already been deployed. What I'd like for it to do
is to ask if it should upgrade/repair/uninstall. Instead, it says that the
user must remove the project before the installation can execute. What does
it take in order to get the deployment to do what I want?
==========
Richard Lewis Haggard
Nov 16 '05 #1
1 2038
Hi Richard,

"Richard Lewis Haggard" <HaggardAtWorldDotStdDotCom> wrote in message
news:e6*************@tk2msftngp13.phx.gbl...
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 new installations but
fails if the project has already been deployed. What I'd like for it to do
is to ask if it should upgrade/repair/uninstall. Instead, it says that the
user must remove the project before the installation can execute. What does it take in order to get the deployment to do what I want?
==========
Richard Lewis Haggard


Select the deployment project in the Solution Explorer and take a look
at the Properties window. There are several properties that apply to the
deployment package in general, including one named "RemovePreviousVersions".
Set it to True and your packages should automatically upgrade previous
versions during installation. The other thing you must do is update the
"Version" property for each package build. When you update the "Version"
property, you will be asked if you want to update the Package and Product
codes (you do).

Regards,
Daniel
Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Arun Bhalla | last post by:
I'm working with VS.NET 2003 and .NET 1.1 (not SP1) on Windows XP SP1. My application is using the Windows Installer Bootstrap. (I may have also installed a module which detects requirements (.NET...
1
by: Steve | last post by:
I am having an issue deploying an ActiveX control. This is a .NET project in C#. The ActiveX control is written in VB6. I use the PDW (Package and Deployment Wizard) to create a .CAB for the...
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...
0
by: Oz | last post by:
Hi We in our company build asp.net and MS SQL Server apps for deployment on clients' machines. We have created an Installer class (DBInstaller) which runs several scripts to build a database,...
1
by: Steve | last post by:
I have a few questions I hope you can help me with. 1.) I would like, when the app install to check if a previous installation exist, if so, just installs the new version over the old. I don't...
1
by: lizii | last post by:
At the moment my company have asked me to look into installations. We use pure .NET applications and although i have looked into installer programs (installshield...wise..etc) none of them are...
6
by: =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post by:
I have a installation package which installs ok when setup.exe is used, but if I try to install via msiexec, I get an error "This installation package could not be opened. Verify that the package...
0
by: johnnybluejeans | last post by:
I have an autoupdate mechanism in my software that pulls down a new installer if one is available for the software. In my deployment project I have "remove previous versions" checked off, and it...
0
OuTCasT
by: OuTCasT | last post by:
Hi. I have created a Primary setup for my application. That contains all reports and video help for the application. Reports will be created in a folder called REPORTS and help files in a folder...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.