Install EQuIS Professional via Command Line

<< Click to Display Table of Contents >>

EQuIS 7  >>  Professional > Installation and Administration >

Install EQuIS Professional via Command Line

EQuIS Professional can be installed via command line. A command-line based installation can be useful for deploying EQuIS to a large number of users.

 

The EQuIS Professional install can be run with typical Windows Installer command line options described at the links below.

 

http://msdn.microsoft.com/en-us/library/aa372024(v=VS.85).aspx

http://msdn.microsoft.com/en-us/library/aa367988(v=vs.85).aspx

http://msdn.microsoft.com/en-us/library/aa367536(VS.85).aspx

 

The ADDLOCAL=ALL option installs all features to the local machine. Instead of "ALL", use a comma separated list of features. Regardless of the ADDLOCAL setting, EQuIS for ArcGIS components will only be installed if ArcGIS is already installed on the machine.

 

The ALLOWEDIT=No option tells EDP to not allow editing (default is ALLOWEDIT=Yes). To allow editing, but to audit the changes, set the ALLOWEDIT property equal to the path of the folder where the audit information should be stored (e.g. ALLOWEDIT=C:\AuditFolder).

 

This file lists each of the feature names that can be installed via the command line.

 

Here is an example that will install EQuIS Professional Version 6.1 with the specified features.

 

C:\>msiexec.exe /package EarthSoft_EQuIS_6.1.0_x64.msi INSTALLDIR=C:\Progra~1\EarthSoft ADDLOCAL=DMR,System_Tutorial_Files,EQuIS_Library,Euro_EQEDD /quiet

 

The command prompt must be run as administrator, and the command entered from the path of install file referenced.

Warning: When using the *_x64.msi installation package, the INSTALLDIR property on the command line must be included. If the INSTALLDIR property on the command line is not specified, some files will be installed into Program Files, and other files will be installed into Program Files (x86). The installation process will appear to be successful, but an error message similar to the example below will be received when attempting to run EQuIS Professional.

 

System.TypeLoadException: Could not load type 'EarthSoft.Reports.OpenDialog'

 

Install

The following instruction references EQuIS Professional version 6.5.2 installation, the same steps are applicable to  EQuIS Professional version 7.0.

 

1.Verify that there are two EQuIS Professional installation files in a directory where the user has Administrator permissions (e.g., a "Temp" folder on the deskop).

 

15168-Install-EQuIS-Professional-CMDexp1

 

2.Open the Windows Command Prompt

a.Type cmd in the Windows Search.

 

15168-Install-EQuIS-Professional-CMDexp2

 

a.It is very important to right-click the Command Prompt listing in the menu, and select Run as administrator. When prompted to confirm "Do you want to allow this app to make changes to your device?" the pop-up will list "Windows Command Processor" as the app. Select "Yes".

3.Navigate to the directory where the installation files are located (in example above, directory is c:\Users\[user name]\Desktop\Temp).

 

Type:

cd c:\Users\<Username>\Desktop\Temp

 

Enter the actual directory path where the installation files are located.

 

Type:

dir

 

Confirm that the correct files are in the directory.

 

15168-Install-EQuIS-Professional-CMDexp3

 

4.Type (or copy and paste) the following into the command prompt:
msiexec.exe /package EarthSoft_EQuIS_6.5.2_x64.msi INSTALLDIR=C:\Progra~1\EarthSoft\EQuIS ADDLOCAL=[Insert your install preferences here (i.e. EQuIS_Library,System_Format_Files,Tutorial_Files,DQM,Additional_Language_Files,Backwards_Compatibility,DMR,EuroEQEDD)].

5.The EQuIS Installation Wizard will open with the script above, set up with all the features requested for installation. Click Next or Finish to install EQuIS Professional. The installation is then found in c:\Program Files\EarthSoft\EQuIS.

 

Note: Add /quiet to the end of the script to install the software without launching the EQuIS Installation Wizard, as shown in the example below.

 

msiexec.exe /package EarthSoft_EQuIS_6.5.2_x64.msi INSTALLDIR=C:\Progra~1\EarthSoft\EQuIS ADDLOCAL=EQuIS_Library,System_Format_Files,Tutorial_Files,DQM,Additional_Language_Files,Backwards_Compatibility,DMR,EuroEQEDD /quiet

 

Uninstall

 

Use msiexec to silently uninstall EQuIS Professional as in the example below.

 

C:\>msiexec.exe /x {41488386-B612-43B6-A80A-E60FC4BDA7E3} /qn

 

Troubleshooting

 

Sometimes Windows environment variables can be sensitive, and an install attempt may throw the error shown below.

clip0004

 

Use the full paths for msiexec, and the full path for the directory of the install msi to overcome this error.

 

C:\Windows\system32>msiexec.exe /package c:\<your installer directory>EarthSoft_EQuIS_6.3.0_x64.msi ADDLOCAL=ALL ALLOWEDIT=Yes /quiet