468,548 Members | 1,936 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,548 developers. It's quick & easy.

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 1895
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Arun Bhalla | last post: by
1 post views Thread by Steve | last post: by
reply views Thread by Oz | last post: by
1 post views Thread by Steve | last post: by
1 post views Thread by lizii | last post: by
6 posts views Thread by =?Utf-8?B?Qm8gTWNJbHZhaW4=?= | last post: by
OuTCasT
reply views Thread by OuTCasT | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.