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
1
vote
0 answers
InnoSetup v6 ARC Extraction, Minimize Broken
InnoSetup v6
Extracting from a FreeArc 0.67 (March 15 2014) Archive using temporary file unarc.exe, during the extraction process the minimize window button is broken.
Using FreeARC because it's the best compression software I can find to…

SpyShadow
- 29
- 3
1
vote
0 answers
Inno Setup 6.0.3 recursesubdirs can't handle chain of subdirectories without standalone files
Source: "C:\folder1\*"; DestDir: "C:\folder1"; Flags: recursesubdirs;
The above line can't handle the following file structure:
C:\
folder1\
folder2\
folder3\
in each subdirectory, there is no standalone files, except a…

For Comment
- 1,139
- 4
- 13
- 25
1
vote
2 answers
How to line break in StatusMsg in InnoSetup?
Filename: "{app}\program.exe"; Parameters: -d; \
StatusMsg: "How to put line break after this sentence? This sentence should be on new line."; \
Flags: runascurrentuser;
I tried + #13#10 + and %n but they didn't worked.

user4997999
- 21
- 6
1
vote
1 answer
How to change LoadStringFromFile function from Inno Setup 5 to Inno Setup 6 and make it work
I am trying to convert my code from Inno Setup 5 to 6. I can't make the following code work.
My old working code was:
procedure CurStepChanged(CurStep: TSetupStep);
var
FileData: String;
begin
if (CurStep = ssInstall) then
begin
…

Peter Star
- 47
- 5
1
vote
1 answer
Inno Setup 6 Beta does not show RTF license
I resolved most of the warnings for compilation and decided to try the modern install. Towards the end of the install I saw this page:
All the languages had a link to the RTF file. Eg:
Name: "English"; MessagesFile: "compiler:Default.isl";…

Andrew Truckle
- 17,769
- 16
- 66
- 164
1
vote
0 answers
Using RegQueryStringValue with Inno Setup 6.0.0 and HKCU. GetPathInstalled
Using the Inno Setup 6.0.0 beta I get this warning:
Warning: The [Setup] section directive "PrivilegesRequired" is set to "admin" but per-user areas (HKCU,userappdata,userdesktop) are used by the script. Regardless of the version of Windows, if the…

Andrew Truckle
- 17,769
- 16
- 66
- 164
0
votes
1 answer
Environment Variable Set Successfully but Not Updating After Setting in Inno Setup Script
Hello Stack Overflow community,
I'm facing an issue with an Inno Setup script and need some assistance. During the installation of an executable (Exe), I'm required to set up an environment variable for MongoDB. My objective is to create a Windows…

Harsh Patel
- 1,032
- 6
- 21
0
votes
0 answers
Add screen to installation process with InnoSetup
I used InstallShield to create installations until now, but I no longer have license for it, therefore I looked for a free alternative and found InnoSetup.
I wrote an .iss file script based on a template I found, but I wasn't able to find a way to…

asaf
- 21
- 4
0
votes
0 answers
Inno Setup installer script that can read a variable from the registry
I am not a programmer, but a CAD designer. However, I need to create an installer for a database of 3D models for my employer. Browsing the internet, I chose Inno Setup. I am asking you for help.
Assumptions:
the PATH variable contains data read…

PapagoFX
- 1
0
votes
0 answers
Is there a way to known InnoSetup installation abort/failure reason within Inno Setup Pascal script
I need to know for app stats reason from within Inno Setup Pascal script why InnoSetup installation/uninstallation failed.
i.e. Was the installation user cancelled, was there an error and the error itself.
I can hack my way around for the user…

Niki
- 558
- 4
- 10
0
votes
0 answers
Inno Setup 6.2.1 web Download components problem
Having problems when Components section added to Inno Setup 6.2.1 download installation. Compiles ok, but unable to locate temporary file problem when code is run. What extra needs to be done when this download code is used for a components…

Jenn
- 111
- 7
0
votes
0 answers
Downloading files defined in start arguments with Inno Setup Script
I'm trying to make a script that downloads a file. That works. But now I want to define, which file should be downloaded using the start arguments, but it seems to not accept the parameters.
Thats the code:
function NextButtonClick(CurPageID:…

Code Crafter
- 1
- 1
0
votes
0 answers
Radio button placement issue in Inno Setup license page
I followed @Martin's answer here on how to create two license text pages using Inno Setup.
Reposting the code again for quick reference.
[Code]
var
SecondLicensePage: TOutputMsgMemoWizardPage;
License2AcceptedRadio: TRadioButton;
…

light
- 43
- 5
0
votes
1 answer
Inno Download Plugin - how detect modal buttons?
For our purposes, we decided to use Inno Download Plugin and Inno Setup version 6.2.0
We switched the installer to silent mode to get rid of unnecessary windows and buttons. It turned out somehow like this (I don’t attach idp.iss, it’s…

Aleksandr Podaruev
- 93
- 1
- 1
- 7
0
votes
0 answers
Inno setup pascal script call power shell script file by relative path doesn't work
In test.ps1:
Remove-Item -Path "E:\temp\123.txt" -Force -ErrorAction Continue
In example.iss:
#define path "..\functions\test.ps1"
;#define path "E:\source\functions\test.ps1"
[Code]
var
ResultCode : Integer;
function PrepareToInstall(var…

Wayne
- 1
- 1