From 1b4cb1897259ca249626171c04eba833be598033 Mon Sep 17 00:00:00 2001 From: Homes32 Date: Mon, 29 Aug 2022 20:34:57 -0500 Subject: [PATCH] issue #9 - fixed an issue where custom XML settings were not being applied before Open-Shell was started --- Projects/PhoenixPE/Shell/050-OpenShellMenu.script | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Projects/PhoenixPE/Shell/050-OpenShellMenu.script b/Projects/PhoenixPE/Shell/050-OpenShellMenu.script index ad10e9a..a1f5ad4 100644 --- a/Projects/PhoenixPE/Shell/050-OpenShellMenu.script +++ b/Projects/PhoenixPE/Shell/050-OpenShellMenu.script @@ -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%