Installing the GeoStream Server Using a Command Line |
Under some circumstances, for example during an automated installation, it may be preferable or necessary to launch the GeoStream installer using a command line. Installation using a command line also provides the option to install the GeoStream server silently. That is, without using the MSI installer's user interface.
Several pre-configured command line arguments and switches also become accessible when installing via a command line. These are detailed below.
Note |
---|
The command line installation steps detailed below apply only to GeoStream version 3.8.0.10 and later. |
Note |
---|
Only the GeoStream Server, when installed using the 'GeoStream-only' installation option, has been certified for Microsoft Windows Server 2008 R2. |
Note |
---|
To install a GeoStream server using an MS-DOS command line, an elevated ('Run as administrator') command line window is required. |
If you want to install a GeoStream server using the installer UI:
Open a command line by navigating to Start>All Programs>Accessories>Command Prompt or by using the keyboard shortcut Start-R then typing cmd and OK
Navigate to the directory containing the GeoBase Windows Installer (.msi)
Type msiexec -i <GeoBase Installer Package>.msi then Enter
If you want to carry out a silent installation, without the installer UI:
Open a command line by navigating to Start>All Programs>Accessories>Command Prompt or by using the keyboard shortcut Start-R then typing cmd and OK
Navigate to the directory containing the GeoBase Windows Installer (.msi)
Type msiexec -i <GeoBase Installer Package>.msi /qn then Enter
Seven command line functions are also available when performing a silent installation:
SERVERNAME - specifies the server's name (defaults to 'GeoStream')
INSTALLTYPE - specifies the installation type: 'GeoStream' or 'GeoBase' (defaults to 'GeoStream')
SETUPGS - specifies whether to set up a GeoStream IIS instance when installing the GeoBase SDK. Set to '0' to install the GeoBase SDK without configuring an IIS website for GeoStream, or '1' to configure IIS for a GeoStream server (defaults to '1')
GEOSTREAMDIR - specifies the directory into which GeoStream will be installed. Defaults to C:\inetpub\wwwroot\GeoStream\
TILECACHEDIR - specifies the directory where the tile cache will be stored. For example, if set to C:\TestServerCache\, the tile server cache will be created in C:\TestServerCache\<ServerName>Cache. Defaults to CommonAppDataFolder (this typically resolves to C:\ProgramData).
WEBSITE - selects an existing website to setup GeoStream for. Defaults to nothing, no existing settings will be overridden
OVERRIDE - if the specified website already has a server with the same name as SERVERNAME, choose whether to override the existing settings. Set to true to override existing website settings. Defaults to false
To use a command line, use the following format: msiexec -i <GeoBase Installer Package>.msi FUNCTION=VALUE /qn
For example:
msiexec -i GeoBase4.0.msi SERVERNAME=MyServerName /qn
When the installation process has finished, open the Windows Control Panel and navigate to Programs>Programs and Features. Browse for the Telogis GeoStream application to ensure it is listed. If it is not, repeat the installation procedure.
Tip |
---|
For information about GeoStream server configuration options, see the Configuring the server and GeoStream Satellite Imagery sections. |
To uninstall a GeoStream server using a command line:
Note |
---|
To uninstall a GeoStream server using an MS-DOS command line, an elevated ('Run as administrator') command line window is required. |
Open a command line by navigating to Start>All Programs>Accessories>Command Prompt or by using the keyboard shortcut Start-R then typing cmd and OK
Navigate to the directory containing the GeoBase Windows Installer (.msi)
Type msiexec -uninstall <GeoBase Installer Package>.msi /qn then Enter