[Installation] Unattended Installation

This topic contains 1 reply, has 1 voice, and was last updated by Profile photo of support-tony support-tony 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #317802 Reply
    Profile photo of support-tony
    support-tony
    Keymaster

    MyEclipse Unattended Installation

    The following applies to release 2013 and above (but see the notes for earlier releases).

    Running a Silent Installer

    1. Create an unattended response file.
    2. Run the installer with:

      <offline-installer>.exe --unattended <absolute path to file>
      

      For example:

      myeclipse-2015-stable-1.0-offline-installer-windows.exe --unattended c:\myfolder\response.txt

      The name of the <offline-installer> file varies with each release; just use the name as downloaded. The “--unattended” switch indicates that the install is to proceed without user intervention. The path to the response file must be absolute, so you need the full path, even if the response file is in the same folder as the installer or in the current directory.

    Response File Format

    The response file is a simple text file specifying various (case-sensitive) properties. For example (showing sample values):

    directory.profile=c:/Genuitec/MyEclipse
    osgi.os=win32
    osgi.ws=win32
    osgi.arch=x86
    result.file=c:/Genuitec/unattended.log

    Response File Properties

    directory.base
    This is the directory into which binaries (like the JDK) and the plugins bundles will be stored (only applicable to release 10 and below).

    directory.profile
    This is the directory into which the specific MyEclipse configuration will be installed

    osgi.os
    Can be any of: win32, linux & macosx

    osgi.ws
    Can be any of win32, gtk & cocoa

    osgi.arch
    Can be x86 for 32-bit or x86_64 for 64-bit

    result.file
    The absolute path to a file to which the installer will add notes and errors. A more comprehensive log is also created in the temp folder (the path to that log will be in the result file).

    Additional Notes

    • Any components not installed may be added via the Help->Choose Components menu item, after installation, once MyEclipse is started.
    • Ensure that the properties in the the response file have the correct names. Although incorrect values for properties will generate an error, an incorrect property name will effectively just be ignored.
    • The directory.profile value is only respected if you do not have a <home>\.deliverycenter.installs file that contains a path for the release being installed, which could exist as a result of a prior MyEclipse installation. In this case, the directory that the file points to will be used as the profile directory.

      Edge case: If the .deliverycenter.installs file isn’t present but you point to a folder that contains an installation of the same release, the installation will not proceed.

    • If the release you are trying to install is already installed on the system (for example, if you are trying to install, say, MyEclipse 2013 SR1 but you already have either it or MyEclipse 2013 installed – all 2013 installers will reuse the same profile), then:
      • The installer will update that release if an update is available – your directory.profile value must point to this existing location. If it points to a different location, the installer will do nothing.
      • The installer will do nothing if an update is not available
    • For uninstalling MyEclipse in unattended mode, see Unattended Uninstallation.
    • This topic was modified 1 year, 9 months ago by Profile photo of support-tony support-tony.
    • This topic was modified 1 year, 8 months ago by Profile photo of support-tony support-tony.
    • This topic was modified 1 year, 8 months ago by Profile photo of support-tony support-tony. Reason: Corrected formatting issues
    • This topic was modified 1 year, 8 months ago by Profile photo of support-tony support-tony.
    • This topic was modified 4 months ago by Profile photo of support-tony support-tony. Reason: Presets no longer valid from MyEclipse 2016
    • This topic was modified 4 months ago by Profile photo of support-tony support-tony. Reason: Split out pre-2016 information to separate comment
    #500662 Reply
    Profile photo of support-tony
    support-tony
    Keymaster

    Other Response File Properties in Earlier Releases

    directory.base
    Only valid for MyEclipse 10 and below. This is the directory into which binaries (like the JDK) and the plugins bundles will be stored. This is only used if there is no <home>\.pulse2.locator file. The directory.profile location is used to hold the specific configuration for the release being installed.

    software.preset
    Only valid prior to MyEclipse 2016. Should be all to indicate all components are to be installed. If this property is missing, you must specify at least one component with the software.preset.additional property.

    software.preset.additional
    Only valid prior to MyEclipse 2015 and if software.preset=all is missing, this is a comma delimited list of one or more of the following items to install in addition to the MyEclipse core; the all software preset will install all these items:

    • myeclipse_database_module
    • myeclipse_desktop_module
    • myeclipse_geronimo_module
    • myeclipse_glassfish_module
    • myeclipse_icefaces_feature_module
    • myeclipse_iedebugger_module
    • myeclipse_imageeditor_module
    • myeclipse_jboss_module
    • myeclipse_jetty_module
    • myeclipse_jonas_module
    • myeclipse_jrun_module
    • myeclipse_jsf_module
    • myeclipse_matisse_module
    • myeclipse_maven_module
    • myeclipse_oracle_module
    • myeclipse_orion_module
    • myeclipse_persistence_module
    • myeclipse_reports_module
    • myeclipse_resin_module
    • myeclipse_spring_module
    • myeclipse_struts_module
    • myeclipse_sun_module
    • myeclipse_tcserver_module
    • myeclipse_tomcat_module
    • myeclipse_uml_module
    • myeclipse_visualvm_module
    • myeclipse_visualvm_server_module
    • myeclipse_weblogic_module
    • myeclipse_websphere_module (MyEclipse Blue Only)
    • myeclipse_ws_module
    • myeclipse_ws_blue_module (MyEclipse Blue Only)
    • myeclipse_db2_module (MyEclipse Blue Only)

    Additional Notes

    • Any components not installed may be added via the Help->Choose Components menu item, after installation, once MyEclipse is started.
    • Ensure that the properties in the the response file have the correct names. Although incorrect values for properties will generate an error, an incorrect property name will effectively just be ignored.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: [Installation] Unattended Installation

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.