Installing Desktop > Installing UNICOM Intelligence Desktop > Installing from the command line
 
Installing 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 on its own without intervention so users are not required to provide input to dialog boxes.
To install from the command line
1 The Microsoft Visual C++ 2008 SP1 and C++ 2010 SP1 Redistributable Packages are automatically installed when you perform a normal UNICOM Intelligence Desktop installation. If the Redistributable Packages are not already installed on your system, you will need to manually install them prior to installing UNICOM Intelligence Desktop from the command line. Failure to install the Redistributable Packages will result in the UNICOM Intelligence Desktopapplications not functioning properly.
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 Open a command prompt. For example, in Windows, click Start and go to:
All Programs > Accessories > Command Prompt
3 Change to the directory containing the Installer file (UNICOMIntelligenceDesktop.exe).
4 Enter a command in the following format to start the installation:
start /WAIT "UNICOMIntelligenceDesktop.exe" /s /v"/qn /l*v \"mylogfile\
" installdir=\"my_path\" addlocal=ProductNames"
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 \"mylogfile\"
Optional. Runs the installation with verbose logging, and logs to a specified .txt file.
installdir=\"my_path\"
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=ProductNames
Optional. Defines the products/features to install. Replace ProductNames with one or more of the following. To install multiple products, separate names with a comma (no spaces). To install everything, use All.
Author
SurveyReporter
Professional
Interviewer
Paper
ScanAddon
TranslationUtility
No products are installed when 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"
Note 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
Installing UNICOM Intelligence Desktop