REGISTERCLASS
element specifies a Workplace Shell class
to be registered when a package is selected for installation.
This can only be specified in a
PCK
block and defines that if
the package in which the REGISTERCLASS element appears is selected
for installation, the specified WPS class should be registered.
This element is optional, but can appear more than once per PCK
block.
If several REGISTERCLASS
elements appear, they are processed in the
order in which they are specified.
If any package with a REGISTERCLASS
element has been selected
for installation,
WarpIN will display a corresponding checkbox on the "System Configuration" page
(see the PAGE element for more on that).
Syntax:
<REGISTERCLASS CLASSNAME="classname" DLLPATH="dllpath" />
This is an empty element and must therefore be terminated with a "/"
character.
Attributes:
CLASSNAME="classname"
WPFOLDER
is not the same as WPFolder
.
DLLPATH="dllpath"
LIBPATH
, specifying the file name is
sufficient.
However, we do not recommend placing WPS DLL's on the LIBPATH
, because
this makes de-installation more difficult.
The "dllpath"
substring supports
macro resolution.
Example:
<PCK INDEX="2" ...> <REGISTERCLASS CLASSNAME="XFolder" DLLNAME="$(1)\bin\xfldr.dll" /> ... </PCK>