Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > Get the original upgradeCode that was used to install a pervious version
 

Get the original upgradeCode that was used to install a pervious version

Hello,

C# 2005 SP3

Is it possible to retrieve the pervious upgradeCode that was used to install the same application?

I have given our application to many or our clients.

They install our application using the MSI.

Everytime I release a new version for bug fixes or minor upgrades. In the setup project properties I increment the version number and change the product code (I always leave the same upgrade code). And I set the 'RemovePreviousVersion' to true.

However, a few weeks ago, I accidently changed the upgradeCode and released a new version to our customers. It was only now that a customer wanted to know why they have other instances of the same application in their 'add remove programs'. It installs ok, but they have to uninstall the previous version.

I am wondering is it possible to get back the original upgrade that was used to install those versions. As I used the same setup project, I no longer have that upgrade code?

I still have all my original setups.exe that were built with the original upgradecode, but I am not sure if they can help me.

Many thanks for any suggestions,

steve1_rm  Wednesday, July 29, 2009 8:00 AM
If you still have copies of all of the MSI files that you have shipped, get hold of Orca and use it to open each of the MSI files. The table names are on the left, go to the Property table and look for UpgradeCode in the list of properties.
Phil Wilson
  • Marked As Answer bysteve1_rm Friday, July 31, 2009 6:48 PM
  •  
PhilWilson  Thursday, July 30, 2009 8:06 PM
If you still have copies of all of the MSI files that you have shipped, get hold of Orca and use it to open each of the MSI files. The table names are on the left, go to the Property table and look for UpgradeCode in the list of properties.
Phil Wilson
  • Marked As Answer bysteve1_rm Friday, July 31, 2009 6:48 PM
  •  
PhilWilson  Thursday, July 30, 2009 8:06 PM

You can use google to search for other answers

Custom Search

More Threads

• help with setup and prerequisites
• How to create installation package
• .NET installation check - special case
• Changing the .config file name in WinForm application
• ClickOnce and System.Data.Entity and GAC
• WSUS Install Fails; There is a problem with this Windows Installer package.
• SDK - CertMgr.exe
• error establishing a connection to my database
• How to create Package and Deployment Wizard
• Publishing Windows Application developed using Visual Studio 2005 and SQL Server 2005