Installing Interviewer > Installing UNICOM Intelligence Interviewer from the command line
 
Installing UNICOM Intelligence Interviewer from the command line
You can install UNICOM Intelligence Interviewer 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.
To install from the command line
1 Microsoft Visual C++ 2010 SP1 Redistributable Package is automatically installed when performing a normal UNICOM Intelligence Interviewer installation. If the Microsoft Visual C++ 2010 SP1 Redistributable Package is not already installed on your system, you will need to manually install it prior to installing UNICOM Intelligence Interviewer from the command line. Failure to install the Microsoft Visual C++ 2010 SP1 Redistributable Package will result in UNICOM Intelligence Interviewer 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 the Start button and then choose Programs, then choose Accessories and then choose Command Prompt.
3 Change to the folder that contains the setup.exe file.
4 At the command prompt, enter a command in the following format:
start /WAIT setup.exe /s /v" /qn /l*v \"mylogfile\" INSTALLDIR=\"my_path\" "
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 MSI installer.
/qn
Required. Tells the MSI installer to run in Quiet mode, that is, not to provide any user interface.
/l*v \"mylogfile\"
Optional. Tells the MSI installer to log in Verbose mode to the file mylogfile.
INSTALLDIR=\"my_path\"
Optional. Defines the folder where you want to install UNICOM Intelligence Interviewer. Not necessary if you want to install into the default folder, which is [INSTALL_FOLDER]\IBM\SPSS\DataCollection\7\.
Examples
This example installs UNICOM Intelligence Interviewer into the default folder without logging the install:
setup.exe /s /v" /qn "
This example installs UNICOM Intelligence Interviewer 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\" "
This example installs UNICOM Intelligence Interviewer 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\" "
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\" "
See
Installing UNICOM Intelligence Interviewer