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