Silent exe installation is not easy. The easiest way is to use the msi package for this. Therefore, you need to extract msi from exe and call it with one of the following parameters:
- full user interface: / qf (this is the default option)
- reduced UI: / qr (user interface does not show any wizard dialogs)
- base interface: / qb, / passive (only a progress bar will be displayed during installation)
- no UI: / qn, / quiet (during installation, the user interface will not be displayed)
In Windows Vista and above, to install the package without problems, the installation package must be upgraded. Therefore, the parent process that calls setup.exe must start as an administrator.
If you want to install exe silently, there is still a lot to do. But it depends on what type of installation package you are trying to install. Find out what the installer software with which the package was created is, and then review the documentation that is included in the package. You need to look for command line arguments in the documentation, which allows you to run exe without problems, if possible. In addition, you need to find out if the package is installed for both the user and the machine, since different permissions determine the type of mark.
source share