Custom action type decoder
Decode an MSI CustomAction Type number: what runs (DLL, EXE, script), where it comes from, and whether it runs deferred or as SYSTEM.
Breakdown3074 = 0xc02 = 0000 1100 0000 0010
- Runs
- Executable (EXE)runs code 2
- From
- a stream in the Binary table 0
- Options
- Deferred (runs in the install script)
- No impersonation — runs as LocalSystem
3072
The low 3 bits pick what runs, bits 4–5 where it comes from, and the higher bits how and when it runs.
Common types
| Type | What it is |
|---|---|
| DLL function · a stream in the Binary table | |
| Executable (EXE) · a stream in the Binary table | |
| JScript · a stream in the Binary table | |
| VBScript · a stream in the Binary table | |
| Nested installation · a stream in the Binary table | |
| DLL function · a file the package installs | |
| Executable (EXE) · a file the package installs | |
| Shows an error message and stops the installation | |
| JScript · a file the package installs | |
| VBScript · a file the package installs | |
| Executable (EXE) · a directory / inline text | |
| Sets a directory | |
| JScript · a directory / inline text | |
| VBScript · a directory / inline text | |
| Executable (EXE) · a property | |
| Sets a property | |
| JScript · a property | |
| VBScript · a property | |
| Executable (EXE) · a directory / inline text · Ignore the exit code, Asynchronous (don't wait) | |
| DLL function · a stream in the Binary table · Deferred (runs in the install script) | |
| Executable (EXE) · a stream in the Binary table · Deferred (runs in the install script) | |
| DLL function · a stream in the Binary table · Deferred (runs in the install script), No impersonation — runs as LocalSystem | |
| Executable (EXE) · a stream in the Binary table · Deferred (runs in the install script), No impersonation — runs as LocalSystem | |
| Executable (EXE) · a directory / inline text · Deferred (runs in the install script), No impersonation — runs as LocalSystem | |
| Executable (EXE) · a property · Deferred (runs in the install script), No impersonation — runs as LocalSystem |