facebook

MyEclipse Unattended Installation

The following applies to release 2013 and above.

Running a Silent Installer

  1. Create an unattended response file.
  2. To activate the unattended mode, run the installer file from the command line with the following arguments:
    <offline-installer>.exe --unattended <absolute path to file>

    The name of the <offline-installer> file varies with each release; use the name as downloaded.

    The --unattended switch indicates that the install is to proceed without user intervention. You must use the full path, with backslashes as the delimiters, even if the response file is in the same folder as the installer or in the current directory.

    For example:
    myeclipse-ci-2019.4.0-offline-installer-windows.exe --unattended c:\myfolder\response.txt

Troubleshooting 

If the install is not successful, check the log file:

  • Windows—C:\Users\${userid}\AppData\Local\Temp\pulse-one-${timestamp}.log
  • Linux—/tmp/pulse-one-${timestamp}.log
  • OS X—$TMPDIR/pulse-one-${timestamp}.log

Response File Format

The response file is a simple text file specifying various (case-sensitive) properties. If you fail to include a property or configure a property improperly, the installer indicates what the offending property is and the value it is expecting.

Property Data type Required Description
delivery.install.folder String Yes a path, with forward slashes as delimiters, to the location where the package should be installed
delivery.install.architecture “x86”, “x86_64” or “aarch64” Yes 32-bit or 64-bit architecture.
Use aarch64 for Apple Silicon. (MyEclipse 2022.1 onward)
delivery.install.ws “cocoa” Yes if installing to the Mac platform Mac operating system
result.file String No The absolute path, with forward slashes as delimiters, 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).

For example:

delivery.install.folder=C:/Dev/Apps/MyEclipse CI
delivery.install.architecture=x86_64 
result.file=c:/Genuitec/unattended.log

Additional Notes

  • Ensure that the properties in 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 delivery.install.folder 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 install folder.
    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 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 delivery.install.folder 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.