John:
If I understand you correctly, you're going to be installing QT6 on a machine that doesn't have QT5 or higher yeah? So why not simplify your code to just check the quickTimeVersion against 5 then install if need be? The logic checks that you have seem a little over the top as you really only have two states the user will be in: they've got QT5 or above, or they don't.
on exitFrame
currentVersion = quickTimeVersion()
if currentVersion < 5 then
-- do your installer bit here
else
gQTState = #QTPresent
end if
end exitFrameIs gQTState a global variable? And if you're shipping QT6 with the project why, not just update everybody to QT6 anyway?
Ross
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
