Software Dependencies
If your content requires a specific browser version, plug-ins, or other software that must be installed, you can use the Dependencies entries in the cdrun.xml file to have your CD install these as needed. Each dependency is numbered from 0 to 9 and contains the following information:
Setting | Purpose |
---|---|
Component |
A DLL that must be loaded successfully for the dependency to be satisfied. |
Message |
A prompt that will be displayed if the component is missing. If FileToLaunch is not blank, the message must be a question asking the user for permission to install the software. If FileToLaunch is blank, the message should be an error message. |
FileToLaunch |
Program to execute if the component is missing (if blank, nothing will be launched). If the required software is on the CD, this should be the path to the executable, relative to the top folder on the CD. |
ErrorPage |
An HTML file to open if the dependency cannot be satisfied. This can contain links to a web site to download the required software. |
Example: Displays a warning message if the SampleComponent.dll is not installed.
<Dependency0>
<Component>SampleComponent.dll</Component>
<Message>SampleComponent.dll is not installed</Message>
<FileToLaunch></FileToLaunch>
<ErrorPage>browserError.html</ErrorPage>
</Dependency0>