December 21, 2018 at 3:05 am #605569
MyEclipse Unattended Installation
The following applies to release 2013 and above (for earlier releases, please get in touch).
Running a Silent Installer
- Create an unattended response file.
- Run the installer with:
<offline-installer>.exe --unattended <absolute path to file>
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):
Response File Properties
This is the directory into which the specific MyEclipse configuration will be installed
Can be any of: win32, linux & macosx
Can be any of win32, gtk & cocoa
Can be x86 for 32-bit or x86_64 for 64-bit (note that 32 bit is not supported in all releases)
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).
- 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.installsfile 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.
- This topic has 0 replies, 1 voice, and was last updated 3 years, 5 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)