CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    Germany
    Posts
    121

    Two Installation of the same Package

    Hi gurus,

    i need to know, how i can install 2 versions of the same Application (but different versions) on my machine.

    Background :

    I have written an C#-application that works fine. It's installed on my machine by publishing it via VS 2008. It shows up in ControlPanel/Software.

    Now i have modified this application and would like to install it parallel to the previous one due to testing purposes.

    When installing the newer version, i receive a message, that a different version is already installed and i should use ControlPanel/Software to remove it prior to installation of Version 2.

    But i need to have both versions installed.

    How do i accomplish that ?

    Thanks in advance!

    Jost
    If it is helpfull, please rate, if not don't rate ;-))

  2. #2
    Join Date
    Feb 2009
    Location
    Atlanta, GA
    Posts
    17

    Re: Two Installation of the same Package

    Create a new installer with new installation paths, product names, etc so nothing conflicts on the filesystem then run the second installer. On the installer you have a "ProductCode" property that determines if the application is already installed -- and your product code is the same if you the same installer twice.

    Dont just change the product code and run the installer again though because they will both try to install to the same application directory and overwrite eachother or the installer will fail if you don't replace the files.
    Scott Knake
    Custom Software Development
    Apex Software, Inc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured