Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Redeploy C# .net Application

Status
Not open for further replies.

AHint

Programmer
Sep 12, 2003
20
GB
I have a simple C# application with just an exe. I have added a setup project creating my .msi file and than ran this to install the application. After making changes and then recompiling my setup project. If I try and run the new .msi file I get an error message saying "Another version already installed. To config or remove exisiting version use Add/Remove Progs on ctrl panel."

I could obviously get round this by just copying and pasting my .exe but I would like to do it through the .msi file. Is this possible? If so, how?

Thanks in advance!
 
The packages use codes to identify themselves. When you make a change, by default, the package generates a new code not to overwrite the old software. You can try to copy and paste the old one back after you make your modifications and see if it will think it's the same package... otherwise, you will need to add the package once more to the GPO cause the old one will not find the same MSI to uninstall the current one.

It's by design and if you think of it a bit, it's a good thing it works that way.



"In space, nobody can hear you click..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top