The Distribution Unit Archiving Utility (dubuild) writes an Open Software Distribution (OSD) file and places it in a cabinet file archive with any specified contents.
Use one of the following commands to run dubuild:
dubuild <filename>.cab [drive:][path] [options]
dubuild @<file>
filename.cab | Specifies the Distribution Unit (DU) file name. |
drive:path | Specifies the source path to the files that are included in the archive. |
options | One or more dubuild options. |
@file | A file that lists command-line parameters to be used by dubuild. |
/B /D /H or /? /I /M /N /P /S /V /VD /VN /VP /X /Z
The dubuild utility creates DUs, split distribution units and registers ActiveX controls as JavaBeans. The dubuild utility is similar to cabarc, but uses the OSD manifest instead of .inf files. Dubuild and DUs are used only by Internet Explorer 4.0 or later.
Any command-line parameters may be specified from a file by using the @file argument.
The {BeanInfo} syntax is as follows:
/B package,class,regmode,progid,guid,iconfile,flags,tlbguid, tlbfile,bitmap32
The arguments must be in the previous syntax order and cannot contain any spaces. If you exclude parameters, do not use spaces between comma separators. For example, if you do not want to include an icon file, you would use the following syntax:
C:\..\>dubuild /B pkg,cls,regmd,pid,guid,,flags,tlbguid,tlbfile,bit32
Simple Bean identification can be done by supplying only the package name and the class file name. ActiveX registration requires regmode and at least the GUID argument, as well.
\\Simple Registration C:\..\>dubuild /B com.mycompany.net,Connect.class \\Full Registration C:\..\>dubuild /B com.mycompany.net,Connect.class,ActiveX, MycompanyNetConnector,{FCOCF5C5-06DA-11d1-8F36-00C04FD8FF5E}, com\mycompany\net\Connect.ico,1, {FCOCF5C6-06DA-11d1-8F36-00C04FD8FF5E}, com\mycompany\net\Connect.tlb, com\mycompany\net\Connect.bmp
Creating and Using Distribution Units