Skip to content

[Windows] Make the installer UI scalable to more options #378

@tristanlabelle

Description

@tristanlabelle
Contributor

The Windows installer UI defines controls with absolute (X, Y) coordinates. This does not scale to having more options (as will likely be the case for Android) and adapting the UI based on which components are built or not in the installer bundle.

Image

We need an options page UI that:

  • Defines togglable features without requiring absolute coordinates for each control.
    Scales to a large number of features regardless of the size of the window, by presenting a scrollbar.
    Adapts to the packages (msi’s) that were built into the installer bundle. For example, if we don’t build the Android msi, the options page UI should not show this feature, without leaving a gap between other surrounding features.
    Preserves the hierarchical visualization, where some features are logically children of others and available only if their parent is selected.

The solution to these requirements is likely to use a tree control, but there might be alternatives.

Activity

changed the title [-]Make the Windows installer UI scalable to more options[/-] [+][Windows] Make the installer UI scalable to more options[/+] on Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @tristanlabelle

        Issue actions

          [Windows] Make the installer UI scalable to more options · Issue #378 · swiftlang/swift-installer-scripts