summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author5an7y <[email protected]>2026-05-08 12:03:03 -0700
committer5an7y <[email protected]>2026-05-08 12:03:03 -0700
commit4e1c2089125efe1134f6ccd88e26aab5c0ee30e0 (patch)
tree3111abbbd2fbde7239c905ab2dbfeac4ce22a413
parent368e3e55717d05bb99e61ff33f93a21f58ee7bd0 (diff)
Split winget DSC config into per-VS-edition filesuser/jvalesmena/wdk2604-winget
Replace the single configuration.dsc.yaml (Community-only) with three edition-specific WinGet DSC configurations: - wdk-vscommunity.dsc.yaml - wdk-vsenterprise.dsc.yaml - wdk-vsprofessional.dsc.yaml Each file installs the correct VS edition with the same WDK components, Windows SDK 28000, and WDK 28000. Co-authored-by: Copilot <[email protected]>
-rw-r--r--_wdk_utils/winget/configs/wdk-vscommunity.dsc.yaml (renamed from _wdk_utils/winget/configs/configuration.dsc.yaml)0
-rw-r--r--_wdk_utils/winget/configs/wdk-vsenterprise.dsc.yaml65
-rw-r--r--_wdk_utils/winget/configs/wdk-vsprofessional.dsc.yaml65
3 files changed, 130 insertions, 0 deletions
diff --git a/_wdk_utils/winget/configs/configuration.dsc.yaml b/_wdk_utils/winget/configs/wdk-vscommunity.dsc.yaml
index 5d8c32f2..5d8c32f2 100644
--- a/_wdk_utils/winget/configs/configuration.dsc.yaml
+++ b/_wdk_utils/winget/configs/wdk-vscommunity.dsc.yaml
diff --git a/_wdk_utils/winget/configs/wdk-vsenterprise.dsc.yaml b/_wdk_utils/winget/configs/wdk-vsenterprise.dsc.yaml
new file mode 100644
index 00000000..a7a59b6f
--- /dev/null
+++ b/_wdk_utils/winget/configs/wdk-vsenterprise.dsc.yaml
@@ -0,0 +1,65 @@
+# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
+properties:
+ resources:
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: vsPackage
+ directives:
+ description: Install Visual Studio Enterprise
+ allowPrerelease: true
+ settings:
+ id: Microsoft.VisualStudio.Enterprise
+ source: winget
+ useLatest: true
+ - resource: Microsoft.VisualStudio.DSC/VSComponents
+ id: vsComponents
+ dependsOn:
+ - vsPackage
+ directives:
+ description: Install required VS workloads and components
+ settings:
+ productId: Microsoft.VisualStudio.Product.Enterprise
+ channelId: VisualStudio.18.Release
+ includeRecommended: false
+ components:
+ - Component.Microsoft.Windows.DriverKit
+ - Microsoft.Component.MSBuild
+ - Microsoft.VisualStudio.Component.CoreEditor
+ - Microsoft.VisualStudio.Component.DiagnosticTools
+ - Microsoft.VisualStudio.Component.Roslyn.Compiler
+ - Microsoft.VisualStudio.Component.TextTemplating
+ - Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.ATL.Spectre
+ - Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
+ - Microsoft.VisualStudio.Component.VC.CoreIde
+ - Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Redist.14.Latest
+ - Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
+ - Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Tools.ARM64
+ - Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
+ - Microsoft.VisualStudio.Component.VC.Tools.x86.x64
+ - Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
+ - Microsoft.VisualStudio.Workload.CoreEditor
+ - Microsoft.VisualStudio.Workload.NativeDesktop
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: sdkPackage
+ directives:
+ description: Install Windows SDK version 28000
+ allowPrerelease: true
+ settings:
+ id: Microsoft.WindowsSDK.10.0.28000
+ source: winget
+ useLatest: true
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: wdkPackage
+ dependsOn:
+ - sdkPackage
+ directives:
+ description: Install Windows Driver Kit version 28000
+ allowPrerelease: true
+ settings:
+ id: Microsoft.WindowsWDK.10.0.28000
+ source: winget
+ useLatest: true
+ configurationVersion: 0.2.1
diff --git a/_wdk_utils/winget/configs/wdk-vsprofessional.dsc.yaml b/_wdk_utils/winget/configs/wdk-vsprofessional.dsc.yaml
new file mode 100644
index 00000000..cdc97e69
--- /dev/null
+++ b/_wdk_utils/winget/configs/wdk-vsprofessional.dsc.yaml
@@ -0,0 +1,65 @@
+# yaml-language-server: $schema=https://aka.ms/configuration-dsc-schema/0.2
+properties:
+ resources:
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: vsPackage
+ directives:
+ description: Install Visual Studio Professional
+ allowPrerelease: true
+ settings:
+ id: Microsoft.VisualStudio.Professional
+ source: winget
+ useLatest: true
+ - resource: Microsoft.VisualStudio.DSC/VSComponents
+ id: vsComponents
+ dependsOn:
+ - vsPackage
+ directives:
+ description: Install required VS workloads and components
+ settings:
+ productId: Microsoft.VisualStudio.Product.Professional
+ channelId: VisualStudio.18.Release
+ includeRecommended: false
+ components:
+ - Component.Microsoft.Windows.DriverKit
+ - Microsoft.Component.MSBuild
+ - Microsoft.VisualStudio.Component.CoreEditor
+ - Microsoft.VisualStudio.Component.DiagnosticTools
+ - Microsoft.VisualStudio.Component.Roslyn.Compiler
+ - Microsoft.VisualStudio.Component.TextTemplating
+ - Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.ATL.Spectre
+ - Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre
+ - Microsoft.VisualStudio.Component.VC.CoreIde
+ - Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Redist.14.Latest
+ - Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre
+ - Microsoft.VisualStudio.Component.VC.Runtimes.x86.x64.Spectre
+ - Microsoft.VisualStudio.Component.VC.Tools.ARM64
+ - Microsoft.VisualStudio.Component.VC.Tools.ARM64EC
+ - Microsoft.VisualStudio.Component.VC.Tools.x86.x64
+ - Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core
+ - Microsoft.VisualStudio.Workload.CoreEditor
+ - Microsoft.VisualStudio.Workload.NativeDesktop
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: sdkPackage
+ directives:
+ description: Install Windows SDK version 28000
+ allowPrerelease: true
+ settings:
+ id: Microsoft.WindowsSDK.10.0.28000
+ source: winget
+ useLatest: true
+ - resource: Microsoft.WinGet.DSC/WinGetPackage
+ id: wdkPackage
+ dependsOn:
+ - sdkPackage
+ directives:
+ description: Install Windows Driver Kit version 28000
+ allowPrerelease: true
+ settings:
+ id: Microsoft.WindowsWDK.10.0.28000
+ source: winget
+ useLatest: true
+ configurationVersion: 0.2.1