Packaging Your Device Driver

 
 
 

To distribute the device driver, you need to create an Add-on package and add your files to it.

To share your custom device driver with others, you can package it with its support files (if required) in an *.xsiaddon file for easy deployment. Along with the library or script file containing the implementation of the device, you might also want to include any of these files:

File Type

Description

*.xsidevice

The device description file. See the following To package a device driver plug-in section for instructions about how to add this file to your add-on package.

*.dll/so file or *.vbs/js/pls/py

Any support files (for example, extra libraries) that the device might need to call while running.

*.spdl file and/or *.preset file

If you call a dialog or any custom property page in your implementation that must remain in the scene, you need to provide a SPDL file with the definition and a preset file to create the dialog, or a self-installing custom property.

For more information on self-installing properties, see Custom Properties.

*.html/htm/chm/hlp (or ReadMe.txt file)

If you provide a help page (or site), you must package it with the rest of your device.

*.jpg/gif/bmp/ico

Any image files that are required for the dialogs or help pages.

To package a device driver plug-in

  1. Select File Add-on Package.

  2. Click Others in the Type list.

  3. Click Add to select your library file and .xsidevice file.

  4. In the Installation Sub-Directory box, specify one of the following paths:

    • For Windows: Application\bin\nt-x86-64

    • For Linux: Application/bin/linux/x64

Creative Commons License Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License