App Updates

- Notepad++ updated to 8.4.4.0
- WinNTSetup updated to 5.2.5
- Added PECMD option to register .wcs file extensions (PECMD scripts)
This commit is contained in:
Homes32
2022-07-31 15:28:44 -05:00
parent 9b02651cca
commit 6b524852cb
4 changed files with 547 additions and 523 deletions

View File

@@ -35,8 +35,8 @@ Author=Homes32
Level=3
Selected=True
Mandatory=True
Version=1.3.0.0
Date=2022-19-22
Version=1.4.0.0
Date=2022-07-19
[Variables]
@@ -49,6 +49,24 @@ ExtractFile,%ScriptFile%,pecmd_ini,pecmd.ini,%TargetSystem32%
FileCopy,"%Tools%\%HostArch%\hiderun.exe",%TargetSystem32%
FileCopy,"%Tools%\%HostArch%\BcastEnvChg.exe",%TargetSystem32%
// Associate .wcs files
If,%cb_RegisterWCS%,Equal,True,Begin
RegLoadHives
RegWrite,HKLM,0x1,"Tmp_Software\Classes\.wcs","","wcsfile"
RegWrite,HKLM,0x1,"Tmp_Software\Classes\.wcz","","wcsfile"
RegWrite,HKLM,0x1,"Tmp_Software\Classes\wcsfile","","PECMD Script"
RegWrite,HKLM,0x1,"Tmp_Software\Classes\wcsfile\DefaultIcon","","#$qPECMD.EXE#$q,0"
RegWrite,HKLM,0x1,"Tmp_Software\Classes\wcsfile\shell\open","","Execute with PECMD"
RegWrite,HKLM,0x1,"Tmp_Software\Classes\wcsfile\shell\open\command","","#$qPECMD.EXE#$q #$qLOAD #$p1#$q"
RegRead,HKLM,"Tmp_System\ControlSet001\Control\Session Manager\Environment","PATHEXT",%PATHEXT%
List,Pos,%PATHEXT%,".WCS",%WCS%,DELIM=;
If,%WCS%,Equal,0,List,Append,%PATHEXT%,".WCS",DELIM=;
List,Pos,%PATHEXT%,".WCZ",%WCZ%,DELIM=;
If,%WCZ%,Equal,0,List,Append,%PATHEXT%,".WCZ",DELIM=;
RegWrite,HKLM,0x1,"Tmp_System\ControlSet001\Control\Session Manager\Environment","PATHEXT",%PATHEXT%
RegUnLoadHives
End
// Additional Config
If,%cb_UserPecmdIniFile%,Equal,True,Begin
If,ExistFile,%fb_UserPecmdIniFile%,FileCopy,%fb_UserPecmdIniFile%,"%OutputDir%\UserPecmd.ini"
@@ -144,6 +162,7 @@ End
// ===============================================================================================================================
[SetDefaultOptions]
System,Cursor,Wait
WriteInterface,Value,%ScriptFile%,Interface,cb_RegisterWCS,True
WriteInterface,Value,%ScriptFile%,Interface,cb_CustomPecmdIniFile,False
WriteInterface,Value,%ScriptFile%,Interface,fb_CustomPecmdIniFile,""
WriteInterface,Value,%ScriptFile%,Interface,cb_UserPecmdIniFile,False
@@ -213,14 +232,15 @@ btn_EditProjectPECMDConfig="Edit PECMD.ini",0,8,5,5,130,25,EditProjectPECMDConfi
btn_SetDefaultOptions=,1,8,529,5,25,25,SetDefaultOptions,SetDefaults_16.png,True,"__Restore Defaults"
btn_AdvancedOptions=,1,8,560,5,25,25,ToggleAdvancedOptions,Advanced_16.png,True,"__Show Advanced Options"
btn_ScriptInfo=,1,8,591,5,25,25,ShowScriptInfo,Help_16.png,True,"__Script Info"
bvl_Options="Additional Configuration",1,12,5,50,612,168,8,Bold
cb_UserPecmdIniFile="Include additional configuration file",1,3,15,165,200,18,False
fb_UserPecmdIniFile=,1,13,15,185,506,20,file,"Title=Select your PECMD config file","Filter=Config Files|*.cfg;*.ini;*.txt|All Files|*.*"
lbl_AdditionalConfig01="You may choose to include an additional PECMD configuration file in your project.#$x#$xThis configuration file will be executed after the initial project configuration has been completed, but before the shell (explorer, etc.) is started.#$x#$xThe configuration file will be placed on the root of the boot media as [UserPecmd.ini]. This allows the configuration to be manually edited on-the-fly (if the media is Read/Write) without rebuilding the project.",1,1,17,70,591,92,8,Normal
btn_GenerateSampleConfig="Sample Config",1,8,528,185,80,20,GenerateSampleConfig,0,True,"__Generate a sample configuration file."
bvl_AdvancedOptions="Advanced Options",0,12,5,230,612,71,8,Bold
cb_CustomPecmdIniFile="Override the project config and use a custom pecmd.ini file",0,3,15,248,508,18,False,"__If enabled this pecmd.ini file will be used instead of the project's configuration.#$x#$xWARNING: This option is absolutely unsupported and, unless you are a developer,#$xit's guaranteed that you will break things. Use at your own risk."
fb_CustomPecmdIniFile=,0,13,15,268,593,20,file,"Title=Select your custom pecmd.ini file","Filter=Config Files|*.cfg;*.ini;*.txt|All Files|*.*"
cb_RegisterWCS="Associate .wcs scripts with PECMD",1,3,10,50,200,18,True,"__Execute PECMD scripts (.wcs, .wcz) with PECMD.#$x#$xYou may use the Components > Additional Files script to include your custom .wcs scripts in your build."
bvl_Options="Additional Configuration",1,12,5,90,612,168,8,Bold
cb_UserPecmdIniFile="Include additional configuration file",1,3,15,205,200,18,False
fb_UserPecmdIniFile=,1,13,15,225,506,20,file,"Title=Select your PECMD config file","Filter=Config Files|*.cfg;*.ini;*.txt|All Files|*.*"
lbl_AdditionalConfig01="You may choose to include an additional PECMD configuration file in your project.#$x#$xThis configuration file will be executed after the initial project configuration has been completed, but before the shell (explorer, etc.) is started.#$x#$xThe configuration file will be placed on the root of the boot media as [UserPecmd.ini]. This allows the configuration to be manually edited on-the-fly (if the media is Read/Write) without rebuilding the project.",1,1,17,110,591,92,8,Normal
btn_GenerateSampleConfig="Sample Config",1,8,528,225,80,20,GenerateSampleConfig,0,True,"__Generate a sample configuration file."
bvl_AdvancedOptions="Advanced Options",0,12,5,270,612,71,8,Bold
cb_CustomPecmdIniFile="Override the project config and use a custom pecmd.ini file",0,3,15,288,508,18,False,"__If enabled this pecmd.ini file will be used instead of the project's configuration.#$x#$xWARNING: This option is absolutely unsupported and, unless you are a developer,#$xit's guaranteed that you will break things. Use at your own risk."
fb_CustomPecmdIniFile=,0,13,15,308,593,20,file,"Title=Select your custom pecmd.ini file","Filter=Config Files|*.cfg;*.ini;*.txt|All Files|*.*"
[InterfaceEncoded]
Advanced_16.png=1722,2396