General Info Setup and Help Example Create Complete Source
To configure the plugin run the AutoHelp.cmd and follow the prompts.
The plugin enables 1x1-Script Support on CD (for *.1x1 program starter scripts using PeFuncs.exe )
| PeFuncs.exe is a commandline utility primarely intended to start a program on CD. |
|
The commandline starter script that is normally used to copy the files to the ramdrive and then starts the program there is replaced by a "1x1-script" with the "macro-routine":
See the full details and the various steps covered by that macro under "Example
Scripts" in the PeFuncs.exe help GUI (see screenShot). (see example below for the 2xExplorer plugin).
1x1-scripts are commandline scripts with the extension 1x1. |
General Info Setup and Help Example Create Complete Source
| Help and setup GUI of PeFuncs.exe |



General Info Setup and Help Example Create Complete Source
| Example 1x1-Script for the plugin "2xExplorer" |
| 2xExplorer.1x1 Example script |
| :: 1x1Script Concept and
PeFuncs.exe: 2007 Siegfried Benthin @echo off&title=%~f0&if exist "%temp%\TempLab.cmd" call "%temp%\TempLab.cmd"&del "%temp%\TempLab.cmd"&%init% :: ********************************************** %StartProgram_MacroOnRamDrive% %GUI_ExitAll% goto :EOF :: =============================== [Shell] IconFile="%SystemDrive%\programs\2xExplorer\2xExplorer.exe,0" [Parse_As_Vars_Into_The_Script] GUIshow=yes GUI_HideWhenActive=2xExplorer Program_Name=2xExplorer |
Transfer the files to the ramdrive and start the program:


While the program is running, the starter GUI is hidden.

When the program is closed, the starter GUI un-hides for the closing routines.


General Info Setup and Help Example Create Complete Source
| How to create a complete source for PeFuncs.exe |
PeFuncs.exe is freeware and may be used without any restrictions (see the PlugLab license).
It is compiled with autoit v3.2.2.0
NOTE:
if you create your own modified version of PeFuncs.exe and publish plugins using it, you have to keep in mind that only one version of PeFuncs.exe will be on the recoveryCD of users (System32) and then used for all plugins in the setup. To maintain compatibility please publish your ideas and/or your modified version in the forum so I can incorporate improvements into the general release of this plugin.
To create a full source:
run a copy of PeFuncs.exe in a subdirectory of your folder "plugin" (e.g. <PEbuilderRoot>\plugin\TestPeFuncsEXE).

This will create the following items:

PlugLab Concept (c) 2007 Siegfried Benthin