Installing Data Entry > Installing UNICOM Intelligence Data Entry > Installing UNICOM Intelligence Data Entry from the command line
 
Installing UNICOM Intelligence Data Entry from the command line
You can install UNICOM Intelligence Data Entry from the command line. This is useful for system administrators who want to set up a “silent install” process that does not require the user to enter information in the install screens.
Installing from the command line
1 Microsoft Visual C++ 2010 SP1 Redistributable Package is automatically installed when performing a normal installation. If the Microsoft Visual C++ 2010 SP1 Redistributable Package is not already installed on your system, you must install it before installing from the command line.
Download Microsoft Visual C++ 2010 SP1 Redistributable Package from:
(x86 32-bit) http://www.microsoft.com/en-us/download/details.aspx?id=8328
(x64 64-bit) http://www.microsoft.com/en-us/download/details.aspx?id=13523
Use the appropriate Vcredist command (Vcredist_x64.exe or Vcredist_x86.exe) to push the Microsoft Visual C++ 2010 SP1 Redistributable Package installation, for example:
Vcredist_x64.exe /q:a /c:"VCREDI~3.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "
2 At a command prompt, change to the folder that the setup.exe file is in.
3 Enter a command in this format:
start /WAIT setup.exe /s /v" /qn /l*v \"mylogfile\" INSTALLDIR=\"my_path\" LICENSECODE=\"my_license_code\" "
Options
start /WAIT
Optional. Waits until the command is finished before returning to the command prompt. Although this is optional it is useful in a silent install, as otherwise the log needs to be continually examined to find out when the install has completed.
/s
Required. Tells setup.exe to be silent.
/v
Required. Tells setup.exe to pass the following parameters (that is, everything between the following quotation mark and the final quotation mark at the end of the command) to the installer.
/qn
Required. Runs the installer in “quiet mode”, that is, without any user interface.
/l*v \"mylogfile\"
Optional. Logs in “verbose mode” to the file mylogfile.
INSTALLDIR=\"my_path\"
Optional. The folder where you want to install UNICOM Intelligence Data Entry. Not necessary if you want to install into the default folder for UNICOM Intelligence products, which is:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\
LICENSECODE=\"my_license_code\"
Required. The license code supplied with UNICOM Intelligence Data Entry.
Examples
This example installs UNICOM Intelligence Data Entry into the default folder without logging the install:
setup.exe /s /v" /qn LICENSECODE=\"12345 67890 12345 67890 12345 67890 12345 67890\" "
This example installs UNICOM Intelligence Data Entry into the default folder and logs the installation messages to a file called C:\log.txt:
setup.exe /s /v" /qn /l*v \"C:\log.txt\" LICENSECODE=\"12345 67890 12345 67890 12345 67890 12345 67890\" "
This example installs UNICOM Intelligence Data Entry into the specified folder and logs the installation messages to a file called C:\log.txt:
setup.exe /s /v" /qn /l*v \"C:\log.txt\" INSTALLDIR=\"C:\MyInstallFolder\" LICENSECODE=\"12345 67890 12345 67890 12345 67890 12345 67890\" "
This example does the same as the previous example, but waits for the install to complete before returning to the command prompt:
start /WAIT setup.exe /s /v" /qn /l*v \"C:\log.txt\" INSTALLDIR=\"C:\MyInstallFolder\" LICENSECODE=\"12345 67890 12345 67890 12345 67890 12345 67890\" "
See also