InstallShield Silent Installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.