Like many software offerings, CAPPS-NC and CAPPS-DMIS make use of InstallShield® as the installation tool. With InstallShield®, installing CAPPS-NC or CAPPS-DMIS can be performed with a silent install.

Response File
Like most silent installs, the installation starts with a command line and switch to indicate a silent install. There is, however, the need to respond to some basic questions during the installation. To address those questions and answers a file called a “response file” is needed to provide the answers to those install questions.
The response file can be manually created or can be recorded during an install.
If you are not familiar with manual creation of a response file, you may want to create a recorded response file. This will require performing an interactive installation once. Assuming you require a silent install to offer the ability to install on several machines remotely, running an interactive installation should hopefully not be problematic.
If you are comfortable with response files, a sample response file is at the end of this document.

Recording a Response File
Recording as response file is by far the easiest method of creating the necessary responses in the response file and avoiding having to enter GUIDs. To record a response file, start the CAPPS-NC or CAPPS-DMIS installation from a command prompt or from the run command and add a -r switch.
For example
C:\Users\vclem\Desktop\CappsNC8_x64_8_1_42_296.exe -r
Proceed with the interactive installation answering the required questions.
When the installation is complete, a responses file will be created in C:\Windows called “Setup.iss”.
You can now use that response file for the silent installations.
 

Performing the silent Install
The silent install is performed from a command line, and thus can be further automated with PowerShell or batch files or any of the multitude of automation options that allow command line input.
It is a good idea to explicitly state the path for the response file and to create a log file also.
The basic silent installation command below will generally fail even if the response file is in the same directory as the installation file.
C:\Users\vclem\Desktop\CappsNC8_x64_8_1_42_296.exe /s
 

To mitigate the failure potential, it is best to explicitly state the response file path using an “/f1” switch.
C:\Users\vclem\Desktop\CappsNC8_x64_8_1_42_296.exe /s /f1"C:\Users\vclem\Desktop\setup.iss"

It is also good practice to create an install log in case there are any issues. TO specify the path for a log file an “/f2” switch is added to the command.
C:\Users\vclem\Desktop\CappsNC8_x64_8_1_42_296.exe /s /f1"C:\Users\vclem\Desktop\setup.iss" /f2"C:\Setup.log"

The same command format as shown above should provide a successful silent installation of CAPPS-NC or CAPPS-DMIS.


Sample response file : “Setup.iss”

[InstallShield Silent]
Version=v7.00
File=Response File
[File Transfer]
OverwrittenReadOnly=NoToAll
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-DlgOrder]
Dlg0={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdWelcome-0
Count=11
Dlg1={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdLicense-0
Dlg2={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdAskDestPath-0
Dlg3={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdComponentMult-0
Dlg4={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-AskText-0
Dlg5={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-AskYesNo-0
Dlg6={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdSelectFolder-0
Dlg7={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdStartCopy-0
Dlg8={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-MessageBox-0
Dlg9={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-AskYesNo-1
Dlg10={3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdFinishReboot-0
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdWelcome-0]
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdLicense-0]
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdAskDestPath-0]
szDir=C:\CappsNC8
 Result=1

[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdComponentMult-0]
CAPPSNC-type=string
CAPPSNC-count=6
CAPPSNC-0=CAPPSNC\Datum_File
CAPPSNC-1=CAPPSNC\Sensor_File
CAPPSNC-2=CAPPSNC\Tol_File
CAPPSNC-3=CAPPSNC\View_File
CAPPSNC-4=CAPPSNC\AATcomp_dat
CAPPSNC-5=CAPPSNC\Tols_File
Component-type=string
Component-count=4
Component-0=AAT_Dongle
Component-1=CAPPSNC
Component-2=HelpFiles
Component-3=ProbeModels
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-AskText-0]
szText=5a9c4
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-AskYesNo-0]
Result=0
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdSelectFolder-0]
szFolder=CAPPSNC 2024
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdStartCopy-0]
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-MessageBox-0]
Result=1
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-AskYesNo-1]
Result=0
[{3A6E28CD-7792-49B0-8DF9-157F2A477F68}-SdFinishReboot-0]
Result=1
BootOption=0


Further Reading

For additional details on InstallShield response files, see the following:
https://docs.revenera.com/installshield24helplib/helplibrary/CreatetheResponseFile.htm