Skip to content

Commit 00fa11e

Browse files
committed
feat: install wasdk in registry runonce
1 parent 95038fa commit 00fa11e

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/playbook/Configuration/tweaks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,3 +364,4 @@ actions:
364364
- !task: {path: 'tweaks\scripts\script-power.yml'} # Done last on purpose
365365
- !task: {path: 'tweaks\misc\enable-notifications.yml'}
366366
- !task: {path: 'tweaks\misc\config-oem-information.yml'}
367+
- !task: {path: 'tweaks\misc\install-winappsdk-firstboot.yml'}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: Installs WinAppSDK
3+
description: Adds a winget command on runonce to install WinAppSDK on first boot.
4+
option: 'install-toolbox'
5+
oobe: only
6+
actions:
7+
- !registryValue:
8+
path: 'HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce'
9+
value: 'InstallWASDK'
10+
data: |
11+
Start-Process -FilePath "winget" -ArgumentList "install --id Microsoft.WindowsAppRuntime.1.7 --silent --accept-source-agreements --accept-package-agreements" -WindowStyle Hidden -PassThru -Wait
12+
type: REG_SZ
13+
scope: defaultUser

0 commit comments

Comments
 (0)