You may need to get the installation package parameters first, install package parameters get/? or/help
Installscrip Engineering
1. Run Setup using the-R parameter (that is, record) in the Command Line window.
For example:
Setup.exe-r
or setup.exe-r-f1 "C:\setup.iss"//-F1: Specify the ISS file output path
2. Normal installation, you cannot select the "Restart Computer Now" option after installation is complete
Other commands in the batch file could not be executed because of a computer restart
3. After the installer has finished running, open the C:\Windows directory
Then locate the Setup.iss file and save the file in the same directory as the program you are going to install silently setup.exe
4. Install silently with the following command:
Start/wait setup.exe/s/f1 "C:\setup.iss"/f2 "C:\setup.log"//F1: Input path, F2: Output path
If you execute Setup.exe directly from the read-only permission directory, the application installation will fail because you must specify the path to save the log file:
Setup.exe-s-f2 "%systemdrive%\setup.log"
To delete a Setup.log file:
DEL "%systemroot%\setup.log"
Resolve self-extracting executable silent installation failed
(log file content: [responseresult]resultcode=-5 is file does not exist):
Method 1.setup.exe-s-f1 "path to the response file"//Specify the ISS path.
Method 2. ADD The response file (that is, ISS files) to the Disk1 folder under Advanced Files in the Support files/billboards view.
Then build.
This method is to package the ISS file directly into EXE to solve the problem of unable to find response file. Only cmd is required for silent installation: Setup.exe-s is complete, no need to generate response file yourself.
Because the ISS file is packaged, users cannot customize the installation process, only according to the packaged ISS file, and there are certain problems. If a friend finds a better way, hope to share!
InstallShield Silent Installation