Setup Project: Backup Files

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Amy L.

    Setup Project: Backup Files

    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


  • David Guyer [MS]

    #2
    RE: Setup Project: Backup Files

    You really can't "backup" the old version. You can have Version2 install
    to a different directory, or you can turn RemovePreviousV ersions 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.
    --------------------[color=blue]
    >From: "Amy L." <amyl@paxemail. com>
    >Subject: Setup Project: Backup Files
    >Date: Sat, 8 Nov 2003 23:27:40 -0500
    >Lines: 13
    >X-Priority: 3
    >X-MSMail-Priority: Normal
    >X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
    >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
    >Message-ID: <ecmlQnnpDHA.27 76@tk2msftngp13 .phx.gbl>
    >Newsgroups:[/color]
    microsoft.publi c.dotnet.framew ork.setup,micro soft.public.dot net.languages.c s
    harp[color=blue]
    >NNTP-Posting-Host: ny-lackawannacaden t1a-lac-a-178.buf.adelphi a.net[/color]
    68.69.92.178[color=blue]
    >Path: cpmsftngxa06.ph x.gbl!TK2MSFTNG P08.phx.gbl!tk2 msftngp13.phx.g bl
    >Xref: cpmsftngxa06.ph x.gbl microsoft.publi c.dotnet.langua ges.csharp:1977 01[/color]
    microsoft.publi c.dotnet.framew ork.setup:6343[color=blue]
    >X-Tomcat-NG: microsoft.publi c.dotnet.langua ges.csharp
    >
    >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
    >
    >
    >[/color]

    Comment

    Working...