Installing UNICOM Intelligence Desktop from the command line
You can install UNICOM Intelligence Desktop using the command line. This is useful if you want to install UNICOM Intelligence Desktop using “silent installation”. A silent installation runs without intervention so that you do not have to provide input to the dialogs.
To install from the command line
1 The Microsoft Visual C++ Redistributable Packages are automatically installed when you perform a normal UNICOM Intelligence Desktop installation. If the Redistributable Packages are not already installed on your computer, you must install them before installing UNICOM Intelligence Desktop from the command line. If you do not install the Redistributable Packages, the UNICOM Intelligence Desktop applications will not work.
Download the latest Microsoft Visual C++ Redistributable Package from:
▪For UNICOM Intelligence 7.5.1 and later, install the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019.
Use the appropriate Vcredist command (Vcredist_x64.exe or Vcredist_x86.exe) to push the Microsoft Visual C++ Redistributable Package installation, for example:
Vcredist_x64.exe /q:a /c:"VCREDI~3.EXE /q:a /c:""msiexec /i vcredist.msi /qn"" "
2 Open a command prompt, and then go to the directory containing the Installer file (UNICOMIntelligenceDesktop.exe).
3 Enter a command in the following format to start the installation:
start /WAIT "UNICOMIntelligenceDesktop.exe" /s /v"/qn /l*v \"<logfile>\"
installdir=\"<folder>\" addlocal=<products>"
Command line options
start /WAIT
Optional. Tells the command prompt to wait until the command is finished before returning. This is very useful in a silent installation, as otherwise the log needs to be continually examined to determine when the installation is complete.
/s
Required. Hides the initialization dialog.
/v
Required. Passes parameters to the MsiExec.exe application.
/qn
Required. Runs the installation without displaying the external user interface.
/l*v \"<logfile>\"
Optional. Runs the installation with verbose logging, and logs to a specified .txt file.
installdir=\"<folder>\"
Optional. Specifies the folder to install UNICOM Intelligence Desktop. Not necessary if you install to the default folder:
[INSTALL_FOLDER]\IBM\SPSS\DataCollection\<version>\
addlocal=<products>
Optional. Defines the features to install. Replace <products> with one or more of the following. Separate names with a comma (no spaces). To install everything, use All.
Author
SurveyReporter
Professional
Interviewer
Paper
ScanAddon
TranslationUtility
No products are installed if addlocal is not defined during a new installation.
Only the products that are currently installed are upgraded when addlocal is not defined during an upgrade installation.
Examples
The following example installs UNICOM Intelligence Desktop into the default folder without logging the installation:
"UNICOMIntelligenceDesktop.exe" /s /v"/qn addlocal=All"
The following example installs UNICOM Intelligence Author and Survey Reporter into the default folder and logs the installation messages to a file called C:\log.txt:
"UNICOMIntelligenceDesktop.exe" /s /v"/qn /l*v \"C:\log.txt\"
addlocal=Author,SurveyReporter"
The following example installs all UNICOM Intelligence Desktop applications into the specified folder and logs the installation messages to a file called C:\log.txt:
"UNICOMIntelligenceDesktop.exe" /s /v"/qn /l*v \"C:\log.txt\" installdir=\"C:\MyInstallFolder\" addlocal=All"
The following example does the same as the previous example, but waits for the installation to complete before returning to the command prompt:
start /WAIT "UNICOMIntelligenceDesktop.exe" /s /v"/qn /l*v \"C:\log.txt\"
installdir=\"C:\MyInstallFolder\" addlocal=All"
If you use an alternative shell, for example PowerShell, refer to the documentation for that shell. For example, a PowerShell command line might look like this:
Start-Process -FilePath "UNICOM Intelligence Desktop 7.5 (x64).exe" -ArgumentList "/s /v`"/qn addlocal=All`""
This is equivalent to the following command prompt example.
"UNICOM Intelligence Desktop 7.5 (x64).exe" /s /v"/qn addlocal=All"
See also