Hello Mel,
With this what i mean if i want to go back to the old way , uninstall and re-install , do i change the Version back to 25.1.0.100 ?
Please note that you can not go back to the "old way".
With this i dont get it totally, does the user have to change it ? I wouldnt want them too.
At the moment there is a Guid.. what do i need to do with that ?
Please note that this does not involve the user at all - it is you who whill change the
ProductCode when building a new version of your product.
And if they install in a new folder lets say c:\program files\ testapp how will it detect to uninstall the old and install the new ?
Please note that the upgrade process has nothing to do with the installation folder, as the detection is done through the
ProductCode and
UpgradeCode GUIDS.
Product Identification (ProductCode and UpgradeCode)
The ProductCode property is a unique GUID used to identify your application. This identifier varies from version to version of the same installer.
Unlike the ProductCode, the UpgradeCode is a GUID representing a related set of products. A set of different versions of your application will have the same UpgradeCode. This enables newer versions of your application to search and upgrade previous versions installed on the same computer.
The Windows Installer will first search the UpgradeCode and will see that we have a product with X ProductCode installed. It will compare the two ProductCode properties and will see they are different and then will verify the version to make sure it's higher.
Hope things are clearer now!
Best regards,
Catalin