Fixed DxDiag.exe shortcut creation

This commit is contained in:
Homes32
2024-04-22 21:26:56 -05:00
parent bb1e5cd756
commit 3ce6c173bb

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=4 Level=4
Selected=False Selected=False
Mandatory=False Mandatory=False
Version=1.0.0.1 Version=1.0.1.0
Date=2022-08-21 Date=2024-04-22
[Variables] [Variables]
%ProgramExe%="dxdiag.exe" %ProgramExe%="dxdiag.exe"
@@ -50,10 +50,10 @@ If,Not,%RegistrySoftwareSource%,Equal,"Install.wim",Run,%ScriptFile%,Config-Dire
/////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////
// Shortcuts // Shortcuts
If,%cb_DesktopShc%,Equal,True,AddShortcut,Desktop,,%txt_ShortcutName%,"%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%,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" If,%cb_StartMenuShc%,Equal,True,AddShortcut,StartMenu,%txt_StartMenuFolder%,%txt_ShortcutName%,"%WinDir%\System32\%ProgramExe%"
If,%cb_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" If,%cb_PinToTaskbar%,Equal,True,PinShortcut,Taskbar,Auto,"%WinDir%\System32\%ProgramExe%"
If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%PEPrograms%\%ProgramFolder%\%ProgramExe%" If,%cb_PinToStartMenu%,Equal,True,PinShortcut,StartMenu,Auto,"%WinDir%\System32\%ProgramExe%"
[#ExtractFiles#] [#ExtractFiles#]
// =============================================================================================================================== // ===============================================================================================================================