|
SYS-CON.TV Webcasts
Comments
Did you read today's front page stories & breaking news?
SYS-CON.TV
|
Top Links You Must Click On
Product Reviews InstallAnywhere 5 Enterprise Edition
by Zero G Software, Inc.
InstallAnywhere 5 Enterprise Edition
by Zero G Software, Inc.
By: Jason Brown
May. 1, 2003 12:00 AM
Creating cross-platform applications has always been a challenge. Java can insulate us from much of the hassle during application development, but often the particulars of each platform become painfully acute when distributing the application to a host of varied platforms. Most commercial installer programs support only one platform, which leads developers to support multiple installers on multiple platforms (using multiple products from multiple vendors). Fortunately, several Java installer applications exist in the market and are robust enough to deal with many of the particulars of platform-specific functionality within a unified code base.
Product Description
Installation and Setup
Creating Installers InstallAnywhere uses two different schemes for installer creation: Wizard and Advanced Designer. The Wizard scheme is good for straightforward applications that don't need to customize the end user's environment (i.e., set environment variables, change registry settings, etc.). As shown in Figure 2, the Wizard offers a simple interface in which you can set the name of the application and installer, set classpaths (if you're installing a Java application), and choose which platforms you want to build installers for. Thus, you can create a multiplatform installer in under 10 minutes, assuming your installer needs are relatively uncomplicated. InstallAnywhere's Advanced Designer, on the other hand, is more complex yet more powerful than the Wizard. As shown in Figure 3, the Advanced Designer allows you to create custom panels, execute scripts, set environment variables, and even call your own custom Java code. It is through the Advanced Designer that you can begin to tackle those tricky and arduous cross-platform issues, especially if you're attempting to achieve a unified code base for your installers. For instance, the Advanced Designer has an action to set an environment variable on the end user's platform (in InstallAnywhere parlance, "actions" are functions that the installer can perform). All you need to do is provide a name and value for the environment variable and InstallAnywhere takes care of the platform-specific details of actually setting it. Similarly, the "Create Alias, Link, Shortcut" action can create a link in a platform-independent location ("Desktop"), or it can be created in a platform-dependent location (Mac OS X Dock, Windows Start menu). In addition, the Advanced Designer handles several Windows-specific actions such as reading and writing to the registry and starting and stopping services. When you find that your requirements call for functionality is beyond what is available through InstallAnywhere's standard actions, you have the option of incorporating "custom code" into your installer. Custom code consists of classes that you write in Java that extend InstallAnywhere's functionality and can be run at install or uninstall time. Also, custom code runs in the same VM space as the installer, and thus allows you to get and set runtime InstallAnywhere variables. You can create custom actions, panels, or console actions to extend your installer. In the course of developing an installer, you'll occasionally run into an issue that's a real noggin-scratcher. Zero G's technical support is quite helpful and willing to offer suggestions for difficult problems. For example, I inquired about creating a two-CD installer that runs on Windows and Macintosh, and they recommended several sound, real-world solutions (one of which I implemented in my client's application). Potentially more helpful, though, is the Community Forums section of the Zero G Web site. This is a typical message board where users post questions and (hopefully) get responses from other InstallAnywhere users or from Zero G themselves. I have found the Community Forums invaluable as I develop InstallAnywhere installers. The forums are free, but you need to register (also free) to post questions or replies.
Summary SIDEBAR
Zero G Software, Inc.
Specifications Installer: Java 1.1 or greater, must be installed on the target system or bundled with the installer Pricing: Licensing - initial cost $2,995; premium support/year $1,495, maintenance and upgrades/year included with support Test Platform Dell Inspiron 4150, 1.7GHz Pentium 4-M Processor, 256MB RAM, Windows XP SIDEBAR
Product Snapshot Reader Feedback: Page 1 of 1
Enterprise Open Source Magazine Latest Stories . . .
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
|
SYS-CON Featured Whitepapers
Most Read This Week |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||