Inno Setup tutorial, innosetup tutorial

Source: Internet
Author: User

Inno Setup tutorial, innosetup tutorial

I. Introduction

Inno Setup is a free installation and production software, which is small, simple, and exquisite. It supports pascal scripts and can quickly create a standard Windows2000 installation interface, sufficient to complete general installation tasks. The software is written in Delphi, and its official website also provides free download of source programs.

 

Ii. Download and install

Download the Inno Setup Compiler Chinese Version

http://download.csdn.net/detail/u011640816/8661183

After the Inno Setup Compiler Chinese edition is installed, the interface after the software is started is as follows:

 

Iii. Tutorial
The following uses the ePSXe1.50 Chinese version installation program as an example to describe how to use Inno Setup. Put all the files to be packaged in an empty folder (for example, D: \ pp-work ), select to create a new blank script file and click Next:

 

After entering the information in the corresponding project, next step:

 

After entering the information in the corresponding project, next step:



In this step, you must note that the main program file (the browsing method is recommended) is filled in at 1 in the figure, and then add the file to be installed in C: \ Program Files \ ePSXe Files. add directories one by one ). after adding all the directories to be installed, remember to edit them. Otherwise, all the Files will be installed in C: \ Program Files \ ePSXe: select the added directory in 2 and then click Edit


Enter the sub-directory name at Step 1. There are other options in step 2. You can install other files in other directories such as WINDOWS and SYSTEM, for example:

Set other directories in the same way. Next step:

 

Here is the corresponding fill, the next step:


You can modify the script (such as adding information to the Registry and adding an option to the program group). The generated script format is as follows in the program:

Add a shortcut in English in the program group and modify the working directory of the shortcut as follows:
Before modification:

... [Icons] Name: "{group} \ ePSXe 1.50 Chinese version"; Filename: "{app} \ p-epsxe.exe" Name: "{userdesktop} \ ePSXe 1.50 Chinese version"; Filename: "{app} \ p-epsxe.exe"; MinVersion:; Tasks: Too topicon...

After modification:

... [Icons] Name: "{group} \ ePSXe 1.50 Chinese version"; Filename: "{app} \ p-epsxe.exe"; WorkingDir: "{app}" Name: "{group} \ ePSXe 1.50 English version"; Filename: "{app} \ epsxe.exe"; WorkingDir: "{app}" Name: "{userdesktop} \ ePSXe 1.50 Chinese version "; filename: "{app} \ p-epsxe.exe"; MinVersion: 4,4; Tasks: Too topicon; WorkingDir: "{app }"...

After compilation, a SETUP. EXE file is generated, and the installation program is created!

Related Article

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.