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
2 answers

Inno Setup can't handle Source path with space

my application has this directory that I need to include in the install package: bin\Win Files\* So, in the [Files] section, I have this line: Source: "bin\Win Files\*"; DestDir: "{app}\bin\Win Files"; Flags: ignoreversion; Permissions:…
For Comment
  • 1,139
  • 4
  • 13
  • 25
2
votes
1 answer

How to check if CAPICOM is installed?

My application uses CAPICOM. It may not be installed in some machines, so the installer needs to install it. I already added the msi installers to run on installing my application. Is there any way to test in Inno Setup if CAPICOM is installed to…
marciel.deg
  • 400
  • 3
  • 17
2
votes
2 answers

Adding files to all users 'My Documents' folders in Windows

I am creating an installer (using Inno Setup) for a windows application. The app has initial documents that I need to store in the users 'My Documents' folder. Here is the issue, I install it as an Admin, but there may be one or many non admin users…
Jai
  • 3,549
  • 3
  • 23
  • 31
2
votes
2 answers

innosetup - capturing events from wizard page controls

I have seen answers for capturing events from user-created controls on wizard pages, but how do you do it for controls created as a result of a call to CreateInputOptionPage? For example: InputOptionPage := CreateInputOptionPage (wpWelcome, …
rossmcm
  • 5,493
  • 10
  • 55
  • 118
2
votes
1 answer

How to run a Set-ProcessMitigation PowerShell cmdlet in Inno Setup Run section

I want to run some commands in PowerShell after my Inno Setup install. But at the end it or shows the command without running or show the term error. [Run] …
b1n
  • 37
  • 10
2
votes
1 answer

How to force a reboot in post-install in Inno Setup

In my setup I have to install an external driver. In some rare cases the installation fails and I have to remove the old driver and reboot before I can try again. I install the external driver in the ssPostInstall. procedure CurStepChanged(CurStep:…
Jens
  • 347
  • 1
  • 12
2
votes
1 answer

Download additional files based on contents of first download using IDP

Want to download files based on contents of first download using Inno Download Plugin (IDP). How to do that? Here is my code [Code] procedure InitializeWizard(); var line: string; line2: string; url: string; appname: string; begin …
user12106800
2
votes
1 answer

Associate my QT application with video/image files in Inno Setup

I have developed QT application to view image/videos. I am deploying the application using windeployqt and have created setup.exe using Inno Setup tool. I have already implemented code to show up image when opened through my app. Now I want my…
Anonymous
  • 336
  • 3
  • 23
2
votes
2 answers

Unable to change registry entry through Inno Setup Installer

I want to write installer for the application which is designed for x64 Windows 10. I have defined in Inno Setup Script: [Setup] MinVersion=10.0.14393 ArchitecturesAllowed=x64 ArchitecturesInstallIn64BitMode=x64 AlwaysRestart=yes Also I want that…
Biba
  • 631
  • 9
  • 28
2
votes
1 answer

Inno Setup - Prevent desktop shortcut from opening a subfolder instead of running executable with the same name

I use Inno Setup to create installation files and recently found an issue and I can't see a workaround. My app is not launched directly, it is launched from inside another program, matlab. So my Files and Icons look like this: [Files] Source:…
Justin
  • 35
  • 4
2
votes
1 answer

Enable NTFS long paths through Inno Setup Compiler script

My application needs to have long paths enabled. I figured out that enabling long paths in registry through .iss script is quite well documented, but what I also have to do is to Enable NTFS long paths. Manually I would do it like that: Computer…
Biba
  • 631
  • 9
  • 28
2
votes
1 answer

How to change the License page default header "License Agreement" in Inno Setup?

I want to change the default header "License Agreement" in the license page in Inno Setup. I am unable to find anything to do so.
user62039
  • 371
  • 2
  • 15
2
votes
1 answer

Write HKLM when installed as Administrator, but HKCU otherwise, in Inno Setup

I've created my Inno Setup installer and it is working great. I just have one issue I'd like to solve. Not all of my users have Administrator rights, so my app has been set up to allow non admins to install. The problem is, I have set up a file…
Aaron
  • 81
  • 6
2
votes
1 answer

Conditionally install x64 drivers with Inno Setup

I am attempting to use Inno Setup to bootstrap a WiX generated .msi file with all required prerequisites. For the most part this is working quite well, but I cannot locate any information to conditionally install and run a prerequisite installer…
Rob Hunter
  • 2,787
  • 4
  • 35
  • 52
2
votes
2 answers

How can I create a INI-file in the {commonappdata} which can be written to by any uses when using Innosetup

If I want to create files in the {commonappdata} folder, I need to add the Permissions:users-modify parameter on a [Files] Source:... line. This works great ( I finally figured out how to make sure no roaming folder was used when changing one of the…
Edelcom
  • 5,038
  • 8
  • 44
  • 61