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

Check local port is free from Inno Setup without netstat usage

My question was asked here before, but I'm trying to implement a neater solution for my project. So, as title states, I'm creating a complex installer of the server application that has to check local IP address and choose a open port, so that the…
MasterAler
  • 1,614
  • 3
  • 23
  • 35
2
votes
0 answers

Python program with nuitka created exe and inno setup installer crashes: Faulting module python37.dll

I have a python program which I have compiled into an exe using nuitka: python -m nuitka --standalone --follow-imports --enable-plugin=qt-plugins --mingw64 rs_main.py This creates a exe in a distfolder which contains many dll's and pyd's. This exe…
user180146
  • 895
  • 2
  • 9
  • 18
2
votes
1 answer

Inno Setup installation - access is denied

I have created an installation with inno setup. My app (among other things) after is run creates a pdf file inside a subfolder and then opens it. But windows 7 says access denied and exception pops up. What's wrong? How to grant access to subfolders…
user645976
2
votes
1 answer

Inno Setup: How to show (hide/unhide) password on checkbox checked

I am adding a checkbox to my input query page to use it to show me the password uncovered, when is checked. But I don't know how to do that. I already created the following procedure. But this procedure does not change me the true false value on add…
Peter Star
  • 47
  • 5
2
votes
1 answer

How to check if file exist and ask to overwrite in Pascal Script code

function CreateLICStopServiceBatch(): boolean; begin Result := true; fileName := ExpandConstant('{code:GetBasicDirectoryValue}\{code:GetInstance}\_Service\Stop_LIC_Service.bat'); SetArrayLength(lines, 3); lines[0] :=…
2
votes
2 answers

WIN7 & Inno-Setup: How to make a program "auto-launch for all users" run under each user's name

This question resulted from my another question. Please see more background here. From the other post, it turns out my app has to run under current account holder's name. I'm using Inno-setup for installing this app. There is a option to install…
newman
  • 6,841
  • 21
  • 79
  • 126
2
votes
0 answers

How to get length of dynamic array in Inno Setup?

Here is my code: [Setup] AppName=My Program AppVersion=1.5 DefaultDirName={pf}\My Program DefaultGroupName=My Program UninstallDisplayIcon={app}\MyProg.exe OutputDir=userdocs:Inno Setup Examples Output [Code] const CLSID_SetupConfiguration =…
ilya
  • 41
  • 1
  • 1
  • 5
2
votes
1 answer

Open external program inside Inno Setup window

I have some animations in Exe format, I need to load them inside a panel in Inno Setup. I have found these about Delphi: http://www.delphipages.com/forum/archive/index.php/t-200729.html How to shell to another app and have it appear in a delphi…
Inside Man
  • 4,194
  • 12
  • 59
  • 119
2
votes
1 answer

Inno Setup - Create folder in Public Users Documents in Windows 10

I am trying to add a folder to an installation which will eventually hold user output data. I can't put a folder into Program Files because users will not have the required permissions to write to it. If it is not being installed to Program Files,…
Steve
  • 808
  • 1
  • 9
  • 14
2
votes
1 answer

my laravel php desktop application doesn't work after creating installer with inno installer

I have converted this php application into a windows application using php desktop. I have converted mysql db to sqlite and it works fine. However, after creating its setup using inno installer, the app returns a blank page and I cannot understand…
2
votes
2 answers

INNO Setup: How to get the primary monitor's resolution?

I'm trying to script an installer with INNO and I am stuck at a point where I need to get the screen resolution of the machine in which the setup is running and use that value to create a shortcut in the desktop with that resolution as one of the…
Vite Falcon
  • 6,575
  • 3
  • 30
  • 48
2
votes
2 answers

Using path/value specified on Inno Setup compiler command-line in Inno Setup script

I want to pass a path (via command line arg /D to the script compiler) to my executable to let my script determine the application version number using GetFileVersion, but my syntax isn't correct. How do I pass an argument to GetFileVersion? The…
Jana Andropov
  • 121
  • 11
2
votes
0 answers

Pass custom parameters to .iss script

I am trying to automatize building my application installer. I build an installer using Inno Setup Compiler. Now what I'am trying to do is to execute batch command in Jenkins that produces my program installer every time my application is built…
Biba
  • 631
  • 9
  • 28
2
votes
1 answer

Inno Setup Compiler adding trailing spaces to executable details (ex.: FileVersion, LegalCopyright, ...)

What could be the possible cause of trailing spaces in Version Info of the resulting executable file? How to remove them ? (Removing the spaces with Resource Hacker yields the executable corrupted) This is the excerpt from Version Info, viewed with…
wonderingdev
  • 1,132
  • 15
  • 28
2
votes
1 answer

App compiles fine in Visual Studio but crashes when launch from the Installer created in Inno Setup 5

I 'm currently trying to make an installer for a Windows/WPF application developed in Visual Studio Community 2015 using Inno Setup 5.6.1. The application compiles without any errors in Visual Studio but for some reason it crashes when launched…
fs_tigre
  • 10,650
  • 13
  • 73
  • 146
1 2 3
99
100