Unattended Installation

This topic contains 0 replies, has 1 voice, and was last updated by  support-tony 9 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #605569 Reply

    support-tony
    Keymaster

    MyEclipse Unattended Installation

    The following applies to release 2013 and above (for earlier releases, please get in touch).

    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-ci-2018.12.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_64
    result.file=c:/Genuitec/unattended.log

    Response File Properties

    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 (note that 32 bit is not supported in all releases)

    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

    • 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 stream you are trying to install is already installed on the system (for example, if you are trying to install, say, MyEclipse 2017 Stable 2.0 but you already have MyEclipse 2017 Stable 1.0 installed), 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.
Viewing 1 post (of 1 total)
Reply To: Unattended Installation

You must be logged in to post in the forum log in