Put your logo here!

TOC PREV NEXT



setPackageFolder

Sets the default package folder.

Method of

Install

Syntax

 void setPackageFolder (
   Object folder); 

Parameters

The setPackageFolder method has the following parameter:

folder An object representing a directory. You create this object by passing a string representing the directory to the getFolder or getComponentFolder method.

Returns

None.

Description

The setPackageFolder method to set the default package folder that is saved with the root node. When the package folder is set, it is used as the default for forms of addFile and other methods that have an optional localDirSpec parameter.

You should only call this method once, and you should always call it immediately after you call initInstall. If you call setPackageFolder multiple times, the last folder set is the folder that is saved in the Client Version Registry and used as the default for other installations.


Netscape Communications
devedge.netscape.com
TOC PREV NEXT