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:
1<offline–installer>.exe —unattended <absolute path to file>
For example:
1myeclipse–ci–2018.12.0–offline–installer–windows.exe —unattended c:myfolderresponse.txtThe 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.
发表回复