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
4
votes
1 answer

How to add checkbox to first/welcome page in Inno Setup

How do I add the check box to a particular page in Inno Setup? I want the check box to be shown only in the first page or ReadyToInstall page? I wrote code to add check box to WizardForm, but I see the check box is in every other page. I see we have…
jamilia
  • 359
  • 4
  • 14
4
votes
1 answer

Inno Setup refresh desktop

Is it possible to refresh the desktop using Inno Setup in the [Code] section? Either by using SendMessage or somehow use SHChangeNotify?
user328146
4
votes
1 answer

Inno Setup - Progress bar doesn't show when uninstall

I'm using Inno Setup to create my own installer. When user uninstall app I want delete some folder. So I use CurUninstallStepChanged event to delete folder and show "progress bar" with npbstMarquee style (based on Inno Setup: How to handle…
Luan Pham
  • 187
  • 11
4
votes
1 answer

Validate data on custom page when Next button is clicked in Inno Setup

I have managed to get a basic script working to display a wizard (using CreateInputFilePage) for a user to identify a file location that I use to update some settings in an XML file. However, I would like to perform some basic checking of the input…
John
  • 51
  • 4
4
votes
2 answers

Creating A Folder In the Temp Folder

I'm trying to create a folder within the temp folder that doesn't have a random name. Here is how I was trying to create the folder within the temp folder. if not DirExists(ExpandConstant('{%tmp}\Utilities\SDK')) then …
traveler3468
  • 1,557
  • 2
  • 15
  • 28
4
votes
1 answer

Problem with checking the Windows version from Inno Setup

My program installs a driver, which has different versions compiled for XP, Win2003, Vista/Win2008, and Win7. I use pascal functions to check which is the OS, and install the corresponding DLL. On some users' systems no DLL is installed, which…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
4
votes
1 answer

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 the installation. If Client mode is picked, the…
Alex
  • 109
  • 2
  • 9
4
votes
1 answer

'Check' function is executing multiple times in Inno Setup

I am new to Inno Setup scripting and I am trying to install .NET framework 3.5 using below code as a prerequisite. The Check function is executing multiple times. Can some one please help me understand why? Note: All other sections (Setup, Icons,…
NSR
  • 51
  • 1
  • 5
4
votes
3 answers

Inno Setup - External .NET DLL with dependencies

I am trying to use a custom DLL in a Inno Setup script during installation. I wrote a very simple function that basically checks a connection string for a MySQL database using MySQL .NET connector (there is no MySQL client on the target server). The…
tvarnier
  • 115
  • 1
  • 7
4
votes
1 answer

Inno Setup - Opening directory browse dialog from another dialog without hiding it

I am using this code: Inno Setup - How to create a custom form that allows me to locate the files to decompress? How to open directory browse dialog from another dialog without hiding it?
Nico Z
  • 997
  • 10
  • 33
4
votes
1 answer

In Inno Setup how to save user inputs to registry?

This is what I'm trying to figure out, in Inno Setup I want the installer to get User's name (manual input) Birthday (manual input) And both of those i want to use as variable to save it in registry
mike
  • 100
  • 10
4
votes
1 answer

Detect selected language in Inno Setup [Code]

I want to download file with IDP plugin, but I need to choose the file in function of language. Example: installing in English and Spanish and the files are myfile_x86_eng.exe and myfile_x86_spa.exe. I don't know nothing about Pascal and I've…
alfreire
  • 99
  • 1
  • 7
4
votes
1 answer

Conditional file copy in Inno Setup

I would like to make a conditional file copy/installation, depending what is inside given .cfg (text) file at {app} location. That file contains an URL inside, that URL looks like this: "update.website.eu", or this "update.website.com", or…
Jerry Zoden
  • 332
  • 2
  • 9
4
votes
2 answers

Inno Setup language selector with VCL Styles

Is there any way to use language selector (Inno Setup) with VCL Styles? How?
Nico Z
  • 997
  • 10
  • 33
4
votes
1 answer

Merging event function (InitializeWizard) implementations from different sources

I am now combining the script that I want but it has an error. When I put a period, it will run but missing other feature. Here is my code: procedure InitializeWizard; begin MessageBoxTimeout(WizardForm.Handle, 'MsgBox ' + Timeout 'Setup',…
DDoS
  • 361
  • 3
  • 13