Join us in building a kind, collaborative learning community via our updatedCode of Conduct.

Questions tagged [pascalscript]

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

31
votes
1answer
16k views

Inno Setup: How to watch variables values or write to debug output?

How can I watch values of variables while debugging in Inno Setup? How can I print something to debug output?Thanks
18
votes
2answers
14k views

InnoSetup: Getting AppName in [Code] section

I'm creating an installer using InnoSetup, and writing some custom handlers in a [Code] section. In one of the handlers, I would like to be able to retrieve the value of the AppName (or, potentially, ...
12
votes
1answer
5k views

LoadStringFromFile and StringChangeEx from Unicode Inno Setup (Ansi file)

I'm trying to update one of my scripts to use the Unicode version of Inno Setup. Unfortunately I'm running into a problem where StringChangeEx is expecting to see a unicode String instead of the ...
10
votes
1answer
5k views

How to show a hyperlink in Inno Setup?

I'm making a validation in my Inno Setup installer to check whether or not a Microsoft update is installed on the machine, if not, I'm showing a simple message box telling the user that the update is ...
9
votes
3answers
3k views

Making an IDE using Pascal Script and SynEdit

I'm creating a built-in script engine using PascalScript from RemObjects (excellent) and the SynEdit editor. It's almost finished using the IDE example shipped with PascalScript and the IDE example in ...
8
votes
2answers
12k views

How do read and set the value of a checkbox in an InnoSetup wizard page?

I have added a checkbox to the "Additional Tasks" page of an InnoSetup script with[Tasks]Name: "StartMenuEntry" ; Description: "Start my app when Windows starts" ; GroupDescription: "Windows ...
8
votes
1answer
3k views

Inno Setup: How to manipulate progress bar on Run section?

Similar to this question:How to set the progress bar value in the [Run] section of the Inno Setup install script?When the Inno Setup gets to the [Run] section, the progress bar shows at 100% and ...
8
votes
2answers
1k views

Loading pre-compiled script in RemObjects Pascal Script (Delphi)

I am trying to load a pre-complied RemObjects Pascal Script in Delphi at run-time. However when I try to load it Delphi excepts with 'Cannot Import VALUE_TEAMCODE.' Value_TeamCode is a function in ...
7
votes
1answer
9k views

Proper structure syntax for Pascal if then begin end and ; (in Inno Setup)

It has been around 20 years since I last had to write in Pascal. I can't seem to use the structure elements of the language correctly where I am nesting if than blocks using begin and end. For example ...
7
votes
2answers
5k views

Inno Setup - Multiple Images display (slideshow) on wpInstalling Page under ProgressGauge bar

I have prepared simple script that displays image under ProgressGauge bar on wpInstalling Page.But... I need more complex functionality.What I need is multiple images show, each after X (e.g. 7) ...
7
votes
2answers
1k views

How to pass the interfaced object to the Pascal Script function call?

Delphi part:I have a class with the event and from that event I need to call a procedure passing the interfaced object to it. It works fine in Delphi but I have problems with declaring it in Pascal ...
6
votes
2answers
5k views

How to split a string in Inno Setup

How can I split a string in Inno Setup?Is there any special function in Inno Setup to split the string?I want to get the following from the string '11.2.0.16':tokens: array of string=('11', '0',...
6
votes
3answers
4k views

How to return a string from a DLL to Inno Setup?

I need to return a string value to the calling inno setup script. Problem is I can't find a way to manage the allocated memory. If I allocate on the DLL side, I don't have anything to deallocate with ...
6
votes
2answers
4k views

How can I use GetVolumeInformation in Inno Setup?

I need to get the volume serial number for a drive letter during an installation created with Inno Setup. I know that DLL functions can be imported into Inno, but I'm fairly new to it and having some ...
6
votes
1answer
5k views

How to check if an object is NULL in Inno Setup Pascal Script?

I am writing a pascal function using Inno setup studio which checks if an object is null and does somethingso far I have:XMLDocument.setProperty('SelectionLanguage', 'XPath');XMLNode :=...

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