Help - Search - Members - Calendar
Full Version: autoHelp Details
The CD Forum > Bart's PE Builder > AutoHelp Plugins
Siegfried
AutoHelp Tutorials

If you have a hint you want to share with other plugin authors or any tutorials and/or generally useful details about autoHelp scripting please post it here. cool.gif

By the nature of this topic, it is mainly for answers.

But do feel free to ask questions here as long as you donīt mind that I may "clean up" this topic from time to time and delete questions, once they have been answered in new tutorials.

Kind regards, Siegfried
Siegfried
Finding registry entries


Check for entries of your program under "HKEY_LOCAL_MACHINE\SOFTWARE" or "HKEY_CURRENT_USER\Software"
And/or use regeditīs search function with the name of the program or manufacturer or main-EXE. After a while youīll know where these searches normally hit and you get a better feel for "where is what".

To find registry entries, open start menu ->run and type regedit.


After you first create your plugin with the autoHelp Creator, you will normally have a plugin that already works for simple programs and on your system. This only takes a few seconds and a few clicks, without any typing.

To make the plugin usable for all potential users, PROGPATH has to be defined to allow for an installation in a non-default location, multi-language programs have to be localized, user info has to be retrieved from registry and if the program writes its settings to registry, these also have to be in the plugin.

You will also want to exclude unnecessary files from the bulk copy of GET FOLDER and have your plugin download the program for the user, if it is not installed on his system (GET DOWNLOAD).

Regards, Siegfried


autoHelp_AirXonix.cmd
QUOTE
@echo off& Color F8&MODE CON: COLS=73 LINES=20&if not exist ..\..\REA.cmd echo Wrong Directory...&pause&exit
set SILENT=%1&set GET=call ..\..\REA.cmd&if exist start.inf.txt echo The plugin is already configured...&pause&exit

:: ==================================================
::       REATOGO AUTOHELP BASIC PLUGIN SETTINGS
:: ==================================================

%GET% CREDITS "HMM5000" "" "314-104" "Sun 09/25/2005" "AirXonix"

%GET% HEAD "790" "AirXonix.exe" "" "disk" "Programs" "" "Rea" "Nu2" ""

:: ==================================================
::          CREATING THE REST OF THE PLUGIN
:: ==================================================


%GET% DOWNLOAD "" "" "" "http://www.axysoft.com/airxonix/AirXonix.exe"

%GET% PROGPATH "HKEY_LOCAL_MACHINE\SOFTWARE\AxySoft\AirXonix" "InstallPath"

%GET% FOLDER "a" "unins000.dat" "unins000.exe" "" "" "" "" "" "" ""

set text=User Info
%GET% REG -h1 "HKEY_LOCAL_MACHINE\SOFTWARE\AxySoft\AirXonix" "RegName" %OUT%
%GET% REG -h5 "HKEY_LOCAL_MACHINE\SOFTWARE\AxySoft\AirXonix" "RegCode" %OUT%


:: ==================================================
::                   FINAL CLEANUP
if exist start.inf rename start.inf start.inf.txt&%GET% FINAL&exit
:: ==================================================



The fresh download of a plugin should look like this:
C:\reatogo-25-6a\Plugin\AirXonix_autoHelp

"INFO" is a link to the website that has the details and informations about the program.
Siegfried
How to test localisation of plugins cool.gif

Siegfried
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.