Skip to content

feat: added icon to installer's bootstrap application #112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 2, 2025

Conversation

ibetitsmike
Copy link
Contributor

Closes: #38

WiX 5 introduced a bug that stopped respecting the icon file on the theme's Window. This is described in this issue: wixtoolset/issues#8104

This PR introduces:

  • an additional option in our build-bootstrapper to allow optional setting of the theme xml,
  • adds a copy of the RtfLargeTheme.xml from WiX 5.0.2 with the added attribute of IconFile

image

@ibetitsmike ibetitsmike requested a review from deansheather May 29, 2025 13:52
@@ -119,6 +119,9 @@ public class BootstrapperOptions : SharedOptions
[Option('w', "windows-app-sdk-path", Required = true, HelpText = "Path to the Windows App Sdk package to embed")]
public string WindowsAppSdkPath { get; set; }

[Option('t', "theme-xml-path", Required = false, HelpText = "Path to the theme .xml file to use for the installer")]
public string ThemeXmlPath { get; set; }
Copy link
Member

Choose a reason for hiding this comment

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

Should be string? if it's nullable

Copy link
Contributor Author

@ibetitsmike ibetitsmike Jun 2, 2025

Choose a reason for hiding this comment

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

Nope. This construct doesn't exist in .NET 4.8.1. Boxed type only applies to int, double, etc. ie string is explicitly nullable in that .NET version.

@ibetitsmike ibetitsmike enabled auto-merge (squash) June 2, 2025 11:36
@ibetitsmike ibetitsmike merged commit 23f7819 into main Jun 2, 2025
3 checks passed
@ibetitsmike ibetitsmike deleted the mike/38-added-icon-bootstrapper branch June 2, 2025 17:02
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.

Windows installer doesn't have an icon while running
2 participants