Inno Setup is a free installer for Windows programs by Jordan Russell and Martijn Laan. First introduced in 1997, Inno Setup today rivals and even surpasses many commercial installers in feature set and stability. Please Limit the tag for asking questions to Inno Setup
Questions tagged [inno-setup-v6]
43 questions
5
votes
1 answer
Inno Setup 6 cannot use DLL function with string parameters, while it works in Inno Setup 5
We are currently using Inno Setup version 5.5.3 to build an installer. I am planning to upgrade this version to 6.1.2.
We use Inno Setup for installation of our product. We ship a license code along with installer, and user enters the license in a…

Kira
- 53
- 2
3
votes
1 answer
Why is installer compiled in Inno Setup 6 one MB larger than in Inno Setup 5
I have an Inno Setup script to make my application into an exe.
When I compile the code using Inno Setup version 6, the output file size is 110MB (as shown in Windows Explorer size column)
But when I compile the same script in Inno Setup version 5,…

user3164187
- 1,382
- 3
- 19
- 50
2
votes
1 answer
Inno Setup shows "Failed to open included file" error message after compilation if include file is deleted after include
I need to (trust me on that) make use of a tool that generates a file list which is included in the installer.
The file with the generated list of files is deleted right after the include.
When compiling the script, Inno Setup includes the file…

ralfiii
- 584
- 4
- 13
2
votes
2 answers
Change download location for Inno Setup TDownloadWizardPage
I'm using Inno Setup's download system, but I would like to change the download folder from {tmp} to another one, can someone help me?
of:
DownloadPage.Add('{#LinkJava}', ExpandConstant('{tmp}\Java.exe'), '');
for:
DownloadPage.Add('{#LinkJava}',…

Felipe Alves
- 21
- 2
2
votes
1 answer
Display the info about wrong hash of downloaded file in a nice task dialog window in Inno Setup
I originally asked about this question on another platform (here).
In Inno Setup it has the following message definition:
ErrorFileHash2=Invalid file hash: expected %1, found %2
This message is displayed when the installer tries to download and run…

Andrew Truckle
- 17,769
- 16
- 66
- 164
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
1
vote
0 answers
Inno Setup - How to fill a button with an image in Inno Setup?
Base on this question:
How to create an image button in Inno Setup?
How to fill the entire button with the image in Inno Setup? At the same time use different images on one button such as for, mouse click, mouse hover, disabled and normal view?

Codename K
- 890
- 4
- 23
- 52
1
vote
0 answers
what is the best and right way to patch a file in inno setup using xdelta (IsDone, run bat)
I want to patch one big file (~1GB) inside of my installer that I created with inno setup
for creating the binary different patch file I think the best way is using xdelta (if there is any better ways I will be happy to hear it), but I'm not sure…

file-tracer
- 329
- 1
- 7
1
vote
0 answers
Inno Setup Exit Setup page shows buttons in system language, not in setup language
When canceling a Inno Setup installation via the [Cancel] button, the "Exit Setup" page gets opened. On this page the main text is shown in the language that was selected when started the setup procedure. But the buttons for chose yes/no they are…

Phil_
- 11
- 2
1
vote
1 answer
Writing custom Electron-Forge Maker
I been trying to extends electron-forge by creating a new maker, to use innosetup.
Now the documentation is very clean and clear on how to create the new maker by extending the MakerBase and implementing isSupportedOnCurrentPlatform and make, but…

Moe Abry
- 21
- 1
- 4
1
vote
1 answer
Inno Setup encryption and password from remote
I am using Inno Setup to create installer for my pyinstaller based project. We wanted the user to enter password to continue with installation. For that we have place "CheckPassword" function to validate password from remote location.
Unfortunately…

soachishti
- 341
- 2
- 13
1
vote
1 answer
Automate obtaining the SHA256 for a file to download with Inno Setup 6.1?
The documentation for DownloadTemporaryFile says this about the RequiredSHA256OfFile parameter:
If RequiredSHA256OfFile is set it will compare this to the SHA-256 of the downloaded file and raise an exception if the hashes don't match.
An exception…

Andrew Truckle
- 17,769
- 16
- 66
- 164
1
vote
0 answers
How to override a third-party installation directory with inno setup
I need to install a thirdparty software embedded in a installer named thirdparty-installer.exe and also install my application Instruct.exe. My application will be at c:\MyAPP folder and all my thirdparty files must be at c:\windows\system32 (all…

ldnamdd
- 37
- 5
1
vote
1 answer
How to open a web site after uninstallation in non-elevated mode?
Having used the code posted here to launch a web page after uninstall, I note that ShellExec starts the browser with the elevated credentials used by default by the Programs and Features control panel when starting the uninstaller.
Using…

user9309385
- 11
- 2
1
vote
0 answers
How to suppress prompt of wizard.close
What I want to do:
If the user clicks "Next" on wpWelcome and if an old version of the app is found on the computer, then I prompt a msgbox.
If the user clicks "cancel" on msgbox then I want to abort installation and close wizard without prompt,…

Wuyoung Ch
- 43
- 5