Overview
A silent install is an installation of a software program that does not require user interaction. For CEF UI, silent installation is performed using a Response file. Once a Response file is generated, it can be used to do the silent installation on any machine in the background. This reduces manual intervention and helps during bulk installation for multiple users.
Process
Please follow the steps below, to generate Response files and perform a silent installation of CEF:
- Open a command prompt as an administrator.
- In the command prompt, navigate to the location where the CEF installer is located.
- Run the following command:
setup.exe /r
Note: Please make sure that CEF is not installed. - The CEF installation procedure starts as a normal installation. Wait until it is finished.
- Copy the setup.iss file (Response file) from
C:\Windows
folder to the CEF installer location and rename it (e.g.,setup_install.iss
).
setup.iss has all details provided during installation like installation path, company name, etc. - In the command prompt, run the
setup.exe /r
command again. - The CEF uninstallation procedure starts normally. Wait until it is finished.
-
setup.iss file is updated with uninstallation details in the
C:\Windows
folder. Copy it to the CEF installer location and rename it (e.g.,setup_uninstall.iss
). - To execute the silent installation, run the following command:
setup.exe /s /f1"[installer_location]\setup_install.iss"
The silent installation of CEF is performed based on the details in the installation Response file. - If you wish to uninstall CEF without any user input prompt, go to the command prompt and run the command:
setup.exe /s /f1"[installer_location]\setup_uninstall.iss"
- Now, you can copy the generated Response files (for installation and uninstallation) to other machines and users can do silent installation or uninstallation by performing step 9 or 10.
Notes:- The Response file is mandatory to perform the silent installation/uninstallation.
The details in the Response file can be modified to set the installation path, company name, etc. - When step 9 or 10 is executed, a log file setup is generated in the same installer location with return code indicating success. The return code for success is
0
.
- The Response file is mandatory to perform the silent installation/uninstallation.
Comments
0 comments
Please sign in to leave a comment.