@@ -116,9 +116,6 @@ public class BootstrapperOptions : SharedOptions
116
116
[ Option ( 'm' , "msi-path" , Required = true , HelpText = "Path to the MSI package to embed" ) ]
117
117
public string MsiPath { get ; set ; }
118
118
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
-
122
119
[ Option ( 't' , "theme-xml-path" , Required = false , HelpText = "Path to the theme .xml file to use for the installer" ) ]
123
120
public string ThemeXmlPath { get ; set ; }
124
121
@@ -130,9 +127,6 @@ public class BootstrapperOptions : SharedOptions
130
127
throw new ArgumentException ( $ "Logo PNG file not found at '{ LogoPng } '", nameof ( LogoPng ) ) ;
131
128
if ( ! SystemFile . Exists ( MsiPath ) )
132
129
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 ) ) ;
136
130
if ( ThemeXmlPath != null && ! SystemFile . Exists ( ThemeXmlPath ) )
137
131
throw new ArgumentException ( $ "Theme XML file not found at '{ ThemeXmlPath } '", nameof ( ThemeXmlPath ) ) ;
138
132
}
@@ -374,27 +368,6 @@ private static int BuildBundle(BootstrapperOptions opts)
374
368
Vital = false ,
375
369
Payloads = [ dotNetRuntimePayload ] ,
376
370
} ,
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
- } ,
398
371
new MsiPackage ( opts . MsiPath )
399
372
{
400
373
ForcePerMachine = true ,
0 commit comments