Well my installer installs some 3rd party msi installer silently. Now currently I'm checking the existing version by registry read method of Uninstall key (SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall{GUID}). But this leads to some problem like each time the company giving me a new updated installer, I need to change this GUID.
And yes, I cannot rely on the 3rd party company's installer upgrade method as sometimes their msi gets screwed up, so need to check for the upgrade scope manually.
Now one way to overcome this, reading the version number of that 3rd party installed files and take decision accordingly.
Is there any other way that anyone can point me?