You are on page 1of 7

w w w . i n d i g o r o s e .

c o m

TUTORIAL: Detecting and Installing QuickTime

Article ID: IRKB-AM3-000003

The information in this article applies to:


AutoPlay Menu Studio 3.0
Apple QuickTime

Summary
This tutorial will show you how to detect if Apples QuickTime is installed on a users
computer and how to allow them to install it.

Tutorial
Welcome to the Detecting and Installing QuickTime tutorial. This tutorial shows you, step-
by-step, how to detect and install QuickTime from your AutoPlay Menu Studio 3.0 menu.
Many multimedia developers create software that depends on Apple QuickTime being
properly installed on a users system in order for their software to operate correctly.
AutoPlay Menu Studio makes it easy to detect and install QuickTime to accomplish this task.

Step 1 Put the QuickTime Installer in Your Virtual CD-ROM Folder


The first step is to include the QuickTime installer with your menu. To do this, we need to
copy the installer file to Your Virtual CD-ROM folder.

NOTE: You must have proper permission to re-distribute QuickTime. This document
assumes that you have obtained permission to do so. Please consult
http://www.apple.com/quicktime for licensing details.

1. If you do not already have a Virtual CD-ROM folder, create one on your hard drive
called C:\Virtual CD.
2. Copy the QuickTime installer to the Virtual CD-ROM folder.

IRKB-AM3-000003 - Page 1 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.
Step 2 Tell AutoPlay Menu Studio to Detect the Installed QuickTime Version
Now we will actually tell AutoPlay Menu Studio that we want our menu to detect the
installed version of QuickTime on the users system.

1. Start AutoPlay Menu Studio and choose Empty Project from the Project Template
Gallery screen.
2. Select Project | Settings from the menu. This will open the Project Settings
screen.
3. Set the Virtual CD-ROM Folder field to C:\Virtual CD (or whatever folder you are
using.
4. In the Special Variables section, check the Initialize %QTVersion% option.

5. Click OK accept the changes.

By checking the Initialize %QTVersion% option, we have told the menu to determine the
QuickTime version and store the result in a variable called %QtVersion%. If we did not turn
this option on, the %QTVersion% variable would not contain useful information at runtime.

Step 3 Create an Object that Will Install QuickTime


Now we will create a Text object that will run the QuickTime installer.

IRKB-AM3-000003 - Page 2 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.
1. Select Object | Text to create a new Text object. This will open the Text Object
Properties screen.
2. In the Message field, enter Install QuickTime.

3. Select the Actions tab.


4. Make sure that the Mouse Click event is selected.
5. Click the Add button and choose Execute | Execute Program to insert a new
command.
6. In the File Name field, click the browse button and choose the QuickTime Installer
file from your Virtual CD-ROM.

IRKB-AM3-000003 - Page 3 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.
7. Select the Attributes tab and set the Object Name to InstallQT.
8. Click OK to create the new Text object.
IRKB-AM3-000003 - Page 4 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.
9. Re-position the object to the middle of the screen.

Now preview the menu. Notice that you can click on the Install QuickTime object to run
the QuickTime installer.

Step 4 Hiding the Object if QuickTime is Already Installed


Now we will make the menu hide the Install QuickTime object if QuickTime is already
installed.

1. Select Page | Properties from the menu. This will open the Page Properties
screen.
2. Click the Actions tab and make sure that the Open event is selected.
3. Click the Add button and select Pages | Hide Object. This will create a new action.
4. In the Object Name property, select InstallQT.

IRKB-AM3-000003 - Page 5 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.
5. Click the Click to Edit button beside the Boolean property. This will open the
Boolean Conditions screen.
6. Click the Add button to open the Condition screen.
7. Enter %QTVersion% as Value A, Greater than or equal as the Operator and
400 as Value B.

8. Click OK to create the new condition.

IRKB-AM3-000003 - Page 6 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.
9. Click Close to close the Boolean Conditions screen.
10. Click OK to accept the changes and close the Page Properties screen.

Now we have an action that will hide the Install QuickTime object if the installed
QuickTime version on the users system is greater than or equal to 4.00. Of course, you
can set that to any QuickTime version that you want.

Preview the project again and you will see that the menu should show the Install
QuickTime object if QuickTime 4.00 or greater is not installed and hide it if it is.

More Information
The best place to go for more help about AutoPlay Menu Studio is the online help file that
ships with the product. For more information about QuickTime, please see Apples Web site.
All of the products features are covered in much more detail there. If you have any
questions, please contact: support@indigorose.com.

IRKB-AM3-000003 - Page 7 of 7
Last Reviewed: September 14, 2000
2000 Indigo Rose Corporation. All Rights Reserved.

You might also like