Groups | Blog | Home
all groups > visual studio .net setup > may 2005 >

visual studio .net setup : Setup & Deployment: Patches


Mike via .NET 247
5/24/2005 8:42:30 AM
I have been racking my brain over this one, and am near the end=
of my rope=2E So, I will try my problem here=2E

We have a standard Setup and Deployment project, which is used to=
install our product onto user's servers=2E There are 2 special=
activities in this setup app - a license file is place with the=
executable, and a custom form has been inserted for creating a=
database on a SQL Server=2E The custom form triggers a custom=
setup module, with various scripts running behind the scenes=2E=
This setup works great=2E

Here's the issue: I now need to be able to patch the user's=
application=2E The 2 actions mentioned above CANNOT happen again,=
as we want the license file untouched and the database to remain=
the same=2E Only the executable needs to be overwritten=2E Please=
note that we cannot do auto-updates, because we have to assume=
that the servers this app is being installed on are disconnected=
from the Web=2E My current approach has been to try a create a=
brand new setup application, with just the executable in it=2E=
This seems to generate some headaches though, as I'm unsure of=
the right combination that should be used for ProductCode and=
UpgradeCode=2E Also, the executable refuses to overwrite=2E What is=
the best method to just have an upgrade setup app that will=
simply and effectively overwrite the executable?

--------------------------------
From: Mike

-----------------------
Posted by a user from =2ENET 247 (http://www=2Edotnet247=2Ecom/)

timmac NO[at]SPAM online.microsoft.com
5/25/2005 12:00:00 AM
Hey Mike,

This is actually a great MSI (Windows Installer) type question. This goes
in conjunction with Windows Installer Patching.
Check out the following MSDN Information to see if it helps in updating
your application. You can also do a Major Upgrade to upgrade your package
to the next version.

Support WebCast: Microsoft Windows Installer Patching
http://support.microsoft.com/default.aspx?scid=kb;en-us;325294

Patching [Windows Installer]
http://msdn.microsoft.com/library/en-us/msi/setup/patching.asp

Patching Initial Installations [Windows Installer]
http://msdn.microsoft.com/library/en-us/msi/setup/patching_initial_installat
ions.asp

Patching and Upgrades [Windows Installer]
http://msdn.microsoft.com/library/en-us/msi/setup/patching_and_upgrades.asp

Cheers,
Tim Macaulay
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights
AddThis Social Bookmark Button