Jump to content


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.
Photo

Finding previous version number


1 reply to this topic

kinglemur

kinglemur
  • Full Members
  • 5 posts

Posted 11 May 2007 - 21:42

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?

David

Gareth at Serif

Gareth at Serif
  • Full Members
  • 85 posts

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.

http://msdn2.microso...y/aa372379.aspx

Good luck,
Gareth