From 3ce6c173bb70c4e582a31e1cc74f1e3d6fb4dd4b Mon Sep 17 00:00:00 2001 From: Homes32 Date: Mon, 22 Apr 2024 21:26:56 -0500 Subject: [PATCH] Fixed DxDiag.exe shortcut creation --- Projects/PhoenixPE/Components/DirectX.script | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Projects/PhoenixPE/Components/DirectX.script b/Projects/PhoenixPE/Components/DirectX.script index 67d758d..44c5127 100644 --- a/Projects/PhoenixPE/Components/DirectX.script +++ b/Projects/PhoenixPE/Components/DirectX.script @@ -35,8 +35,8 @@ Author=Homes32 Level=4 Selected=False Mandatory=False -Version=1.0.0.1 -Date=2022-08-21 +Version=1.0.1.0 +Date=2024-04-22 [Variables] %ProgramExe%="dxdiag.exe" @@ -50,10 +50,10 @@ If,Not,%RegistrySoftwareSource%,Equal,"Install.wim",Run,%ScriptFile%,Config-Dire /////////////////////////////////////////////////////////////////////////////////// // Shortcuts -If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" -If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" -If,%cb_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" -If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" +If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%WinDir%\System32\%ProgramExe%" +If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%WinDir%\System32\%ProgramExe%" +If,%cb_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%WinDir%\System32\%ProgramExe%" +If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%WinDir%\System32\%ProgramExe%" [#ExtractFiles#] // ===============================================================================================================================