mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
Fixed DxDiag.exe shortcut creation
This commit is contained in:
@@ -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#]
|
||||
// ===============================================================================================================================
|
||||
|
Reference in New Issue
Block a user