Groups | Blog | Home
all groups > c# > november 2003 >

c# : Setup Project: Backup Files


Amy L.
11/8/2003 11:27:40 PM
I have a project that is deployed using a MSI. When the user attempts to
install a new version of the program I require them to remove the existing
version first.

Is it possible to do the following
1.) Instead of having the user remove the program from the "add/remove
programs menu" have my setup project copy the existing version to a backup
directory?

Thanks
Amy

davguy NO[at]SPAM online.microsoft.com
11/13/2003 9:01:22 PM
You really can't "backup" the old version. You can have Version2 install
to a different directory, or you can turn RemovePreviousVersions on the
Setup project to True so that it uninstalls the previous verison. If you
do this, you need to keep the UpgradeCode the same, but change the
ProductCode and Version.

---
David Guyer - VBQA Deployment Testing
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
[quoted text, click to view]
microsoft.public.dotnet.framework.setup,microsoft.public.dotnet.languages.cs
harp
[quoted text, click to view]
AddThis Social Bookmark Button