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
113
votes
33 answers

How do I fix maven error The JAVA_HOME environment variable is not defined correctly?

Issue: I am getting the Maven error "The JAVA_HOME environment variable is not defined correctly" when I run through Inno setup batch execution. However, I am able to run successfully outside Inno Setup.(e.g Command line, Batch file, Vbs). I am…
ramkumar-yoganathan
  • 1,918
  • 3
  • 13
  • 29
108
votes
5 answers

Inno Setup for Windows service?

I have a .Net Windows service. I want to create an installer to install that windows service. Basically, it has to do the following: Pack installutil.exe (Is it required?) Run installutil.exe MyService.exe Start MyService Also, I want to provide…
softwarematter
  • 28,015
  • 64
  • 169
  • 263
97
votes
13 answers

Inno Setup: How to automatically uninstall previous installed version?

I'm using Inno Setup to create an installer. I want the installer to automatically uninstall the previous installed version, instead of overwriting it. How can I do that?
Delta76
  • 13,931
  • 30
  • 95
  • 128
73
votes
7 answers

How do I automatically set the version of my Inno Setup installer according to my application version?

I am using Inno Setup to generate the installer of my application. How can set the version number of the setup.exe (VersionInfoVersion) generated by Inno to match with the version number of my application automatically? Now every time I deploy a new…
Salvador
  • 16,132
  • 33
  • 143
  • 245
72
votes
8 answers

How do I modify the PATH environment variable when running an Inno Setup Installer?

Inno Setup lets you set environment variables via the [Registry] sections (by setting registry key which correspond to environment variable) However, sometimes you don't just wanna set an environment variable. Often, you wanna modify it. For…
bandana
  • 3,422
  • 6
  • 26
  • 30
68
votes
2 answers

Inno Setup: pack folder with all subfolders

I have this line in .iss file: Source: "..\Tcl\*"; DestDir: "{app}\Tcl"; Flags: ignoreversion which packs folder Tcl. But it takes only files inside folder, but does not take subfolders inside Tcl. Is there a way to take entire folder Tcl with all…
Prog1020
  • 4,530
  • 8
  • 31
  • 65
61
votes
1 answer

Inno-setup 32bit and 64bit in one

Is it possible to add a file say "x64.dll" when it is a 64bit installation and "x86.dll" when it is a 32bit installation?
Revvion
  • 635
  • 2
  • 6
  • 5
60
votes
2 answers

Is the Verisign Timestamp server down?

I was trying to build my setup scripts with Inno Setup these past two days (1 & 2 Jan 2021) and the digital signing was failing. So I contacted Verisign via email and await their response.
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
56
votes
5 answers

Inno Setup: Verify that .NET 4.0 is installed

I have a component that requires .NET 4.0 to run, how can my Inno Setup installer verify that it is installed, and if not, prompt the user to install it?
Mediator
  • 14,951
  • 35
  • 113
  • 191
52
votes
5 answers

Installers: WIX or Inno Setup?

I'm comparing these two tools. The impression I have is: Inno Setup does not produce an MSI, but can do everything WIX can do WIX does produce an MSI, but has a steep learning curve Do you agree with this characterization? What other differences…
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
47
votes
1 answer

Inno Setup - #define directive - how to use previously defined variable?

I am using Inno Setup version 5.4.2. I want to define the path for the files to copy (the Source: parameter in the [Files] section as two parts, a base path and sub-directory names, that I use for special files (like .dlls). I have tried the…
LittleFish
  • 789
  • 3
  • 10
  • 15
46
votes
6 answers

How to make vcredist_x86 reinstall only if not yet installed?

In my inno setup RUN selection I force silent install of MSVCRT. I wonder how to make it install itself only if not yet installed? This is what I call now: Filename: {tmp}\vcredist_x86.exe; Parameters: "/passive /Q:a /c:""msiexec /qb /i…
myWallJSON
  • 9,110
  • 22
  • 78
  • 149
43
votes
5 answers

How can I install .NET framework as a prerequisite using Inno Setup?

I have a question similar to Inno Setup: Verify that .NET 4.0 is installed, but it seems to be slightly different. [Files] Source: "dependencies\dotNetFx40_Full_x86_x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall; Check:…
Wayne Werner
  • 49,299
  • 29
  • 200
  • 290
41
votes
4 answers

signtool fail with inno setup : 0x80070003 - "Store IsDiskFile() failed"

I'm getting a weird error whiles signing my software. I'm using inno setup 4.5.2. Running Sign Tool command: signtool.exe sign /a /f cert.pfx /v /t "http://timestamp.verisign.com/scripts/timstamp.dll" /p pwd /d "Setup Label"…
draeron
  • 1,218
  • 1
  • 10
  • 13
41
votes
3 answers

InnoSetup - Code Signing Certificate

I have just purchased a code signing certificate from Comodo. I have built a small MS Access database that I want to deploy with Inno Setup Installer. The script runs fine but I am completely new to code signing. How can I go about signing my…
mtn
  • 468
  • 1
  • 4
  • 7
1
2 3
99 100