MyEclipse: [Installation] Silent Installation support-tony - Jun 28, 2011 - 12:10 PM Post subject: [Installation] Silent InstallationMyEclipse Silent Installation
The following applies to release 9.0 and above.
Running a Silent Installer
Create an unattended response file.
Run the installer with offline-installer.exe --unattended <absolute path to file>
For example:
myeclipse-9.0-offline-installer-windows.exe --unattended c:\myfolder\response.txt
Remember that the path is absolute, so you need the full path, even if the response file is in the same folder as the installer.
Response File Format
The response file is a simple text file with the following properties:
directory.base=c:/Genuitec
directory.profile=c:/Genuitec/MyEclipse
osgi.os=win32
osgi.ws=win32
osgi.arch=x86
result.file=c:/Genuitec/unattended.log
software.preset=all
Response File Properties
directory.base
This is the directory into which binaries (like the JDK) and the plugins bundles will be stored.
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 & carbon (cocoa support will be added in MyEclipse 9.1)
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. An error log is also created in the temp folder (path to error log will be in the result file).
software.preset
Can be either all or none
If none - additional software can be specified with a software.preset.additional property
software.preset.additional
Only valid if software.preset is set to none, 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:
The directory.base value is only respected if you do not have a <home>\.pulse2.locator file, which could exist as a result of a prior Pulse or MyEclipse installation. In this case, the directory that the contents of the file points to will be used as the base directory.
Edge Case: Even if you delete your locator file, but you have an installation in the default installation location for that profile on your system, then the installer will still be able to recognize that installation as a Pulse installation and it will ignore the directory.base value specified.
If the profile you are trying to install is already installed on the system (for example, if you are trying to install, say, MyEclipse 9.1 but you already have either it or MyEclipse 9.0 installed - all 9.x installers will reuse the same profile), then:
The installer will update that profile if an update is available - your directory.profile value must point to this existing profile. If it points to a different location, the installer will do nothing.
Installer will do nothing if an update is not available