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.

Pascal script is a script engine developed by RemObjects. It uses the object pascal language and can be implemented in Delphi or FPC project.

One prominent use of Pascal Script is the Open Source project.

971 questions
0
votes
1 answer

GetComputerNameString Inno Setup

I have a line of text in my Inno Setup file that is: TextBox.Text := GetComputerNameString(); to get the computers name. I'm getting this error when trying to go through the setup wizard once it's built: Do I have to do some sort of code setup…
B-M
  • 1,231
  • 1
  • 19
  • 41
0
votes
1 answer

Is it possible to receive a Stringlist from C++ DLL?

I need to get a list of string from my C++ DLL. I know how to use the DLL and already do it several times in the [code] section with simple data types e.g. Boolean or Integer. However now I need to get a list of string to fill a combo box this way,…
Nitro.de
  • 821
  • 10
  • 27
0
votes
1 answer

WizardForm.DirEdit.Text not updating properly. Inno setup

I am trying to set the path in the 'choose install directory' form using INNO setup. Here is my code procedure CurPageChanged(pageID: Integer); var sInstallDir: String; begin …
ababeel
  • 435
  • 1
  • 8
  • 25
0
votes
1 answer

Inno Setup: Combo box closing immediately on drop-down (which starts an application)

I am getting a list of Application Pools and then populating the combo box with the names of app pools. The problem is that when when the OnDropDown event is called the combo box opens for a fraction of a second and then closes straight away. It…
ababeel
  • 435
  • 1
  • 8
  • 25
0
votes
1 answer

Inno Setup format a number with a thousand separator

I am trying to find a way to format a number with a thousand separator (in this case a comma), so that I can display the number in a more readable and friendly way to the user. I know that clearly I must first convert the integer to a string, using…
Robert Wigley
  • 1,917
  • 22
  • 42
0
votes
1 answer

Inno Setup Maximize splash video

I am using Inno Media Player by TLama to show a splash video at the beginning of the setup. Therefore I am using the following code: [Code] const EC_COMPLETE = $01; type TDirectShowEventProc = procedure(EventCode, Param1, Param2:…
0
votes
1 answer

How to specify the period during which the remaining-time-label is updated in Inno Setup?

I wanted to show remaining time during an installation like in the following question and used the code from there, posted by TLama: How to show percent done, elapsed time and estimated time progress? The code is working for me, so thanks for…
0
votes
2 answers

Inno Setup function not called

I would like the [InstallDelete] section to call a custom function that will check if an older version is installed (in which case certain files need to be deleted prior installation of the new version). Extract from my Inno Setup script. First the…
Tom
  • 1,375
  • 3
  • 24
  • 45
0
votes
1 answer

Inno Setup: how to call custom functions from the InstallDelete section

I would need Inno Setup generated installer to delete certain files prior installation if the software is already installed with an older version. I tried to do this by comparing version numbers (custom function below) but when compiling, Inno Setup…
Tom
  • 1,375
  • 3
  • 24
  • 45
0
votes
0 answers

Show custom form after uninstall confirmation message

For now, before uninstalling, I show a custom form, which allows users to select additional components to remove during uninstalling. It is shown in the InitializeUninstall event, so, it is shown before uninstall confirmation. But now, I want to…
lentinant
  • 792
  • 1
  • 10
  • 36
0
votes
2 answers

How can I store a COM object in Inno Setup's TNewComboBox.Objects property?

I'm using Inno Setup to create an installer for my application. I'm currently filling a combobox (TNewComboBox) with the names of the Web sites on the current machine's IIS install. Now what I really want to do is store the COM object alongside…
Chris Meek
  • 5,720
  • 9
  • 35
  • 44
0
votes
0 answers

RegisterPreviousData on Uninstall

My installer is using RegisterPreviousData to remember user selection (common/full installation), and i want to use it in custom uninstall form (with same selection - full/common uninstall). But will it work for uninstall? When it is actually…
lentinant
  • 792
  • 1
  • 10
  • 36
0
votes
0 answers

How to make a image transparent

I have a sample code for welcome page in inno setup that will fill the background with a image. Here is the code I used : [Files] Source: C:\Program Files (x86)\Inno Setup 5\Examples\MyProg.exe; DestDir: {app} Source: F:\image.bmp; DestDir: {tmp};…
Kushal
  • 605
  • 8
  • 29
0
votes
0 answers

How to add two same function in Inno-setup

How to add two same function in inno-setup.I mean for example if I want to delete a folder and and everything inside it I use : DelTree(ExpandConstant('{userdocs}\A'), True, True, True) to delete everything inside 'A'.But now I want to delete…
Kushal
  • 605
  • 8
  • 29
0
votes
1 answer

Changing the whole installer background with image(Not slideshow)

How do I fill the Setup background with a picture like in the image with inno setup. Picture is only for hint. I don't want to make slideshow.I want to change the setup background not desktop background which will show some slideshow. Please see…
Kushal
  • 605
  • 8
  • 29