Questions tagged [inno-setup]

Inno Setup is a tool to create setup programs with an embedded Pascal-derived scripting language.

Inno Setup is a freeware tool to create setup programs (installers) for the Windows platform, either as a single executable or multiple-disk, featuring the standard Windows 2000/XP-style wizard interface and capable to install on all versions of Windows released from 2000: Windows 10, Windows 8, Windows Server 2012, Windows 7, Windows Server 2008 R2, Windows Vista, Windows Server 2008, Windows XP, Windows Server 2003, and Windows 2000 (No service packs are required.)

Installation of 64-bit applications on the 64-bit editions of Windows is also possible, on x64 and Itanium architectures.

The setup program is created with a simple text script, containing some pre-defined sections, [Setup], [Files], [Registry], etc.

Setup functionality can be customized in the [Code] section, writing routines.

The tool is written in Delphi 5/2009 and full source code is available.

Other features of Inno Setup:

  • Customizable setup types, e.g. Full, Minimal, Custom.
  • Complete uninstall capabilities.
  • Includes integrated support for "deflate", bzip2, and 7-Zip LZMA/LZMA2 file compression.
  • The installer has the ability to compare file version info, replace in-use files, use shared file counting, register DLL/OCX's and type libraries, and install fonts.
  • Creation of shortcuts anywhere, including in the Start Menu and on the desktop.
  • Creation of registry and .INI entries.
  • Running other programs before, during or after install.
  • Support for multilingual installs, including right-to-left language support.
  • Support for passworded and encrypted installs.
  • Support for digitally signed installs and uninstalls.
  • Silent install and uninstall.
  • Unicode installs.
  • Integrated Pascal scripting engine option for advanced run-time install and uninstall customization.
  • May be used free of charge even in commercial applications.

Inno Setup supports usage of Third-Party Files for additional features like download files as part of your installation.

Detailed documentation is available, both online and offline.

4809 questions
2
votes
1 answer

Set focus on edit box after displaying message in Inno Setup

I want to set the focus on the edit box again after displaying message. portno := Edit.Text; if (portno = '') then begin MsgBox('Enter Port Number to proceed.', mbInformation, MB_OK); Result := False; end
2
votes
2 answers

How to set automaticly DefaultDirName for previous Inno Setup installation?

my previous installation (A) in Inno Setup has AppID={{8ADA0E54-F327-4717-85A9-9DE3F8A6D100}. I have another installation (B) with different AppID and I want to install it into the same directory as installation (A). How do I get automaticly…
Jiri
  • 23
  • 1
  • 3
2
votes
0 answers

How to translate information on a custom page created using CreateInputOptionPage

I have this below snippet in my script, I want to translate this to different language supported by my application. I looked at this solution but this doesn't seem to work in my case as this is for message box…
skr
  • 1,700
  • 1
  • 15
  • 39
2
votes
1 answer

Inno Setup Download plugin not able to download file due to TLS 1.1/1.2 issue

While i'm trying to download the file from Inno Setup download plugin, it fails with following error: When explored more on this error I identified that enabling TLS 1.1 or TLS 1.2 from Internet Explorer settings it worked fine. But when I run the…
Sudhakar Tillapudi
  • 25,935
  • 5
  • 37
  • 67
2
votes
1 answer

Inno Setup: How to change uninstall background color

I'm trying to figure out how to change the background color of the bottom panel in the UNINSTALLER to match the colors I was able to set for the INSTALLER using information I found here: Inno Setup: How to change background color Unfortunately, I…
Steve Valliere
  • 1,119
  • 7
  • 12
2
votes
1 answer

inno setup check dotnet core is installed

Inno setup check dotnet core is installed. Couldn't find REG_DWORD for .net core in Registry Editor. Could someone help me in locating the .net core version in Registry Editor to check if .net core is installed
Learner
  • 167
  • 7
2
votes
0 answers

How to make signed exe with inno setup

ERROR: The certificate is not valid because one of the certification authorities in the certification path does not appear to be allowed to issue certificates or this certificate cannot be used as an end-entity certificate Found this error on right…
user123
  • 79
  • 1
  • 7
2
votes
2 answers

Upgrading application - desktop icons - Inno

If a user has Star Dock Fences installed and they have moved the desktop icon into one of the fence panels, I find that whilst the short-cut will get removed during the upgrade it is then just re-inserted back on the desktop and I have to drag it…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
2
votes
1 answer

Inno Setup: How to handle progress bar on [UninstallDelete] section?

I use Inno Setup to make installer for my app. When user uninstall the app I want to delete my custom folder in Program Data folder, my folder is large (about 15 GB) so I use [UninstallDelete] section to delete this folder: [UninstallDelete] Type:…
Luan Pham
  • 187
  • 11
2
votes
2 answers

Adding a help button to an InnoSetup wizard page

I have a setup script with a custom wizard page to get a choice from the user. It would be nice to have a help button and to supply a small CHM file with the installable so that I can provide a detailed explanation of what the choices are. Anyone…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
2
votes
1 answer

Inno Setup - Running script does not work in the first attempt for a new machine

I have created a simple executable (.exe) file using Inno Setup Compiler 6.0.2 for installing a Windows application. The .exe file calls a vbscript "Setup.vbs" that unzips "Application.zip" file and updates environment variables. When I run the…
2
votes
1 answer

Quick Lanch bar and Inno Setup v6

My installer started off years ago and thus has a Quick Launch bar task. Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Public Talks"; \ Filename: "{app}\CommunityTalks.exe"; \ MinVersion: 4,4; \ Tasks: quicklaunchicon When compiling…
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
2
votes
1 answer

error Type mismatch after upgrading to 6.0.2 in inno

Code was working normally, but after upgrading to inno 6.0.2, i got an error when compile. Error: Type mismatch in line if LoadStringFromFile(TmpFile, ExecStdout) then code as below: function NextButtonClick(CurPageID: Integer): Boolean; var …
M.A_55
  • 135
  • 17
2
votes
4 answers

Vista Phantom Directory

We have a program that the installer checks for the existence of a config file, and if it exists, it doesn't copy that file over (it assumes the user has modified their config file and wants to keep those modifications). Unfortunately, this is a…
Kris Erickson
  • 33,454
  • 26
  • 120
  • 175
2
votes
1 answer

Inno Setup - Create directory in code section

I want to create directories in between the setup of the wizard. Is it possible to create those directories in the code section?
1 2 3
99
100