Chapter 5 of 8 • Wizard UI & Dialogs

MSI SelectionTree, C++ Glass Wizard & MSI.DLL Dialogs

Every project compiled with BuildBootstrapper = true delivers two synchronized user-interface layers: the high-DPI GDI+ SetupWizard.exe external UI for interactive desktop installs, and a complete relational MSI.DLL Dialog SQL sequence inside Product.msi for direct enterprise msiexec /i runs.

Authentic Windows Installer SelectionTree

When a user selects Custom Setup or Maintenance -> Modify, SetupWizard.exe opens the embedded Product.msi read-only and renders an authentic Windows Installer SelectionTree with crisp 32-bit ARGB split-dropdown icons (zero 1-bit white/magenta halos in Dark Mode!):

  • Local Drive Icon: Will be installed on local hard drive.
  • Cascaded Dual-Drive Icon: Entire feature and all subfeatures will be installed locally.
  • Partial Drive Icon: Some subfeatures are selected while others are excluded.
  • On-Demand Badge (1): Feature will be installed when required (when AllowAdvertise = true).
  • Crimson X Icon: Entire feature will be unavailable (automatically blocked when DisallowAbsent = true).

Selecting any node updates the live Feature Details & Disk Cost card on the right and translates choices into exact ADDLOCAL, REMOVE, and ADVERTISE property lists passed to msi.dll.

Clean Live Progress Text (Zero Unexpanded [1] Placeholders)

instbuild.exe stores action descriptions (such as Copying new files) separately from ActionText.Template ([1]), and SetupWizard.exe formats every INSTALLMESSAGE_ACTIONDATA record through MsiFormatRecordW so users see real filenames instead of raw [1] placeholders.

Custom 370x270 MSI.DLL Dialogs

Need an extra configuration form inside Product.msi itself? Declare [MsiDialog.<Id>] and [MsiControl.<Id>] sections (or design them visually in View 8 of InstallerStudio.exe) to splice custom edit boxes, path pickers, radio groups, and checkboxes directly into the Dialog and ControlEvent SQL tables.