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%