@@ -116,9 +116,6 @@ public class BootstrapperOptions : SharedOptions
116116 [ Option ( 'm' , "msi-path" , Required = true , HelpText = "Path to the MSI package to embed" ) ]
117117 public string MsiPath { get ; set ; }
118118
119- [ Option ( 'w' , "windows-app-sdk-path" , Required = true , HelpText = "Path to the Windows App Sdk package to embed" ) ]
120- public string WindowsAppSdkPath { get ; set ; }
121-
122119 [ Option ( 't' , "theme-xml-path" , Required = false , HelpText = "Path to the theme .xml file to use for the installer" ) ]
123120 public string ThemeXmlPath { get ; set ; }
124121
@@ -130,9 +127,6 @@ public class BootstrapperOptions : SharedOptions
130127 throw new ArgumentException ( $ "Logo PNG file not found at '{ LogoPng } '", nameof ( LogoPng ) ) ;
131128 if ( ! SystemFile . Exists ( MsiPath ) )
132129 throw new ArgumentException ( $ "MSI package not found at '{ MsiPath } '", nameof ( MsiPath ) ) ;
133- if ( ! SystemFile . Exists ( WindowsAppSdkPath ) )
134- throw new ArgumentException ( $ "Windows App Sdk package not found at '{ WindowsAppSdkPath } '",
135- nameof ( WindowsAppSdkPath ) ) ;
136130 if ( ThemeXmlPath != null && ! SystemFile . Exists ( ThemeXmlPath ) )
137131 throw new ArgumentException ( $ "Theme XML file not found at '{ ThemeXmlPath } '", nameof ( ThemeXmlPath ) ) ;
138132 }
@@ -374,27 +368,6 @@ private static int BuildBundle(BootstrapperOptions opts)
374368 Vital = false ,
375369 Payloads = [ dotNetRuntimePayload ] ,
376370 } ,
377- // TODO: right now we are including the Windows App Sdk in the bundle
378- // and always install it
379- // Microsoft makes it difficult to check if it exists from a regular installer:
380- // https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/check-windows-app-sdk-versions
381- // https://github.com/microsoft/WindowsAppSDK/discussions/2437
382- new ExePackage // Windows App Sdk
383- {
384- PerMachine = true ,
385- Permanent = true ,
386- Cache = PackageCacheAction . remove ,
387- // There is no license agreement for this SDK.
388- InstallArguments = "--quiet" ,
389- Vital = false ,
390- Payloads =
391- [
392- new ExePackagePayload
393- {
394- SourceFile = opts . WindowsAppSdkPath ,
395- } ,
396- ] ,
397- } ,
398371 new MsiPackage ( opts . MsiPath )
399372 {
400373 ForcePerMachine = true ,
0 commit comments