Skip to content

PhoenixAPI

Homes32 edited this page Jan 7, 2024 · 6 revisions

PhoenixAPI Macros

Categories

Click on a Command below for more information.

Command Description
7z Execute 7zip with the provided arguments.
AddAutoRun Run a program when the PE Environment starts.
AddPostProcess Configure a section to process during Build Post-Process
AddShortcut Create Shortcuts for programs in PE.
AddStartupConfig Add a free-form line of code to the startup config.
ApplyBitMask Apply a bitmask to a hex value in a binary string.
Associate Associate a file extension with a program.
BitClear Clear a specific bit in a binary string.
BitSet Set a specific bit in a binary string.
BitToggle Set/Clear a specific bit in a binary string.
ConvertImage Convert an image to the specified format.
DirDeleteEx Delete a directory if it exists.
DISM Execute DISM with the provided arguments.
FileCopyEx Copy a single file and it's .mui's (if they exist) from a specified directory.
FileDeleteEx Delete a file if it exists.
FileSearch Search for a file and return it's full path if it exists. If the file cannot be found an empty string is returned.
GetBinaryResource Extract a binary resource from an executable file.
GetStringResource Extract a string resource from an executable file.
InnoCleanup Cleanup extracted Inno Setup files.
InnoExtract Extract files from an Inno Setup installer.
InnoRename Rename extracted Inno Setup files.
Innounp Execute Innounp (Inno Setup Unpacker) with the provided arguments.
JSONCompact Compact/minify a JSON value.
JSONDelete Add a new element/text/attribute to an XML file.
JSONPretty Format and indent the JSON file for easy human reading.
JSONRead Read a JSON value.
JSONWrite Set/Modify an JSON value.
MSIExtract Extract files from an .msi installer.
PinShortcut Pin a shortcut to the taskbar or start menu.
RegCopyDriver Copy the driver entries from the INSTALL.WIM driver database to the target registry driver database.
RegLoadHives Mount Source and Build registry hives.
RegUnloadHives UnMount Source and Build registry hives.
RequireDriver Copy the driver support files and driver entries from the INSTALL.WIM driver database to the target registry driver database.
RequireFileEx Extract files and their .mui's (if they exist) from Install.wim
RequireFile Extract a single file and it's .mui's (if they exist) from Install.wim
RunFromRam Choose to redirect the programs folder to Boot.wim
SetFileACL Give full control for "Everyone" on a file or directory.
SetRegACL Take ownership and grant full control for "Everyone" on a registry key.
WixExtract Extract files from an Windows Installer XML Toolset (WiX) installer.
XMLAdd Delete a JSON value.
XMLDelete Delete an XML path/value.
XMLRead Read an XML value.
XMLRename Rename a value in an XML file.
XMLUpdate Update the value of an existing Attribute/Element
Clone this wiki locally