Difference between revisions of "Unattended Installation"

m (Properties for the Enterprise Edition)
(Performing an Unattended Installation)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
 
The optional properties will extend the installation by installing/not installing components at your descression. Even though these properties are optional you should still read through this section to understand what will/will not be installed if you do not specify them.
 
The optional properties will extend the installation by installing/not installing components at your descression. Even though these properties are optional you should still read through this section to understand what will/will not be installed if you do not specify them.
  
=== Eiffel Projects Folder (EIFFELPROJECTSDIR) ===
+
=== C/C++ Compiler Choice (C_CONFIG_CHOOSE) ===
The Eiffel Project location by default is set to the user's profile documents location, extended with and ''Eiffel Projects'' folder. You can specify '''EIFFELPROJECTSDIR'''=''projects_location'' where ''projects_location'' is the location where the user's Eiffel projects folder should be referenced/created.
+
By default, the installer will use the Microsoft C/C++ compiler if found, otherwise the open source [http://mingw.sourceforge.net/ MinGW] C/C++ compiler. If you have a Microsoft C/C++ compiler and still wants to use the MinGW C/C++ compiler, specify '''C_CONFIG_CHOOSE'''=''1''.
 
+
{{Note| The specified path will '''not''' be suffixed with ''Eiffel Projects''.}}
+
 
+
=== C/C++ Compiler Choice (SELECTEDCCOMPILER) ===
+
By default the selected C/C++ compiler is using the open source [http://mingw.sourceforge.net/ MinGW] project. Not specifying '''SELECTEDCCOMPILER''' will default to using the value ''mingw'', which is the corresponding value to install and use [http://mingw.sourceforge.net/ MinGW]. To use the [http://en.wikipedia.org/wiki/Visual_C%2B%2B Microsoft C/C++] compiler specify '''SELECTEDCCOMPILER'''=''msc''.
+
 
+
=== Precompilation (PRECOMPILE and CANCCOMPILE) ===
+
-------------------------
+
By default no precompilation will occur. Precompilation is based on two properties; '''CANCCOMPILE''' and '''PRECOMPILE'''. Firstly, for any precompilation attempt by the installer you must set '''CANCCOMPILE'''=''1''. The installer does not attempt to precompile if no C/C++ compiler is automatically configurable, which is usually checked during navigation of the installer pages . '''CANCCOMPILE''' is set based upon those checks but because the pages are not displayed in unattended mode you will need to specify it manually.
+
 
+
The default level of precompilation is to precompile [[EiffelBase]], [[WEL]] and [[EiffelVision2]]. This can be changed by setting the property '''PRECOMPILE''' to one of the following values:
+
 
+
* ''none''    : Skips precompilation
+
* ''base''    : Precompiles [[EiffelBase]]
+
* ''wel''    : Precompiles [[EiffelBase]] and [[WEL]]
+
* ''vision2'' : Precompiles [[EiffelBase]], [[WEL]] and [[EiffelVision2]]
+
 
+
The default property setting is '''PRECOMPILE'''=''vision2'', if '''PRECOMPILE''' is not specified.
+
  
 
== Properties for the Enterprise Edition ==
 
== Properties for the Enterprise Edition ==
Line 52: Line 34:
 
To actually perform an unattended installation, using the most common installation options for the GPL edition, execute the following
 
To actually perform an unattended installation, using the most common installation options for the GPL edition, execute the following
  
  msiexec /i /passive EiffelXX_gpl_xxxxx-xxx.msi "INSTALLDIR=C:\Program Files\Eiffel Software\EiffelXX" CANCCOMPILE=1
+
  msiexec /passive /i EiffelXX_gpl_xxxxx-xxx.msi "INSTALLDIR=C:\Program Files\Eiffel Software\EiffelXX"
  
This will install [http://www.eiffel.com/products/studio/ EiffelStudio] in the folder ''C:\Program Files\Eiffel Software\EiffelXX'' and will perform a precompilation of [[EiffelBase]], [[WEL]] and [[EiffelVision2]].
+
This will install [http://www.eiffel.com/products/studio/ EiffelStudio] in the folder ''C:\Program Files\Eiffel Software\EiffelXX''.

Latest revision as of 14:31, 25 February 2013


For some it may be desirable to perform Unattended (also known as Passive) installation of EiffelStudio. The page indicates the requisite and optional properties and their applicable values. We assume knowledge of the Microsoft Installer (MSI) command line options.

Notes

Information.png Note: To successfully install EiffelStudio you should have administrative permissions on the user account you are using to install EiffelStudio under.

Requisite Properties

There are few requisite properties to specify via the command line to install EiffelStudio, in fact as of 6.1 there's only a single required property.

Installation Folder (INSTALLDIR)

You must specify the location to install EiffelStudio into, which should be a location on disk or a network share with write access. The property for this is INSTALLDIR.

If you do not specify the installation location correctly the installation will not be successful!

Optional Properties

The optional properties will extend the installation by installing/not installing components at your descression. Even though these properties are optional you should still read through this section to understand what will/will not be installed if you do not specify them.

C/C++ Compiler Choice (C_CONFIG_CHOOSE)

By default, the installer will use the Microsoft C/C++ compiler if found, otherwise the open source MinGW C/C++ compiler. If you have a Microsoft C/C++ compiler and still wants to use the MinGW C/C++ compiler, specify C_CONFIG_CHOOSE=1.

Properties for the Enterprise Edition

If you are attempting to install the Enterprise Edition of EiffelStudio then you will need to specify additional properties.

CD-Key (PID)

You'll need to specify the CD-Key given to you by Eiffel Software or the installation will not install correctly. Specify PID=cd key where cd key is the CD-Key given to you.

User Name (USERNAME)

By default USERNAME is set to the user profile's user name. If you need to specify an alternative user name to use when activating EiffelStudio then specify USERNAME=username where username is the name of the user you want to use for activation purposes.

Performing an Unattended Installation

To actually perform an unattended installation, using the most common installation options for the GPL edition, execute the following

msiexec /passive /i EiffelXX_gpl_xxxxx-xxx.msi "INSTALLDIR=C:\Program Files\Eiffel Software\EiffelXX"

This will install EiffelStudio in the folder C:\Program Files\Eiffel Software\EiffelXX.