<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICE OR THIS HEADER.

Copyright 2006, 2007 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.

The contents of this file are subject to the terms of the Common
Development and Distribution License(`CDDL') (the `License').
You may not use this file except in compliance with the License.

You can obtain a copy of the License at
https://openinstaller.java.net/license.html
or http://openinstaller.java.net/license.txt . See the License
for the specific language governing permissions and limitations
under the License.

When distributing the Covered Code, include this CDDL Header Notice
in each file and include the License file at
http://openinstaller.java.net/license.txt . If applicable, add
the following below this CDDL Header, with the fields enclosed by
brackets [] replaced by your own identifying information: "Portions
Copyrighted year name of copyright owner"';
-->
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<link type="text/css" rel="stylesheet" href="nbdocs:/org/netbeans/modules/usersguide/ide.css">
<meta content="Helen" name="generator">
<title>NetbeansSuiteInstallerBuilder FAQ</title>
</head>
<body>
<h2>
<font face="SansSerif, Verdana, Arial, Helvetica">Netbeans Application Installer
Generator</font> <font face="SansSerif, Verdana, Arial, Helvetica">FAQ</font>
</h2>
<p>
<font face="SansSerif, Verdana, Arial, Helvetica"><b>Plugin and its usage</b></font>
</p>
<ol>
<li>
<a href="#WhatIsNBSuiteInstallerBuilder" name="WhatIsNBSuiteInstallerBuilder" id=
"WhatIsNBSuiteInstallerBuilder"><font face="SansSerif, Verdana, Arial, Helvetica">What is
Netbeans Application Installer Generator</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#where-download"><font face="SansSerif, Verdana, Arial, Helvetica">Where can
I download/update this plugin</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#sys-requirements-plugin"><font face="SansSerif, Verdana, Arial, Helvetica">What
are the system requirements</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#howto-steps"><font face="SansSerif, Verdana, Arial, Helvetica">How to create an
installer for my NB suite application</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#what-actually-happens"><font face="SansSerif, Verdana, Arial, Helvetica">What
actually happens during installer generation</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#where-is-generated-installer"><font face=
"SansSerif, Verdana, Arial, Helvetica">Where can I find the generated
installer</font></a><font face="SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#what-is-other-zipfile"><font face="SansSerif, Verdana, Arial, Helvetica">What is
the other zip file which is generated along the installer zip file</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
</ol>
<p>
 
</p>
<p>
<font face="SansSerif, Verdana, Arial, Helvetica"><b>Installer related</b></font>
</p>
<ol>
<li>
<a href="#distribution-mechanism"><font face="SansSerif, Verdana, Arial, Helvetica">What is
the distribution mechanism that I can use to distribute the installer</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#sys-requirements-for-installer"><font face=
"SansSerif, Verdana, Arial, Helvetica">What are the system requirements for the target
machines to run the generated installer</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#which-java-for-running-installer"><font face=
"SansSerif, Verdana, Arial, Helvetica">How do I select which JDK to use for running
the installer</font></a><font face="SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#does-plugin-configures-jdkhome"><font face=
"SansSerif, Verdana, Arial, Helvetica">Does this installer configures jdkhome for my suite
application during installation</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#customize-installer"><font face=
"SansSerif, Verdana, Arial, Helvetica">I want to customize the generated installer.
How can I</font></a> <font face="SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#report-issues-feedback"><font face="SansSerif, Verdana, Arial, Helvetica">Where
to report issues, suggestions and feedback</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
</ol>
<p>
 
</p>
<p>
<font face="SansSerif, Verdana, Arial, Helvetica"><b>Plugin project</b></font>
</p>
<ol>
<li>
<a href="#state-of-pligin-project"><font face="SansSerif, Verdana, Arial, Helvetica">What
is the state of this Plugin project</font></a>?
</li>
<li>
<a href="#connection-between-openInstaller-plugin"><font face=
"SansSerif, Verdana, Arial, Helvetica">What is the connection between this plugin and
openInstaller.org</font></a><font face="SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#homepage-of-plugin"><font face="SansSerif, Verdana, Arial, Helvetica">Where's the
home page for the Plugin project</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#more-info-on-plugin"><font face="SansSerif, Verdana, Arial, Helvetica">Where can
I look for more information</font></a><font face=
"SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
<li>
<a href="#plugin-sources"><font face="SansSerif, Verdana, Arial, Helvetica">Where are the
sources</font></a><font face="SansSerif, Verdana, Arial, Helvetica">?</font>
</li>
</ol>
<p>
 
</p>
<p>
 
</p>
<hr width="85%">
<p>
 
</p>
<p>
<font face="SansSerif, Verdana, Arial, Helvetica"><b>Plugin and its usage</b></font>
</p>
<ol>
<li>
<a name="WhatIsNBSuiteInstallerBuilder" id="WhatIsNBSuiteInstallerBuilder"><font face=
"SansSerif, Verdana, Arial, Helvetica" color="#008000"><b>What is</b></font></a> <font
face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><b>Netbeans Application
Installer Generator</b></font><b><font color="#008000">?</font><br>
</b> <font face="SansSerif, Verdana, Arial, Helvetica" style=
" background-color: #ffffff;">Its a Netbeans plugin (or a module as its called
alternatively) that creates installers for Netbeans Module suite applications. This
plugin enhances the Netbeans module developer support (apisupport) by adding the installer
generation capability right into the IDE. The generated installer supports multiple
platforms and is multi-home enabled (multiple installations on a system), extendable and
customizable. The installer during the installation will not clutter the user home folder
with any data. All data is persisted in the installation directory. So this makes cleaning
up easy.. just blow up the installation directory and the system is clean and ready for
another installation.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name="where-download"
id="where-download"><b>Where can I download/update this
plugin</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">From here (TBD)</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"sys-requirements-plugin" id="sys-requirements-plugin"><b>What are the system
requirements</b></a><b>?</b></font><b><font color="#008000"><br>
</font></b> <font face="SansSerif, Verdana, Arial, Helvetica">The plugin runs
on Netbeans 5.5.x and Netbeans 6.0 beta 1 running on J2SE 1.5.0 any update or J2SE 6.0
update 1. On Solaris however, Using Netbeans IDE running on J2SE 6.0, you can generate the
installer, but the installer does not run using J2SE 6.0 due to the known issues.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><b>What do I need to have
to do before generating installer?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">You need to configure your suite project
to be 'Standalone application'. The plugin will check this during installer generation
process. You will be assisted in this process if the plugin finds that the module suite
project is not configured.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name="howto-steps" id=
"howto-steps"><b>How to create an installer for my NB suite
application</b></a><b>?</b></font><b><font color="#008000"><br>
</font></b> <font face="SansSerif, Verdana, Arial, Helvetica">Its simple:</font>
<ol>
<li>
<font face="Serif, Georgia, Times New Roman, Times">Download and install the plugin
into your Netbeans IDE.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">There would be a new toolbar button
with an icon of CD <img src="click_installer_generator24.png">will be added. Select
your module suite project in the Project View to enable this button.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">You could also choose this option
from the 'Build' menu or from context menu of your suite project in the Project
view.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">Upon selecting and if your suite
project is already configured as stand-alone, a wizard will be shown asking few basic
questions about your suite application. (If the suite project is not yet configured,
you will be asked to do so at this point)</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">You will be asked to provide the
project name, version, short description (one liner) and vender information on the
first screen. You can optionally set the JDK version and system RAM and disk
requirements for your application.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">The next wizard screen will ask for
the application license that you would like to show to the users to acceptance.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">Once you provide the license
information and click 'Finish', the installer generation will begin.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">After the completion of the
installer generation, you will be shown with the option to run the installer and once
you choose, the plugin will run the generated installer. This option can be used for
testing purpose.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">The generated installer will be in
the form of a zip bundle and its placed under 'dist' folder under your suite project
directory. The installer zip bundle is named as <your-suite-app-name>-installer-image.zip.
You can rename this to anything you want. This zip bundle is now ready for
distribution.</font>
</li>
<li>
<font face="Serif, Georgia, Times New Roman, Times">There's one more zip bundle created
in the same 'dist' folder and is named as <your-suite-app-name>-installer-project.zip and
this contains the installer source files. This zip bundle can be used to further
customize the generated installer.</font>
</li>
</ol>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"what-actually-happens" id="what-actually-happens"><b>What actually happens during
installer generation</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">No rocket science here! The plugin first
generates the usual zip bundle that Netbeans creates for all suite projects. It then uses
an Installer project template and updates few files to customize the installer files for
the current suite application and then bundles the installer runtime along with all
files.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"where-is-generated-installer" id="where-is-generated-installer"><b>Where can I find the
generated installer</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">Under your suite project's 'dist'
folder. Its named as <your-suite-app-name>-installer-image.zip.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"what-is-other-zipfile" id="what-is-other-zipfile"><b>What is the other zip file which is
generated along the installer zip file</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">That's the installer source files and
metadata files that you can use to customize the generated installer further. This zip
bundle is named as <your-suite-app-name>-installer-project.zip. This bundle is not for
distribution unless, you want to distribute the installer sources along with your suite
application.</font>
</li>
</ol>
<p>
<br>
</p>
<p>
<font face="SansSerif, Verdana, Arial, Helvetica"><b>Installer related</b></font>
</p>
<ol>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"distribution-mechanism" id="distribution-mechanism"><b>What is the distribution mechanism
that I can use to distribute the installer</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">Its a zip bundle, so you can host it on
a website or an FTP server. Users of the installer just have to download this zip
file, unzip and run the launcher scripts for their platforms present on the top unzipped
folder. There are two scripts, one for Windows and another for *NIX systems. This plugin
will be enhanced to generate a JNLP descriptor and that would make running the installer
using JNLP possible.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"sys-requirements-for-installer" id="sys-requirements-for-installer"><b>What are the system
requirements for the target machines to run the generated
installer</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">Windows (2000, XP), Ubuntu and Solaris
(sparc and X86). The plugin is tested on these platforms. It is not tested on other
platforms, but it may work on other platforms like, Vista, other Linux flavors. On Mac OS
X, there's a known issue. But on Solaris, the installer currently needs <b>J2SE 1.5.0</b>
(all updates) for itself to work.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"which-java-for-running-installer" id="which-java-for-running-installer"><b>How do
I select which JDK to use for running the installer</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">During installer generation on the first
panel of the wizard OR you can customize JAVA_HOME variable in the installer launcher
scripts for your target platforms. The launcher script read and use the JAVA_HOME from the
environment if its available during execution.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"does-plugin-configures-jdkhome" id="does-plugin-configures-jdkhome"><b>Does this installer
configures jdkhome for my suite application during installation</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">Yes it does. There's a small script
which updates the user selected JDK during installation in the etc/.conf file. This
configuration is done during the installation process.</font>
</li>
<li>
<a name="customize-installer" id="customize-installer"><font face=
"SansSerif, Verdana, Arial, Helvetica" color="#008000"><b>I want to customize the
generated installer. How can I</b></font></a> <font face=
"SansSerif, Verdana, Arial, Helvetica" color="#008000"><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">This support is upcoming.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"report-issues-feedback" id="report-issues-feedback"><b>Where to report issues, suggestions
and feedback</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">The best place to get help is
dev@openInstaller.java.net.</font>
</li>
</ol>
<p>
 
</p>
<p>
<font face="SansSerif, Verdana, Arial, Helvetica"><b>Plugin project</b></font>
</p>
<ol>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"state-of-pligin-project" id="state-of-pligin-project"><b>What is the state of this Plugin
project</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">Pure pre-alpha (If this state exists at
all!). The plugin is still under development and there would be bugs and missing
features.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"connection-between-openInstaller-plugin" id=
"connection-between-openInstaller-plugin"><b>What is the connection between this plugin and
openInstaller.org</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">This plugin uses openInstaller installer
framework to generate installers. This project is conceived as a sub project under
openInstaller. See www.openInstaller.org.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"homepage-of-plugin" id="homepage-of-plugin"><b>Where's the home page for the Plugin
project</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">There's no home page yet, but you can
look for more information on the wiki
(</font>http://wiki.glassfish.java.net/Wiki.jsp?page=OpenInstallerDeveloperToolsNBSuiteInstallerBuilder<font
face="SansSerif, Verdana, Arial, Helvetica">) and use the developer alias:
dev@openInstaller.java.net.</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name=
"more-info-on-plugin" id="more-info-on-plugin"><b>Where can I look for more
information</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">dev@openInstaller.java.net and wiki
(</font>http://wiki.glassfish.java.net/Wiki.jsp?page=OpenInstallerDeveloperToolsNBSuiteInstallerBuilder<font
face="SansSerif, Verdana, Arial, Helvetica">)</font>
</li>
<li>
<font face="SansSerif, Verdana, Arial, Helvetica" color="#008000"><a name="plugin-sources"
id="plugin-sources"><b>Where are the sources</b></a><b>?</b></font><br>
<font face="SansSerif, Verdana, Arial, Helvetica">More details upcoming.</font>
</li>
</ol>
<p>
 
</p>
<p>
 
</p>
<p>
 
</p>
<p>
 
</p>
<p>
 
</p>
</body>
</html>
<!-- Tip: to create a link which will open in an external web browser, try: <object classid="java:org.netbeans.modules.javahelp.BrowserDisplayer"> <param name="content" value="http://www.netbeans.org/"> <param name="text" value="<html><u>http://www.netbeans.org/</u>"> <param name="textFontSize" value="medium"> <param name="textColor" value="blue"> </object> To create a link to a help set from another module, you need to know the code name base and path, e.g.: <a href="nbdocs://org.netbeans.modules.usersguide/org/netbeans/modules/usersguide/configure/configure_options.html">Using the Options Window</a> (This link will behave sanely if that module is disabled or missing.) -->