Actions#
Actions are effectively “commands” for AME Wizard to execute, and are written in YAML using the camelCase naming convention (ex. appx
, scheduledTask
).
To get started using actions, follow our Getting Started guide.
Optional Parameters#
All actions have the following optional parameters.
Paramater |
Description |
Type |
Default |
---|---|---|---|
|
Specifies how much impact the action will have on the progress bar once completed. |
integer |
2-5 for most actions |
|
Specifies what happens if the action fails. |
Enum:
|
varies |
|
See Features In YAML. |
string |
None |
|
Similar to |
string array |
None |
|
Specifies which Windows builds the action should apply to.
|
string array |
None |
|
Specifies to only run an action if the specified architecture matches the system architecture. |
string
|
None |
|
Specifies whether or not to run action during an upgrade. See Upgrades. |
bool |
false |
|
Specifies on what previous version(s) |
string array |
None |
|
Specifies what previous option to match during an upgrade. See Upgrades. |
string |
None |
Navigate to an action below for examples and/or parameters.
Actions overview#
RunAction: runs a specified executable or file.
RegistryKey: adds or deletes a specified registry key.
RegistryValue: modifies a specified registry value.
Appx: removes, or clears the cache of a given APPX component.
Service: executes a specified cmd command.
ScheduledTask: deletes a task folder, or modifies a specific task.
TaskKill: terminates a specified process.
SystemPackage: removes a specified Windows component.
Cmd: executes a specified cmd command.
PowerShell: executes a specified PowerShell command.
WriteStatus: writes a status message for AME Wizard.
Task: runs a YAML task file.