DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Developing for DMI-enabled systems

Installing your component

When a user installs your product into their system, your installation process is responsible for incorporating the component MIF file into the existing MIF database (or for putting it into the MIF subdirectory, if the Service Provider is not running).

The DMI procedure library, libdmi2api.so, includes the database administration functions DmiAddComponent(3dmi) and DmiAddLanguage(3dmi). Your setup program can use these functions to add your component's MIF file(s) to the MIF database. These procedures also determine whether the Service Provider is running. This library is included with this package and is documented in Intro(3dmi).

This package includes some examples of installing your component's MIF into the MIF database; these code samples are explained in ``DMI 2.0 code samples''.


Next topic: Uninstalling your component
Previous topic: Instrumentation development

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004