Howdy all,

I have a small app that tests for the present of QT and version. If its
lower than 5 (this is a legacy program) it launches the installer on the CD.

If the user has QT 6, the app quits and doesn't run the installer. If the
user doesn't have QT at all, it quits and runs the installer. But if the
user has version 4, it doesn't run the installer.

on exitFrame
  currentVersion = quickTimeVersion()
  gQTState = #unKnown
  if currentVersion <> 0 then
    if currentVersion >= 5 then
      gQTState = #QTPresent
    else
      gQTState = #wrongVersion
    end if 
  else
    gQTState = #notPresent
  end if 
  if gQTState = #QTPresent then
    halt
  else
    set Drive = baFindDrive( "c","\QT\QuickTimeInstaller.exe" )
    open Drive&":\QT\QuickTimeInstaller.exe"
    halt
  end if
End

If I manually set the value of #QTPresent to 4.999, the code works and
launches the installer, but on user machines, it doesn't not. So now I'm
stumped..

Any ideas or suggestions other than QT6. :)

Thanks,
John

===================================================
John R. Sweeney Jr.        ([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)      847.310.5959 (office/fax)
=================================================== 

[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 
lingo-l@penworks.com  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to