How to deploy the same project with another name.exe?
-
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 :)
-
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 :)
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.
-
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.
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
-
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
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.
-
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 :)
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