It may be useful, when you start publishing programs, to make a small "setup" that can easily install your application.
- It may also reduce the size of the software and of its components, by compressing them.
- For this, you can use the popupar programL Inno Setup Compiler.
- This is an open source software, to create a fully customized installer.
Inno Setup Compiler
Download and install Inno Setup.
To install it, click on "Run Inno Setup"
Creating the installer
Upon launching the software, a window appears to ask you what you want to do, in our case select "create a new script file using the Script Wizard."
- The software is in English, but the setup language can be changed to your preferences.
- A window "Welcome to the Inno Setup Script Wizard" appears, check "Create a new empty script file" and press on Next.
The next steps will require that you enter:
- The name of your application
- The version
- The name of the publisher (your name or the company's name)
- The publisher's site
Note that the fields in bold are complusory.
In the next window you need to enter information about how to install the application:
- Application based destination folder: the folder where it will be installed, leave it to Program Files.
- Application folder name: the name of the subfolder to be created in Program Files, I suggest you to put the name of your application.
- Check the "Allow user to change the application folder" if you want the user to be able to change the destination folder
- Do not check the last box (The application doesn't need a folder".
You are then asked information about the executable of your application (the *.exe):
- Specify its location in the first field.
- If you want the user to launch the application at the end of the installation, check "Allow users to start the application after Setup has finished".
- Do not check the second box, it's for applications with no main executable.
Important: be sure to include ALL files required to run the application in the "Other application files" field, for example sounds, images, *. dll, etc ...
In the next step, we will set the parameters shortcuts that will be created by the setup:
Specify the folder name that will be created in the Start menu in the first field
- First box: Allow users to change the folder name in the start menu
- Second box: Allow users to Accept/decline the creation of a folder in the start menu
- Third box: create a link to your website in the Start menu
- Fourth box: create an uninstall icon in the Start menu
- The box "Allow users to create a desktop icon" will give the opportunity to create a desktop shortcut
- The box "Allow users to create a Quick Launch icon" will give the opportunity to create a shortcut in the Quick Launch toolbar (
In the next window, we will take care of the license:
- Just create a text file where you write the terms of the license application. Save it as *.txt or *.rtf for further formatting.
- Select the first field in the window: "License file".
- Fields 2 and 3 allow you to display the information before and/or after installation, by selecting a text file.
Enter the language of the setup in the next step. If multiple languages ??are selected, the option to change language will be requested at the beginning of setup.
We must now specify where to create setup.exe.
- Specify the folder in the first field, the name of the setup (*.exe extension will be added automatically) in the second field, the location of the setup icon in the third field (optional) and finally, you can request a password to install your application.
- In the final window, click on "Finish" and a script will be generated.
In the dialog box that appears, click "Yes" to create your setup, or "No"to manually edit the script, you can then compile it by clicking on "Build" in the menu bar, then "Compile".
You can save the script, for further modification.
Launch your setup
By going to the specified destination folder (When you compiled your script), you will see the *.exe file.
This document, titled « Create an installation setup - Inno Setup Compiler », is available under the Creative Commons
license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM