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

Version detection


1 reply to this topic

WinstonOBoogie

WinstonOBoogie
  • Members
  • 1 posts

Posted 27 May 2002 - 19:10

We are trying to do a compare on the registry values for QuickTime. We are able to retrieve these values but they are DWORD (hex) values and Installshield first translates them to decimal and then to string.

When comparing current value to a higher version the compare fails because of the problems associated with comparing 'numeric' strings.

Anyone know how to get around this without resorting to writing a DLL?

Irina

Irina
  • Members
  • 227 posts

Posted 28 May 2002 - 15:54

Hi,
You can split the version string by dots and compare as a string with the higher version in InstallScript.
Irina Shirinsky
Software Engineer, Heroix Corporation
http://www.heroix.com