Migrating setup script from 6.5.1 to 6.5.2 errors

23 views
Skip to first unread message

JustDj

unread,
Sep 22, 2025, 2:17:11 PM (5 days ago) Sep 22
to innosetup

Hi everyone,

In Inno Setup version 6.5.1, this code works:

<event('CurInstallProgressChanged')>
Procedure SetInstallStatus(CurProgress, MaxProgress: Integer);
begin
InstallStatusLabel.Caption := WizardForm.StatusLabel.Caption; InstallFilenameLabel.Caption := WizardForm.FilenameLabel.Caption;
end;

But starting from 6.5.2 and newer, it throws this error:

TScriptRunner.SetPSExecParameters: invalid type

I’ve gone through all the documentation and even asked every AI I could find until I hit their limits — and only now I’m coming here.

Could anyone point me in the right direction? I know that everything works fine on a clean Inno installation, but I’d like to understand what exactly changed in the newer versions that broke my setup.

Martijn Laan

unread,
Sep 22, 2025, 2:20:12 PM (5 days ago) Sep 22
to innosetup
Hi,

This is a bug caused by recent cleanup. I have fixed it now and will post a new build later this week.

Thank you for reporting it.

Greetings,
Martijn

Op 22-9-2025 om 19:49 schreef JustDj:
--
You received this message because you are subscribed to the Google Groups "innosetup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to innosetup+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/innosetup/45ee23fb-4698-45b2-a027-23056c10bea5n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages