How to deploy Netbeans versions 6 and 7?

Description

This document provides steps required to deploy Netbeans to multiple computers.

Steps

To deploy Netbeans 6 or 7, follow the steps given below:

  1. Create a common network share to store the required installable file. Network share is recommended only while you wanted to deploy the software to computers within the network. If you wanted to deploy Netbeans to computers located in a remote location, you can use HTTP upload.
  2. Note: The network share should have read permissions to Everyone in the group and should be accessible from all the computers to which you are trying to install.

  3. Download the netbeans EXE from the following URL: https://netbeans.org/downloads/
  1. You would need to install netbeans manually in one computer to record the steps, which could then be used to deploy in multiple computers.
  1. Open a command prompt and run the setup file with this command "<folder_path>\netbeans-7.4-windows.exe --record state.xml"
  2. Follow the installation wizard to complete the installation.
  3. Upon successful installation, the installation steps will be recorded in state.xml located in the same directory as the EXE file.
  4. Copy this state.xml to the network share created in step 1
  1. Add the package
  1. Click the Software Deployment tab
  2. Click Add Package
  3. Select the MSIEXEC/EXE/ISS/Command package type
  4. Specify a name for the application
  5. Specify the Installation Command with Switches/Arguments as below:

    <Network Share>\netbeans-7.4-windows.exe  --silent  --state <Folder_Path>\state.xml
  6. Click Add Package
  1. Deploy to target computers
    1. Select the package that you added
    2. Click Install/Uninstall Software
    3. Enter a name and description for the configuration
    4. Define the package settings
    5. Configure the deployment settings
    6. Choose the target computers
    7. Specify the schedule options, if required
    8. Click Deploy
You have deployed Netbeans.