Difference between revisions of "Unattended Installation"

m (Notes)
m (Properties for the Enterprise Edition)
Line 38: Line 38:
  
 
The default property setting is '''PRECOMPILE'''=''vision2'', if '''PRECOMPILE''' is not specified.
 
The default property setting is '''PRECOMPILE'''=''vision2'', if '''PRECOMPILE''' is not specified.
 +
 +
== Properties for the Enterprise Edition ==
 +
 +
If you are attempting to install the Enterprise Edition of [http://www.eiffel.com/products/studio/ EiffelStudio] then you will need to specify additional properties.
 +
 +
=== CD-Key (PID) ===
 +
You'll need to specify the [http://en.wikipedia.org/wiki/Cd_key CD-Key] given to you by [http://en.wikipedia.org/wiki/Eiffel_Software Eiffel Software] or the installation will not install correctly. Specify '''PID'''=''cd key'' where ''cd key'' is the [http://en.wikipedia.org/wiki/Cd_key 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 [http://en.wikipedia.org/wiki/Product_activation activating] [http://www.eiffel.com/products/studio/ EiffelStudio] then specify '''USERNAME'''=''username'' where ''username'' is the name of the user you want to use for [http://en.wikipedia.org/wiki/Product_activation activation] purposes.
  
 
== Performing an Unattended Installation ==
 
== Performing an Unattended Installation ==
To actually perform an unattended installation, using the most common installation options 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 /i /passive EiffelXX_gpl_xxxxx-xxx.msi "INSTALLDIR=C:\Program Files\Eiffel Software\EiffelXX" CANCCOMPILE=1
  
 
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'' and will perform a precompilation of [[EiffelBase]], [[WEL]] and [[EiffelVision2]].

Revision as of 08:33, 5 September 2007


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.

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.

Information.png 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:

The default property setting is PRECOMPILE=vision2, if PRECOMPILE is not specified.

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 /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.