MainForm support object has been deprecated in Inno Setup 6.4?

106 views
Skip to first unread message

Paco Calvo

unread,
Jan 13, 2025, 4:55:41 AMJan 13
to innosetup
Hi list,

I've just intalled Inno Setup 6.4.0 and after compiling some scripts that worked fine upto v6.3.3, I'm getting this error:
Unknown identifier 'MainForm'

Has MainForm support object (and its related function GetMainForm) been deprecated in Inno Setup 6.4?
It has disappeared also from Inno Setup documentation.

Thanks in advance,
Paco.

Martijn Laan

unread,
Jan 13, 2025, 5:43:59 AMJan 13
to inno...@googlegroups.com
Op maandag 13 januari 2025 om 10:02 schreef Paco Calvo <d.paco...@gmail.com>:

Has MainForm support object (and its related function GetMainForm) been deprecated in Inno Setup 6.4?

It has been removed totally.

Greetings,
Martijn Laan

Martijn Laan

unread,
Jan 14, 2025, 3:38:03 AMJan 14
to inno...@googlegroups.com
Please always reply on the forum, thanks.

MainForm's documentation used to say: "only visible if WindowVisible is set to yes".

WindowVisible's documentation used to say (for many years now): "Note that this is considered a legacy feature; it likely will be removed at some point in the future."

Additionally, WindowVisible is currently still documented as being obsolete in the "[Setup] section" topic.

Greetings,
Martijn


Op dinsdag 14 januari 2025 om 08:42 schreef Paco Calvo <d.paco...@gmail.com>:
Hi Martijn,

Thanks for your answer.
After not finding this breaking change in the revision history, nor a previous warning about it being obsolete, I thougt this was an incidence.

Kind regards,
Paco.

Warren Postma

unread,
Feb 11, 2025, 12:06:31 PMFeb 11
to innosetup
Was the removal of MainForm in any release notes or breaking compatibility change updates?   Is there a place where all breaking changes are documented?
Reply all
Reply to author
Forward
0 new messages