Distribution Files

The distribution files are in the Build directory's tree on your local system. There is also a copy on your web or ftp server under the FTP directory, also known as the Update URL, if you prepared your installer with the advanced interface for JExpress and you opted to upload to web or ftp site when you built your project.

If you are manually uploading your files to your web site, then it is critical that you maintain the directory tree JExpress created in the local build directory. Otherwise, the HTML files that JExpress prepares and the autoupdate facility won't work.


Automatically Uploading Installers and Auto Updaters

The easiest, and most reliable, way to upload your installers, autoupdaters, and Java app is automatically. JExpress' advanced interface can copy all of your files to your web server via an ftp connection. You simply need to fill in the distribution options and add a check mark to the distribute online box on the Build panel.

We strongly recommend that if you're using the autoupdate capability that you let JExpress upload all your files for you. It is critical that you get the updates subdirectory in the correct update URL for auto-updates to work.


Manually Uploading To the Web

If you're using JExpress without the automatic online uploading feature, then you'll need to use an ftp package to upload your distribution files. We strongly recommend that you create a special directory on your site where you can create a matching directory tree as described above. In other words, you should create the same directory tree that you find in your build directory. Move all the files from your local build directory to your web site's distribution directory, preserving the directory structure. This is especially important if you use the auto-update feature in JExpress.


Manually Distributing Updates

It is critical that you create a directory on your web site which matches the update URL. For example, if you specified the URL http://www.company.com/Hello, then you'd want to create a directory under the root of your web server called Hello. Under this directory you must then create a directory called updates. Move all the files from the updates subdirectory under your local system's Build directory to the corresponding updates subdirectory on your web site.

Note: If you do not have an updates subdirectory in your local build directory, then make sure that you have selected either every time program starts or on demand and you checked the autoupdate earlier versions box.

You probably want to review the relationship between an Update URL and a ftp directory to insure that you upload your files to the correct location.


Distributing Via CD ROM

Simply copy everything, except the updates subdirectory to the CD.

If you want the CD to automatically start your installer when it's placed in a Windows machine, then be sure to copy the AUTORUN.INF file and the windows-installer exe into the CD's root directory. You'll find both of these files in the installers subdirectory of your local build directory.