Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Usage Guide

Keegan Witt edited this page Feb 5, 2017 · 6 revisions

Usage walk-through

User first selects language of English, German, French, Spanish, or Portuguese. The French translation was contributed by Xavier Mehaut and Tugduall Grall, the Spanish translation by Andres Almiray, and the Portuguese by Marcos Silva Pereira. Thanks!

Then accepts the relevant licenses.

Then decides whether to install additional packages.

Then choose the installation directory.

Then chooses the start menu directory (if creation of start menu shortcuts was enabled).

The installer detects whether the Java on the path is 32 bit or 64 bit and installs the appropriate executable and advises the user the detected endianness. If JAVA_HOME doesn't exist, a message box points out the potential problem. Then user can decide whether or not to install the native launcher.

Then asks for permission to create a variable GROOVY_HOME and to add the respective bin directory (%GROOVY_HOME%/bin) to the path, if no reference to groovy already exists in it.

Finally users decides whether to associate .groovy files with the native launcher, and whether to add the extension .groovy and .gy to PATHEXT. This allows to start Groovy files from the command line directly, without having to call the groovy.exe executable explicitly.

Silent installation

The installer supports silent installation with the command line option /S. When using this option you can influence which parts are installed using additional options:

Option Function
/A Install Additional Packages
/ALL Install All
/D Set Installation Directory (mandatory)
/F Create File Associations
/N Install Native Launcher
/S Silent Install
/V Set Variables

The option /D is mandatory and points to the installation directory. It is important to note that the /D option must be the last parameter on the command line and must not contain any quotes, even if the path contains spaces. Only absolute paths are supported. Use an equal sign to separate the option and the path. Example: groovy-1.5.6-installer-2.exe /S /A /N /D=d:\program files\groovy

Note: as of 01e155b970a013a06c3a56ab06815061b2f6ac6c, these options are no longer available. Issue 4 will add silent customization back.

Clone this wiki locally