Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Autodetect and install QT 1

Status
Not open for further replies.

fjp476

Technical User
Dec 28, 2001
113
US
Can anybody please tell me how I can include QT autodetection and installationr on my CDs? Cheers~Frank
 
To detect quicktime try the following code, it will check for the version of Quicktime. If the version is 4 or more then the user has Quicktime, if the version is less then 4 then the user has an older version of it. If it cannot detect a version then that means that quicktime is not installed, at that point your could run the quicktime installer by using the syntax 'open("programName.exe")'. Just be sure to include the installer on the CD and point the Open command using the right path: Enough of my rambling, here's the code:


qtvNum = quickTimeVersion()

if qtvNum <> 0 then

if qtvNum >= 4 then
prompt(&quot;YOU HAVE QUICKTIME&quot;)
else
prompt(&quot;YOU HAVE QUICKTIME, BUT ITS AN OLDER VERSION&quot;)
end if

else



prompt(&quot;YOU DONT HAVE QUICKTIME&quot;)
end if



end
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top