MyEclipse Forums
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
support-tony
Post subject: [Installation] Silent Installation  PostPosted: Jun 28, 2011 - 12:10 PM



Joined: Mar 09, 2011
Posts: 919

MyEclipse Silent Installation

The following applies to release 9.0 and above.

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-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:

    myeclipse_database_module
    myeclipse_desktop_module
    myeclipse_geronimo_module
    myeclipse_glassfish_module
    myeclipse_icefaces_feature_module
    myeclipse_iedebugger_module
    myeclipse_imageeditor_module
    myeclipse_jboss_module
    myeclipse_jetty_module
    myeclipse_jonas_module
    myeclipse_jrun_module
    myeclipse_jsf_module
    myeclipse_matisse_module
    myeclipse_maven_module
    myeclipse_oracle_module
    myeclipse_orion_module
    myeclipse_persistence_module
    myeclipse_reports_module
    myeclipse_resin_module
    myeclipse_spring_module
    myeclipse_struts_module
    myeclipse_sun_module
    myeclipse_tcserver_module
    myeclipse_tomcat_module
    myeclipse_uml_module
    myeclipse_visualvm_module
    myeclipse_visualvm_server_module
    myeclipse_weblogic_module
    myeclipse_websphere_module (MyEclipse Only)
    myeclipse_ws_module
    myeclipse_ws_blue_module (MyEclipse Blue Only)
    myeclipse_db2_module (MyEclipse Blue Only)


Additional Notes

  • 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

  • For uninstalling MyEclipse in unattended mode, see Unattended Uninstallation.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits