473,396 Members | 1,966 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,396 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 2072
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.