setPackageFolder
Sets the default package folder.
Method of
Syntax
void setPackageFolder ( Object folder);Parameters
The
setPackageFoldermethod has the following parameter:
folderAn object representing a directory. You create this object by passing a string representing the directory to the getFolderorgetComponentFoldermethod.Returns
Description
The
setPackageFoldermethod 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 ofaddFileand other methods that have an optionallocalDirSpecparameter.You should only call this method once, and you should always call it immediately after you call
initInstall. If you callsetPackageFoldermultiple 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 |