Installer Command-Line Options
The SA Installer supports several command-line options. These are typically most useful for IT departments doing a silent or automated install. The most command-line options can be combined and are as follows:
-
/?. Lists the command line options.
-
/S. Performs a silent install. This must be a CAPTIALS. The installer will operate in the background without user intervention.
-
/CREATESHORTCUT. Creates a desktop shortcut when installed in silent mode.
-
/TEMPUNITS=[Celsius, Fahrenheit]. Sets the default temperature units for the installation. If omitted, Fahrenheit will be the default, unless SA was installed previously, in which the temperature units will not change. Ex. usage: /TEMPUNITS=Celsius.
-
/LENGTHUNITS=[Inches, Feet, Millimeters, Centimeters, Meters]. Sets the default length units for the installation. If omitted, inches will be used as a default, unless SA was installed previously, in which the length units will not change. Ex. usage: / LENGTHUNITS=Millimeters.
To Install SA with Command-Line Options:
-
At the command line, first use the dos "CD" command to set the working directly to where the SA installer resides, such as the downloads folder.
-
Enter the executable name followed by the options desired. For instance, the following installs SpatialAnalyzer silently in the background while also creating a desktop shortcut and setting the length units to millimeters: “SpatialAnalyzer 2021.2.71490.1-installer.exe” /S /CREATESHORTCUT /LENGTHUNITS=Millimeters