Free scripting engine that allows you to use most of the Object Pascal language within Delphi or Free Pascal projects at runtime.

1
vote
2answers
13 views

Execute program with random number as a parameter in Inno Setup?

How can I include an random number in a string in Inno Setup?[Run]#define rndH Random(24) #define rndM Random(60)Filename: "schtasks"; \Parameters: "/Create /F /SC DAILY /ST {rndH}:{rndM} /RU ...
1
vote
1answer
29 views

How to get volume name from GetVolumeInformation in Inno Setup?

I try to get the volume name in Inno Setup from Windows API. The serial number is returned correctly but the volume name is empty. I used the code of 'kobik' in this thread:How can I use ...
0
votes
0answers
26 views

inno setup call a function from a procedure [duplicate]

I am trying to call a function from a procedure like so//////////////////////////////////////////// Add Firewall Exception /////////////////////////////////////////// procedure ...
0
votes
0answers
10 views

How to edit a value in a .reg file with inno setup? [duplicate]

If I have a .reg file that will be used for my program portable version and I need to edit or change an existing value in it, for exemple the "RegName" value, replacing it with {userinfoname}:...
0
votes
0answers
16 views

Inno Setup checked/unchecked checkbox [duplicate]

There is a piece of code that deletes and creates the Updates folder. Help, how to implement - if the folder is empty, then the checkbox is inactive and the message "Clear the Updates folder (files ...
-1
votes
0answers
37 views

InnoSetup - Passive install with background image?

InnoSetup installs passive with /SILENT command-line argument. But the installer does not show the background image during this process. How to run the installer passive while showing the background ...
0
votes
0answers
25 views

InnoSetup - GIF backgroung image? [duplicate]

I use the following code to display a background image in InnoSetup,procedure InitializeWizard();varBackgroundImage: TBitmapImage;beginBackgroundImage :=TBitmapImage.Create(MainForm);...
2
votes
1answer
35 views

Inno Setup and Two conditions in Check

I'm writting a simple Inno Setup Script for my application.I did all the stuff I wanted but I'm blocking on something.My app has two mode, Computer and Client that the user chooses at the start of ...
2
votes
1answer
50 views

CreateInputDirPage/TInputDirWizardPage does not create the selected directory

I need to browse or create a new directory at the end of my setup for my database files.I create an TInputDirWizardPage to choose the directory, and I use a button to launch database installation....
1
vote
1answer
54 views

Inno Setup: Checking existence of a file in 32-bit System32 (Sysnative) folder

I have a sys file in the System32\Drivers folder called gpiotom.sys (custom sys file). My my application is strictly 32-bit compatible only, so my installer runs in 32-bit mode. My script needs to ...
2
votes
1answer
81 views

Inno Setup how to change the font color or style of label on TInputFileWizardPage

I have a input file wizard page where I select a file and proceed with the next page. The code is as follows.[Code]varPageFileSelect: TInputFileWizardPage;function CreateFileSelectPage(): ...
2
votes
1answer
57 views

Checking if only one specific component is selected in Inno Setup

I have a requirement to skip a page when only a particular component is selected in the component selection page. Please look at the below image[Components]Name: DBS\TRACE; Types: DBS TBLWOS; ...
1
vote
1answer
54 views

What does the “if” statement mean in Inno Setup Pascal Script

if x <> '' then beginResult :=True;end else beginResult :=False;end;For when "if" statement will be executed?
2
votes
1answer
31 views

Inno Setup save user inputs from an after-installation custom page to registry?

Related to this question:In Inno Setup how to save user inputs to registry?When doing this:[Code]varUserInputsPage: TInputQueryWizardPage;function GetUserName(Param: string): string;begin...
1
vote
1answer
60 views

How to set creation time of existing file in Inno Setup Pascal Script

When copying a file by FileCopy (or also RenameFile) from a directory to another one an original creation time changes to the current date. I would like to set the creation time to the original one....

153050per page
angop.ao, elkhabar.com, noa.al, afghanpaper.com, bbc.com, time.com, cdc.gov, nih.gov, xnxx.com, github.com,