A self-installing plug-in is a script file or a compiled .dll/.so that implements a function named XSILoadPlugin.