From 064679f9e29a2b4a4517c6a1b958b9d10a4aa93d Mon Sep 17 00:00:00 2001 From: Homes32 Date: Thu, 3 Aug 2023 08:25:29 -0500 Subject: [PATCH] don't extract ExportHostDrv.exe if user cancels the input selection --- Projects/PhoenixPE/Drivers/DriverIntegration.script | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Projects/PhoenixPE/Drivers/DriverIntegration.script b/Projects/PhoenixPE/Drivers/DriverIntegration.script index 0903f2c..49ac1f1 100644 --- a/Projects/PhoenixPE/Drivers/DriverIntegration.script +++ b/Projects/PhoenixPE/Drivers/DriverIntegration.script @@ -35,8 +35,8 @@ Author=Homes32 Level=6 Selected=False Mandatory=False -Version=1.1.0.0 -Date=2023-07-15 +Version=1.1.1.0 +Date=2023-08-03 [Variables] %DismLog%=%TargetWindows%\Logs\DISM\dism.log @@ -191,7 +191,7 @@ ShellExecute,Hide,%ProjectTemp%\DrvInstPatch.exe,"P %TargetSystem32%\drvinst.exe Echo,"Extracting ExportHostDrv.exe..." System,ErrorOff,1 UserInput,DirPath,C:\,%ExtractToPath%,"Title=Select the location to save ExportHostDrv.exe" -If,Not,%ExtractToPath%,Equal,"",ExtractFile,%ScriptFile%,x86,ExportHostDrv.exe,%ExtractToPath% +If,ExistVar,%ExtractToPath%,ExtractFile,%ScriptFile%,x86,ExportHostDrv.exe,%ExtractToPath% [#BrowseX86#] // ===============================================================================================================================