To redistribute the MIL or MIL-Lite DLLs and device drivers under Linux, you can have your application's setup program call MIL or MIL-Lite's redistribution setup program using the interactive redistribution mechanism. In this case, your customer will be prompted for information during the setup. There are two ways to implement this mechanism.
To redistribute the MIL or MIL-Lite DLLs and device drivers and use the default installation options, perform the following:
Copy the MIL_X.X-YYYY_Installer.run file from the MIL or MIL-Lite DVD to your installation directory, where X.X is the version number and YYYY is the build number. The MIL_X.X-YYYY_Installer.run file is a packed file that includes all MIL files to install.
Have your redistribution program call the MIL_X.X-YYYY_Installer.run file, located in your installation directory.
The MIL_X.X-YYYY_Installer.run program will prompt your customer to choose which features to install. The very first question asked is "Do you want to install the development components?". If your client is installing MIL from your application's installation program, they should answer no to this question.
To limit the content of the MIL or MIL-lite DVD to include in your application's installation directory and restrict the installer options, you must generate a new MIL_X.X-YYYY_Installer.run file that only includes the required components. To do so, perform the following:
Launch the MIL_X.X-YYYY_Installer.run program, located on your MIL or MIL-Lite DVD, with the -- --redist option.
The Matrox Imaging Library Redistribution dialog box is presented.
Specify the location of the MIL_X.X-YYYY_Installer.run file to copy to your installation directory. To do so, click on the Browse button next to the Source edit field. From the presented Open dialog box, select the MIL_X.X-YYYY_Installer.run file located in the root of your MIL or MIL-Lite DVD, and then click on the Open button.
Specify the location of where to write your newly generated MIL_X.X-YYYY_Installer.run file. To do so, click on the Browse button next to the Destination edit field. From the presented Choose folder dialog box, select your destination directory, and then click on the Select button.
Select the Linux distribution, and the Matrox imaging boards that you want to make available to your customer during installation. Note that if your customer is not using a hardware license-key or a hardware ID key, you can deselect the Wibu (Hardware Key) option to avoid copying the Wibu driver to your installation directory.
Click on the Generate button to begin building the new MIL_X.X-YYYY_Installer.run file in your destination directory.
Have your redistribution program call the newly generated MIL_X.X-YYYY_Installer.run file, located in the specified destination directory.
The MIL_X.X-YYYY_Installer.run program will prompt your customer to choose which features to install from the features that you have made available.
In Linux, MIL drivers are compiled during the installation process. If you are generating a redistribution file for a deployment that includes Matrox imaging boards, you must ensure that the driver compilation environment exists on the client computer.