The persistence of his choice is managed with Java Preferences class which stores its values in the registry under Windows. In Sweet Home 3D, the user may change the language used in the graphic interface with the preferences panel displayed when he selects the File > Preferences menu item. installing the program in unattended mode to speed up its deployment in.translating the text of the special options added to the installer,.offering to delete program and configuration files during uninstallation,.offering special options when the program is installed on a USB key,.downloading some optional files like archives containing 3D models,.offering to download and install an optional program like the Furniture Library Editor,. ![]() configuring the max memory amount used by the program from the RAM available in the computer,.keeping the language chosen at installation as the default language of the program,.Last week, I explained how to build an installer with install4j for Sweet Home 3D, that would behave as the one distributed on the web site of the program.īut Sweet Home 3D and install4j provide some options that could be nice to offer to end users at installation time like: Once I retrieve all these files, I copy the ones required by Java 3D in a lib subdirectory of Install directory and reorganize them to avoid any name conflict. Under Mac OS X, Java 3D works thanks to JOGL library, that I download too. Each of these zipped files contains a j3d-jre.zip file, and each j3d-jre.zip file contains the three j3dcore.jar, vectmath.jar and j3dutils.jar files which are the same as the Windows ones I have already, plus some DLLs like libj3dcore-ogl.so under Linux that I have to keep. Therefore, I download Java 3D zip binaries for Mac OS X, Linux 32 bits and Linux 64 bits at Java 3D release builds page. It’s a little more complicated for Sweet Home 3D since it requires different Java 3D DLLs for different platforms. If an application shares the same list of files (which is generally the case), I would just have to create a different media for each targeted operating system with its dedicated JRE. Since install4j is a Java program itself, it’s easy to prepare installers for each operating system where JVMs are available. ” in Auto-Update Options tab of the Installer screen. To prepare future updates, I have to decide in this version where I’ll host the updates.xml file. For the version 3.0 of the installer, this file looks like this: Each time an installer is built, install4j creates a default updates.xml file in the output directory, and when a new version will be available, I’ll just have to upload that file along with the new version of the installer. The auto-update feature is informed about the availability of a new version thanks to an updates.xml file I’ll have to host at a specified URL. As I want to provide auto-updating without modifying the Sweet Home 3D source code at this moment, I’m going to set options in install4j that will check if a new version of the program is available when the program is launched. Install4j offers various ways to check whether updates are available and to manage the launching of the updater. Finally, I’ll provide all the nice options that install4j offers for Mac OS X and Linux users by creating a cross platform installer. ![]() As install4j includes an auto-update feature, I’m going to use it to update Sweet Home 3D when a new version is released. But a program lives, and more and more users are used to getting program updates automatically. In the two last articles, I showed how to build an installer with install4j for Sweet Home 3D, then improve it with various options.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |