From 166b2176b4a92624da2b0e59ed7acf2648265b09 Mon Sep 17 00:00:00 2001 From: Gustave Monce Date: Mon, 14 Mar 2022 19:30:52 +0100 Subject: [PATCH] Initialize Dism --- DriverUpdater/DismDriverProvider.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/DriverUpdater/DismDriverProvider.cs b/DriverUpdater/DismDriverProvider.cs index 5c2fa05..1f86bd1 100644 --- a/DriverUpdater/DismDriverProvider.cs +++ b/DriverUpdater/DismDriverProvider.cs @@ -32,6 +32,7 @@ public class DismDriverProvider : IDriverProvider public DismDriverProvider(string DrivePath) { + DismApi.Initialize(DismLogLevel.LogErrors); session = DismApi.OpenOfflineSession(DrivePath); }