; PE Builder v3 plug-in INF file ; Created by Bart Lagerweij ; http://www.nu2.nu/pebuilder/ ; ; Short description of what the plugin does... [Version] Signature= "$Windows NT$" [PEBuilder] Name="NiceNameOfPlugin" Enable=0 Help="pluginhelp.htm" |
| Name | the name for the plugin |
| Enable | the state of the plugin 0 - Disabled 1 - Enabled |
| Help | the filename for the plugin helpfile. This can be a text, html, doc, pdf or any other type of file. PE Builder uses the ShellExecute() function to start the document with its default association. |
| Config | the filename for the configuration file. |
| directoryID | is the directory number (id) In plugin .inf files you can use 'a'-'z' for dynamic number assignment... |
| dirname | is the name of the directory. If the name contains spaces put double quotes "around it". |
| attribute | numeric value to enable/disable some options value: 1 - Always create this directory (even when empty) 2 - Create directory from (output) root (in \ and not in \i386). Just add the values to combine... Default value for attr is 0. |
[WinntDirectories] ; Always create a folder in the root called "Bart" a="Bart",3 ; Create a folder in the root called "Project\Bart\Source" b="Project\Bart\Source",3 ; Create a folder in the i386 directory called "extra\files" c="extra\files",1
| ID | Directory | Remark |
| 30000 | [root] | PE Builder output root |
| 1 | \ | SystemRoot (on CD this is the \i386 folder, on hd this is the \minint folder) |
| 2 | system32 | |
| 3 | system32\config | |
| 4 | system32\drivers | |
| 5 | system | |
| 17 | system32\drivers\etc | |
| 20 | inf | |
| 21 | Help | |
| 22 | Fonts | |
| 24 | msagent\intl | |
| 52 | msagent | |
| 124 | WinSxS | |
| 125 | WinSxS\Manifests | |
| 252 | WinSxS\Policies |
| Build | Version |
|---|---|
| 2600 | Windows XP |
| 3790 | Server 2003 |
| filename | is the file to copy. |
| directoryID | is the target directory number. See WinntDirectories section for a list of standard windows directory id's. |
| filenameRenamed | is the target filename if renaming is needed. |
| attribute | numeric value to enable/disable some options value: 1 - used for pluginCheck(). Make sure that the file exists in the same directory as where the .inf file is located, before enabling or continuing. 2 - do not decompress the file. 4 - only copy the file if it exists. Don't complain when it does not exist. 8 - rename the filename to uppercase. When building an ISO image PE Builder renames the windows filenames to uppercase (required for booting from CD). Default value for attribute is 0. |
| sourcepath | is the source path/folder to copy from. This is an exact copy nothing is decompressed or extracted! |
| directoryID | is the target directory number. See WinntDirectories section for a list of standard windows directory id's. |
[WinntDirectories] a="Programs\openoffice",2 [SourceDisksFolders] ; when openoffice folder is in plugin directory openoffice=a [SourceDisksFolders] ; when openoffice folder is at c:\ c:\openoffice=a
| regType | specifies the type of information to be stored as the value’s
data. This parameter can be one of the following values: 0x0, (REG_NONE) create the key only, no value 0x1, (REG_SZ) string 0x2, (REG_EXPAND_SZ) string (with environment variable references) 0x3, (REG_BINARY) binary data 0x4, (REG_DWORD) 32-bit number 0x7, (REG_MULTI_SZ) multiple strings * Note: |
| regKey | specifies the name of the key as string. |
| regValue | specfies the name of the value as string. |
| regData | The actual data. |
0x1, "Microsoft\Windows NT\CurrentVersion\Fonts", "Tahoma (TrueType)","TAHOMA.TTF" 0x2, "Control Panel\desktop", "WallPaper", "%systemroot%\system32\nu2.bmp" 0x3, "ControlSet001\Control\TimeZoneInformation", "DaylightStart",\ 00,00,04,00,00,01,00,02,00,00,00,00,00,00,00,00 0x4, "ControlSet001\Control\GraphicsDrivers\DCI", "Timeout", 0x7 0x7, "ControlSet001\Services\VgaSave\Device0", "InstalledDisplayDrivers","vga", "framebuf", "vga256", "vga64k"
| regKey | specifies the name of the key (including all values) to delete as string. |
| regValue | specifies the name of the value to delete as string. |
| Filename | is the filename to add a line to. |
| Section | is the sectionname. |
| LineToAdd | is the line to add. |
| Filename | is the filename to add a line to. |
| Section | is the sectionname. |
| StringToDel | is the line to delete. You don't have to match exact, any lines begining with "StringToDel" will be deleted. |
| Filename | is the filename to set a value in. |
| Section | is the sectionname. |
| Key | is the key to assign a value to. |
| Value | is the data. |
| Filename | is the file where data will be appended. |
| FilenameToAppend | is the file that contain the data to append. |
| variable | expands to... |
|---|---|
| Program | The name of the builder (PE-Builder by default) |
| Version | The builder version |
| IsoFile | Full path and filename of ISO image |
| OutDir | Full path of output directory |
| SourcePath | Full path of source directory |
| PluginDir | Full path of the current plugin directory |
| PluginFile | Full path and filename of the current plugin file |
| Language | The current language |
| Verbose | Verbose mode (0 means off, 1 means on) |
| Build | The windows build number (2600 means XP, 3790 means server 2003) |