Thomas wrote:

> Isn't this a bit overhead, if you are using Visual Studio 
> .NET (Which I
> assume since the origin of this thread mentioned project files)

Yes. Just pointing it out though.

Then he commented:

> But I still have some problems with deployment of the web 
> projects. I am not
> personally that keen on just using xcopy, so I use a web 
> setup project to
> deploy the files. However it annoys me, that even MS has 
> stated, that if you
> use the MSI install approach, you should be able to "upgrade" 
> an existing
> solution by using the MSI package. Well I haven't succeeded 
> with this so
> far, I still have to uninstall the previous web app, before 
> upgrading to the
> new one.

This has confused me a bit too. You are supposed to change the
ProductCode and the PackageCode for the project but leave the
UpgradeCode the same to get this to work (by setting
RemovePreviousVersions to true). Yet from my experience there is no
property extant for the PackageCode - you can only regenerate the
ProductCode as far as I can see from the VS builder. However changing
the ProductCode seems to change the PackageCode OK.

Essentially if you attend to all that AND ensure (from AssemblyInfo)
that the version is different then this just about seems to take care of
the upgrading thing - though I would prefer a dialog that referred to
upgrading when you ran the new package. Note also I am only deploying
WinForms this way but hope it is the same.

HTH,
Iain
 
Disclaimer
This message may contain information which is legally privileged and/or
confidential.  If you are not the intended recipient, you are hereby
notified that any unauthorised disclosure, copying, distribution or use
of this information is strictly prohibited.  Such notification not
withstanding, any comments or opinions expressed are those of the
originator, not of Taylor Made Computer Solutions, unless otherwise
explicitly stated.
 
 

---
You are currently subscribed to dotnet as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

---------
Administrated by 15 Seconds : http://www.15Seconds.com
List Archives/Search : http://local.15Seconds.com/search
Subscription Information : http://www.15seconds.com/listserv.htm
Advertising Information: http://www.internet.com/mediakit/


Reply via email to