mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-16 18:18:04 +02:00
issue #9 - fixed an issue where custom XML settings were not being applied before Open-Shell was started
This commit is contained in:
@@ -35,8 +35,8 @@ Author=Homes32
|
||||
Level=3
|
||||
Selected=True
|
||||
Mandatory=False
|
||||
Version=1.4.0.0
|
||||
Date=2022-06-20
|
||||
Version=1.4.1.0
|
||||
Date=2022-08-29
|
||||
|
||||
[Variables]
|
||||
%ProgramFolder%="Open-Shell"
|
||||
@@ -57,12 +57,12 @@ Echo,"Preparing Registry Hives..."
|
||||
ExtractAllFiles,%ScriptFile%,Reg,%ProjectTemp%
|
||||
|
||||
If,%cb_UseCustomXMLCfg%,Equal,True,Begin
|
||||
If,Not,ExistFile,%fb_CustomXMLCfg%,Halt,"Error: The specified XML Configuration file does not exist!"
|
||||
If,Not,ExistFile,%fb_CustomXMLCfg%,Halt,"Error: The specified XML configuration file does not exist!"
|
||||
StrFormat,EXT,%fb_CustomXMLCfg%,%FileExt%
|
||||
If,Not,%FileExt%,Equal,".xml",Halt,"Error: The configuration file must be an .XML file!"
|
||||
Set,%FileExt%,Nil
|
||||
FileCopy,%fb_CustomXMLCfg%,"%TargetDir%\Program Files\Open-Shell\MenuSettings.xml"
|
||||
AddAutoRun,PostShell,HideNoWait,"Configuring Open-Shell Menu...","#$pProgramFiles#$p\Open-Shell\StartMenu.exe","-xml #$pProgramFiles#$p\Open-Shell\MenuSettings.xml"
|
||||
AddAutoRun,PreShell,HideWait,"Configuring Open-Shell Menu...","#$q#$pProgramFiles#$p\Open-Shell\StartMenu.exe#$q","-xml #$q#$pProgramFiles#$p\Open-Shell\MenuSettings.xml#$q"
|
||||
End
|
||||
|
||||
RegHiveLoad,Tmp_Software,%RegSoftware%
|
||||
|
Reference in New Issue
Block a user