In a minor update, I want to condition a custom action on the version number of the existing (previous) installation. Is there a reasonably painless way to get this version number, or do I have to go sifting through the Install registry?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Finding previous version number
1 reply to this topic
Posted 14 May 2007 - 10:15
You can use the FindRelatedProducts action to find any app/version range without having to uninstall it as defined in your Upgrade table. Just set the Remove attribute to "no" and set the others to detect the package you want. You can then use the results to conditionalise your CA.