mirror of
https://github.com/PhoenixPE/PhoenixPE.git
synced 2025-09-17 02:28:09 +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
|
Level=3
|
||||||
Selected=True
|
Selected=True
|
||||||
Mandatory=False
|
Mandatory=False
|
||||||
Version=1.4.0.0
|
Version=1.4.1.0
|
||||||
Date=2022-06-20
|
Date=2022-08-29
|
||||||
|
|
||||||
[Variables]
|
[Variables]
|
||||||
%ProgramFolder%="Open-Shell"
|
%ProgramFolder%="Open-Shell"
|
||||||
@@ -57,12 +57,12 @@ Echo,"Preparing Registry Hives..."
|
|||||||
ExtractAllFiles,%ScriptFile%,Reg,%ProjectTemp%
|
ExtractAllFiles,%ScriptFile%,Reg,%ProjectTemp%
|
||||||
|
|
||||||
If,%cb_UseCustomXMLCfg%,Equal,True,Begin
|
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%
|
StrFormat,EXT,%fb_CustomXMLCfg%,%FileExt%
|
||||||
If,Not,%FileExt%,Equal,".xml",Halt,"Error: The configuration file must be an .XML file!"
|
If,Not,%FileExt%,Equal,".xml",Halt,"Error: The configuration file must be an .XML file!"
|
||||||
Set,%FileExt%,Nil
|
Set,%FileExt%,Nil
|
||||||
FileCopy,%fb_CustomXMLCfg%,"%TargetDir%\Program Files\Open-Shell\MenuSettings.xml"
|
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
|
End
|
||||||
|
|
||||||
RegHiveLoad,Tmp_Software,%RegSoftware%
|
RegHiveLoad,Tmp_Software,%RegSoftware%
|
||||||
|
Reference in New Issue
Block a user