Location of Custom Files

Where to save .class and external programs:

Installer: You store your custom class files, and all of its dependencies, that enhance the installer in the directory you specified on the Custom | Installer tab. If any class is part of a package, then add the package's subdirectory tree to the directory.

Updater: You store your custom classes, and all their dependencies, that customize the updater in the directory you specified in the Custom | Updater tab. If any class is part of a package, then add the package's subdirectory tree to the directory.

Uninstaller: You store your custom classes, and all their dependencies, that customize the uninstaller in the directory you specified in the Custom | Uninstaller tab. If any class is part of a package, then add the package's subdirectory tree to the directory.

If you want to run an external program, or if any of your class files need external files during the installation or updater, then these files must be included in the directory you specified. Your custom class must extract those files from the installer before accessing them. Use the following method from the com.denova.JExpress.Installer package to extract the files from the Installer:

CustomInstaller. extractFile ( "filename" );

where "filename" is the filename you want to extract. The file will be automatically deleted after the installation unless you move it to a permanent location.

Use the following method from the com.denova.JExpress.Updater package to extract the files from the Updater:

CustomUpdater. extractFile ( "filename" );

where "filename" is the filename you want to extract. The file will be automatically deleted after the installation unless you move it to a permanent location.

Be sure to recompile all of your custom classes whenever you update JExpress. If we've changed the interface to any of the low level libraries that your panel uses, it could cause your installer or updater to be unstable until your classes are rebuilt with the new JExpress.

See also,