First, Introduction
Inno Setup is a free installation software, small, simple, beautiful is its biggest feature, support Pascal script, can quickly produce a standard Windows2000-style installation interface, enough to complete the general installation tasks. The software is written in Delphi, and its official website also provides free download of the source program.
Second, download the installation
Inno Setup compiler Chinese version download
http://download.csdn.net/detail/u011640816/8661183
After installing the Inno Setup compiler, the interface of the software is as follows
Iii. Use of Tutorials
The following to make ePSXe1.50 version of the installation program for example, the introduction of Inno Setup use method, the first to pack all the files into an empty folder (such as: D:\pp-work), choose to create a new blank script file, the next step:
After you fill in the information in the corresponding project, the next step:
After you fill in the information in the corresponding project, the next step:
This step to note, in the Figure 1 fill in the main program file (recommended browse method), and then press Add file, add the files to be installed in the C:\Program files\epsxe. Then add the directory, (can only add one by one, if the sub-directory more annoying). After you have added all the directories you want to install, remember to edit the directories you added, or all the files will be installed in C:\Program Files\epsxe by selecting the added directories in 2 and pressing edit
Fill in the name of the subdirectory at 1, there are other options in 2, you can install other files in other directories such as Windows,system, such as:
Other directories The same method is set up, Next:
Here is also the corresponding filling, the next step:
Scripts can be modified (such as in the registry add information, in the program group plus an option, etc.), the generated script format in the program is this:
Here to add an English version of the shortcut in the program group, and to modify the working directory of the shortcut, modify the following:
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:4,4; Tasks:desktopicon ...
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:desktopicon; Workingdir: "{app}" ...
Compile, compile and generate a SETUP.EXE file, the installation of the completion of the production of the program!
Inno Setup Tutorial