Skip to content

installer: fix compilation when no experimental options are enabled#712

Merged
dscho merged 1 commit into
git-for-windows:mainfrom
jzbakh:installer-experimental-options-ifdef
Jun 11, 2026
Merged

installer: fix compilation when no experimental options are enabled#712
dscho merged 1 commit into
git-for-windows:mainfrom
jzbakh:installer-experimental-options-ifdef

Conversation

@jzbakh

@jzbakh jzbakh commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

When HAVE_EXPERIMENTAL_OPTIONS is undefined the Inno Setup compiler fails with the following error:
Unknown identifier 'ExperimentalOptionsPage'

Technical Fix

Wrap the remaining references to ExperimentalOptionsPage in #ifdef HAVE_EXPERIMENTAL_OPTIONS blocks. This ensures the installer compiles successfully in environments where all experimental features are disabled.

When HAVE_EXPERIMENTAL_OPTIONS is undefined, the Inno Setup compiler fails with "Unknown identifier 'ExperimentalOptionsPage'". Wrap the remaining references to ExperimentalOptionsPage in #ifdef blocks to ensure the installer compiles successfully in environments where all experimental features are disabled.

Signed-off-by: Jason Zbakh <jzbakh@gmail.com>

@dscho dscho left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@dscho dscho merged commit 523ad94 into git-for-windows:main Jun 11, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants