The cdrun.xml File

The cdrun.xml configuration file controls the behavior of cdrun.exe, which is the program launched to view a CD created with dtSearch Publish.  Each of the option settings in cdrun.xml is explained below.

<?xml version="1.0" encoding="UTF-8" ?>

<dtSearchCdSettings>

    <UseLocalBrowser>1</UseLocalBrowser>

    <ServerToLaunch>root\data\lbview.exe</ServerToLaunch>

    <Dependency0>

        <Component>ws2_32.dll</Component>

        <Message>A newer version of Internet Explorer or Netscape is needed.</Message>

        <FileToLaunch></FileToLaunch>

        <ErrorPage>apache\browserError.html</ErrorPage>

    </Dependency0>

</dtSearchCdSettings>

 

ServerToLaunch
To start the HTTP web server from the CD, cdrun executes the dts_svr.exe program. dts_svr.exe then launches the browser with the start page for the CD (default.html or index.html).  dts_svr.exe will automatically close when the user closes the browser window.  If UseMicroweb is true (see below) then ServerToLaunch should be set to root\data\microweb.exe

UseDefaultServer
UseMicroweb
UseLocalBrowser

Specifies the interface type for the CD.

Dependency0
Up to 10 dependencies, numbered from 0 to 9, can be included in a cdrun.xml file, specifying components or programs that must be installed for the CD to work. See "Software Dependencies" for information on the contents of this section.