Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to deploy the same project with another name.exe?

How to deploy the same project with another name.exe?

Scheduled Pinned Locked Moved C#
csharpdatabasewpfhelptutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VisualLive
    wrote on last edited by
    #1

    Hi, last year i develop a software in c#(WPF) so i deployed it and install to the employees machine with the name softbase2011 now my company need the same software but with the new name softbase 2012and just change the graphic interface and the string of the database (because each year they use a new database because they change price and data ,it is a travel agency) but they wish keep and use also the old software (softbase2011) so when i deploy the software softbase2012 i can not install it because appear an error that advice already there is a software with the same name installed on the computer then i ask you how i can install 2 softwares just changing the name on the same computer??? Thanks so much for your attention . Cheers :)

    L D 2 Replies Last reply
    0
    • V VisualLive

      Hi, last year i develop a software in c#(WPF) so i deployed it and install to the employees machine with the name softbase2011 now my company need the same software but with the new name softbase 2012and just change the graphic interface and the string of the database (because each year they use a new database because they change price and data ,it is a travel agency) but they wish keep and use also the old software (softbase2011) so when i deploy the software softbase2012 i can not install it because appear an error that advice already there is a software with the same name installed on the computer then i ask you how i can install 2 softwares just changing the name on the same computer??? Thanks so much for your attention . Cheers :)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      If one is called softbase2011 and the new version softbase2012, then there should be no conflict. You need to investigate where the duplication exists, and correct it.

      speaking as ...

      V 1 Reply Last reply
      0
      • L Lost User

        If one is called softbase2011 and the new version softbase2012, then there should be no conflict. You need to investigate where the duplication exists, and correct it.

        speaking as ...

        V Offline
        V Offline
        VisualLive
        wrote on last edited by
        #3

        hi Richard, that's strange it says already there is a version installed on the computer but in reality the version installed is softbase2011 so i don't understand why derosn't allow me to install the new version changing the name of the app. thanks so much for your response

        L 1 Reply Last reply
        0
        • V VisualLive

          hi Richard, that's strange it says already there is a version installed on the computer but in reality the version installed is softbase2011 so i don't understand why derosn't allow me to install the new version changing the name of the app. thanks so much for your response

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          VisualLive wrote:

          it says already there is a version installed on the computer but in reality the version installed is softbase2011

          Well some element or value that you are using has the same name in both versions so you need to investigate to discover which it is.

          speaking as ...

          1 Reply Last reply
          0
          • V VisualLive

            Hi, last year i develop a software in c#(WPF) so i deployed it and install to the employees machine with the name softbase2011 now my company need the same software but with the new name softbase 2012and just change the graphic interface and the string of the database (because each year they use a new database because they change price and data ,it is a travel agency) but they wish keep and use also the old software (softbase2011) so when i deploy the software softbase2012 i can not install it because appear an error that advice already there is a software with the same name installed on the computer then i ask you how i can install 2 softwares just changing the name on the same computer??? Thanks so much for your attention . Cheers :)

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            You have to understand how Windows Installer works. Your installer had a ProductCode and UpdateCode that's the same between both versions of your app. That's why your new installer says it's already installed. Without modifying anything, your only work around is to uninstall the previous version of the app first, then install the new one. A quick "fix" to get your new installer to work would be to change the ProductCode. The UpgradeCode remains the same and this is going to tell MSIEXEC that the new app upgrades the old one.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups