Unattended Installation
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.
Contents
Notes
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.
Eiffel Projects Folder (EIFFELPROJECTSDIR)
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.
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 MinGW project. Not specifying SELECTEDCCOMPILER will default to using the value mingw, which is the corresponding value to install and use MinGW. To use the 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.
Performing an Unattended Installation
To actually perform an unattended installation, using the most common installation options execute the following
msiexec /i /passive EiffelXX_gpl_xxxxx-xxx.msi "INSTALLDIR=C:\Program Files\Eiffel Software\EiffelXX" CANCCOMPILE=1
This will install EiffelStudio in the folder C:\Program Files\Eiffel Software\EiffelXX and will perform a precompilation of EiffelBase, WEL and EiffelVision2.