09 - Silent Installations
Get a brief overview of how to perform silent or unattended installation for products, clients, and maintenance.
Silent or unattended installation does not require user intervention. You start silent installation from the command line using a simple text file called the silent installation file.
You can find templates of the silent installation files in the Disk1
folder of the installation CD. To perform silent installation modify these files and at the Windows command prompt, enter the relevant command.
The following sections provide details about silent or unattended installation:
- Installing Products in the Silent Mode
- Installing Client in the Silent Mode
- Installing Design Entry HDL-Allegro PSpice System Designer Library in the Silent Mode
- Performing Maintenance in the Silent Mode
Installing Products in the Silent Mode
- Modify the Disk1\silentinstall-SPB.ini file. Change the following variables:
- TargetDir: Specify the location where you want to install the products.
- MODE: Specify if you want to install all the products (MODE=COMPLETE) or a selected list of products (MODE=CUSTOM). Edit the Features section for the CUSTOM mode.
- WorkingDir: Specify the default working directory.
- ALLUSERS: Specify if the installation is for all users, (ALLUSERS=YES), or the current user (ALLUSERS=NO), which is the default.
- OVERWRITE_HOME: Specify if the value of HOME should be overwritten with the value specified for WorkingDir. By default, the value is set to Y.
- CONNECT_TO_EXISTING_SERVER: Specify the license server configuration information, the hostname, and the port number. If you do not have a license manager installed and configured, use the LIC_FILE_PATH variable.
- LIC_FILE_PATH: Specify the path to the license file received from Cadence. The installer will install a License Manager and configure the server with the license file information. This variable will be ignored if you also specify CONNECT_TO_EXISTING_SERVER along with this variable.
- Save the .ini file.
- In the Run dialog box, type the following and then click OK:
<path_to_DVD_image>\Disk1\setup.exe !quiet=<path_to_your silentinstall-SPB.ini file>\silentinstall-SPB.ini
Installing Client in the Silent Mode
- Modify the Disk1\silentClientinstall-SPB.ini file. You need to modify these three variables:
- WorkingDir: Specify the home directory
- FileServerLocation: Specify the server location.
- OVERWRITE_HOME: Specify if the value of HOME should be overwritten with the value specified for WorkingDir. By default, the value is set to Y.
- Run the setup by using the command:
<path_to_Disk1>\setup.exe -client !quiet=<path to silentClientinstall-SPB.ini
file>\silentClientinstall-SPB.ini.
For example, if you saved the modified silentClientinstall-SPB.ini to C:\temp
, then the command will be:
<path_to_Disk1>\setup.exe -client !quiet=C:\temp\silentClientinstall-SPB.ini
Installing Design Entry HDL-Allegro PSpice System Designer Library in the Silent Mode
- Modify the
.ini file
. You need to modify these three variables:
TargetDir:
Specify the location where you want to install the library fileALLUSERS:
Specify if the installation is for all users (ALLUSERS=YES
) or the current user (ALLUSERS=NO
), which is the default.- Features: Specify the products that you want to install
<path_to_Disk1>\setup.exe !quiet=<path to .ini file>\<.ini file>.
Similar to uninstalling the other installed products specify OnMaintenance = REMOVEALL in the [state] section to remove installed libraries.
Performing Maintenance in the Silent Mode
You might perform maintenance installation:
- To incrementally add new products: In this, the specified products are added to the existing installation. The installation of third party products is optional, except the following in case of installing Capture CIS or Design Entry HDL CIS for the first time: Crystal Reports and .NET Framework,
- To repair an existing installation: The installer will update the registry settings and environmental variables.
In addition, you can also perform maintenance to remove or roll back installation. In case of updating a release for a HotFix or performing a rollback, you use the two variables, Rollback
and IsrBackup
.
To perform unattended maintenance installation:
- Navigate to the
silentinstall-SPB.ini
file template from theDisk1\Documents
folder in the Windows DVD image. - Edit the following in the template:
OnMaintenance:
Specify whether you want to modify (OnMaintenance=MODIFY
), repair (OnMaintenance=REPAIR
), or remove (OnMaintenance=REMOVEALL
) the existing installation.UPDATE_VC_REDIST:
SpecifyY
if you want to update Microsoft Visual C++ Redistributable.CONFIGURE_FIREWALL:
SpecifyY
if you want to create firewall entries.
- Update the Features section by removing the comments (;) if you want to incrementally add new products.
- Save the .ini file.
- In the Run dialog box, type the following and then click OK:
<path_image>\Disk1\setup.exe !quiet=<path_to_your silentinstall-SPB.ini file>/silentin_to_DVDstall-SPB.ini
The silentinstall-SPB.ini file
The template Disk1\documents\silentinstall-SPB.ini
for silent installation contains various variables to set the different installation parameters. The file has three sections: State, Features, and Data. Most variables are commented using the semicolon (;). You can edit the file using any text editor and remove the comments, if needed, to use the variables. The following table describes the different variables.
Variable |
Description |
State |
|
TargetDir |
Specify the location where you want to install the products. This variable is in the State section of the template. For example, to install the products at the location |
RebootIfReqd |
Specify |
|
Specify the license server configuration information, the host name and the port number. If you do not have a license manager installed and configured, use the |
|
Specify the path to the license file received from Cadence. Installer will install a License Manager and configure the server with the license file information. This variable will be ignored if you also specify |
FileServerLocationDir |
Specify the server location. This is the shared location where products are installed. This variable is required for client installation. |
OnMaintenance |
You can specify whether you want to modify, repair, or remove installation. The possible values are |
ALLUSERS |
Specify if the installation is for all users ( |
GEN_DOC_INDEX |
Specify |
REMOVE_CADENCE_PATH |
Specify |
MODE |
Specify if you want to install all the products or a selected list of products. This variable is in the State section. To install all products, edit the file to If you specify the value of [Features]
|
UPDATE_CRSTAL |
Specify |
UPDATE_VC_REDIST |
Specify |
CONFIGURE_FIREWALL |
Specify |
IKNOWBEST |
Specify |
OVERWRITE_HOME |
Overwrites the value of |
USE_CTRL_FILE |
Specify |
CTRL_FILE_PATH |
Specify the absolute path to the control file. Used if USE_CTRL_FILE is set to |
Features |
Specify the products that you want to install in this section, if you had specified the |
Data |
|
WorkingDir |
Specify the default working directory. This variable is in the Data section. For example, to specify |
FootprintPath |
Specify the footprint path; commented by default. |
overwrite-lic-path |
Specify the port and host information to overwrite CDS_LIC_FILE. Commented by default. |
append-lic-path |
Specify the port and host information to append in CDS_LIC_FILE. Commended by default. |
If you have any questions or comments about the OrCAD X platform, click on the link below.
Contact Us