Appendix A: Actions
| <action> - Common Properties | |||
|---|---|---|---|
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to abort the installation on an error while executing the action. |
|
|
0, 1 |
Breakpoint |
|
string |
Show a custom error message. |
||
text |
Additional text to show when the action is displayed on the final page action list. |
||
string |
Text to show on the progress bar or final page action List |
||
|
and, or |
Boolean operator for rule concatenation |
|
|
0, 1 |
Whether or not to run the related action or not |
|
|
0, 1 |
Show or hide the checkbutton in the final page action list |
|
|
0, 1 |
Whether or not to show an error message when an error occurs. |
|
List of actions to execute if the action fails |
|||
List of rules to satisfy in order to evaluate the current element |
|||
Dialog Actions
| <consoleWrite> | |||
|---|---|---|---|
Write text to console |
|||
property |
default value |
allowed values |
description |
text |
Text to write |
||
|
|||
| <showChoiceQuestion> | |||
|---|---|---|---|
Prompt a choice question dialog to the user. |
|||
property |
default value |
allowed values |
description |
string |
Default value |
||
text |
Information message that will be shown |
||
|
string |
Dialog title |
|
string |
Variable to store choice |
||
Predefined list of options that allows the user to select a value |
|||
|
|||
| <showInfo> | |||
|---|---|---|---|
Prompt an info dialog to the user. |
|||
property |
default value |
allowed values |
description |
text |
Information message that will be shown |
||
|
string |
Title of the dialog window |
|
|
|||
| <showParameterGroupDialog> | |||
|---|---|---|---|
Show a complex popup to the user |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
Popup window height |
|
|
vertical, horizontal |
Set orientation for objects in the group. It can only be horizontal or vertical. If not specified, defaults to vertical. |
|
|
string |
Title of the dialog window |
|
string |
Variable name where the result of the popup will be stored |
||
|
positive integer or zero |
Popup window width |
|
List of parameters to group |
|||
|
|||
| <showPasswordQuestion> | |||
|---|---|---|---|
Ask the user to enter a password. |
|||
property |
default value |
allowed values |
description |
text |
Question message that will be shown. |
||
string |
Dialog window title. |
||
string |
Variable name where the password will be stored. |
||
|
|||
| <showProgressDialog> | |||
|---|---|---|---|
Display an indeterminate progressmeter in a popup window to execute a list of actions. |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
Popup window height |
|
|
string |
Title of the progress dialog window |
|
|
positive integer or zero |
Popup window width |
|
Actions to Execute |
|||
|
|||
| <showQuestion> | |||
|---|---|---|---|
Prompt a question to the user. The result is stored as yes or no in the given variable name. |
|||
property |
default value |
allowed values |
description |
|
yes, no |
Default answer, it can be yes or no. |
|
text |
Question message that will be shown. |
||
|
string |
Title of the dialog window |
|
string |
Variable name where the result will be stored |
||
|
|||
| <showStringQuestion> | |||
|---|---|---|---|
Ask the user a question. |
|||
property |
default value |
allowed values |
description |
string |
Question message that will be shown. |
||
string |
Dialog window title. |
||
string |
Variable name where the answer will be stored. |
||
|
|||
| <showText> | |||
|---|---|---|---|
Display a read-only text dialog to the user. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Show text with monospaced font |
|
|
positive integer or zero |
Text window height |
|
text |
HTML text that will be shown in Qt mode. Note that regular text still needs to be provided in case the installer is run in another mode |
||
text |
Text that will be shown. |
||
string |
Dialog title. |
||
|
positive integer or zero |
Text window width |
|
|
|||
| <showWarning> | |||
|---|---|---|---|
Shows a warning dialog with the given text. |
|||
property |
default value |
allowed values |
description |
|
text |
Warning message that will be shown. |
|
|
string |
Title of the dialog window |
|
|
|||
| <throwError> | |||
|---|---|---|---|
Generate an error inside the installer so the installer will exit. The only exception to this is when abortOnError equals zero or the action is inside a validationActionList, in which case it will prompt an error dialog to the user, but will not exit the installer. |
|||
property |
default value |
allowed values |
description |
|
text |
Error message |
|
|
|||
| <validatedActionGroup> | |||
|---|---|---|---|
Validate a group of actions |
|||
property |
default value |
allowed values |
description |
|
error, warning, info |
Severity of the dialog |
|
text |
message that will be shown. |
||
|
abortRetryIgnore, abortRetry |
Dialog type |
|
List of actions to be grouped |
|||
|
|||
Environment Actions
| <addDirectoryToPath> | |||
|---|---|---|---|
Add a directory to the system path. This will modify the registry on windows and the appropiate shell initialization files on Unix systems |
|||
property |
default value |
allowed values |
description |
|
beginning, end |
Where to insert the new directory in the PATH (currently Unix only) |
|
string |
Path to the directory |
||
|
system, user |
Select user path or system path. |
|
|
|||
| <addEnvironmentVariable> | |||
|---|---|---|---|
Add a system environment variable. This will modify the registry on Windows and the appropiate shell initialization files on Unix systems. |
|||
property |
default value |
allowed values |
description |
string |
Environment variable name. |
||
|
system, user |
Scope. |
|
string |
User to modify the environment for. If empty, the current user will be used |
||
string |
Variable name |
||
|
|||
| <addFonts> | |||
|---|---|---|---|
Add fonts to the Windows system |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <addLibraryToPath> | |||
|---|---|---|---|
Add a path in which the system will search for shared libraries on Linux |
|||
property |
default value |
allowed values |
description |
string |
Path to add to the system search for dynamic libraries on Linux |
||
|
|||
| <deleteEnvironmentVariable> | |||
|---|---|---|---|
Delete an environment variable from the system. |
|||
property |
default value |
allowed values |
description |
string |
Environment variable name. |
||
|
system, user |
Scope. |
|
string |
User to modify the environment for. If empty, the current user will be used |
||
|
|||
| <pwd> | |||
|---|---|---|---|
Get the current working directory |
|||
property |
default value |
allowed values |
description |
string |
Variable to which to save the current working directory. |
||
|
|||
| <removeDirectoryFromPath> | |||
|---|---|---|---|
Remove a directory from the System Path. This will modify the System Path |
|||
property |
default value |
allowed values |
description |
string |
Path to the directory |
||
|
system, user |
Select user path or system path. |
|
|
|||
| <removeFonts> | |||
|---|---|---|---|
Remove fonts from the Windows system |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <setEnvironmentVariable> | |||
|---|---|---|---|
Set the value of a system environment variable. If it does not exist yet, a new one will be created. The variable will not exist once the installer has finished. |
|||
property |
default value |
allowed values |
description |
string |
Variable name |
||
string |
Variable value |
||
|
|||
File Manipulation Actions
| <addDirectoriesToUninstaller> | |||
|---|---|---|---|
Add directories to the uninstaller. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to add directory contents to the uninstaller |
|
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <addFilesToUninstaller> | |||
|---|---|---|---|
Add files to uninstaller. |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <addTextToFile> | |||
|---|---|---|---|
Append text to a file. If the file does not exist, it will be created. |
|||
property |
default value |
allowed values |
description |
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode, default, binary |
Encoding of the text file |
|
|
auto, none, cr, crlf, lf |
End Of Line Conversion |
|
string |
Path to the file |
||
|
end, beginning |
Whether to insert the text at the beginning or at the end of the file |
|
text |
Text to append |
||
|
|||
| <dos2unix> | |||
|---|---|---|---|
Convert plain text files in DOS/Mac format to Unix format. |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <iniFileGet> | |||
|---|---|---|---|
Extract property values out of a INI file. |
|||
property |
default value |
allowed values |
description |
string |
Path to INI file |
||
string |
Property Key |
||
string |
INI section |
||
string |
Variable name to save property to |
||
|
|||
| <iniFileSet> | |||
|---|---|---|---|
Set property values of a INI file. |
|||
property |
default value |
allowed values |
description |
string |
Path to INI file |
||
string |
Property Key |
||
string |
INI section |
||
string |
Property Value |
||
|
|||
| <propertiesFileGet> | |||
|---|---|---|---|
Extract property values out of a properties file. |
|||
property |
default value |
allowed values |
description |
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode, default, binary |
Encoding of the text file |
|
|
auto, none, cr, crlf, lf |
End Of Line Conversion |
|
string |
Path to the property file |
||
string |
Property key |
||
string |
Variable name to save property to |
||
|
|||
| <propertiesFileSet> | |||
|---|---|---|---|
Writes out property values to a properties file, creating a new file if it does not exist. |
|||
property |
default value |
allowed values |
description |
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode, default, binary |
Encoding of the text file |
|
|
auto, none, cr, crlf, lf |
End Of Line Conversion |
|
string |
Path to the property file |
||
string |
Property key |
||
string |
Value to set the key to. |
||
|
|||
| <readFile> | |||
|---|---|---|---|
Read the contents of a file and save it in a variable. |
|||
property |
default value |
allowed values |
description |
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode, default, binary |
Encoding of the text file |
|
|
auto, none, cr, crlf, lf |
End Of Line Conversion |
|
string |
Variable to which to save the file contents |
||
string |
Path to the file you wish to read the contents from |
||
|
0, 1 |
Whether or not to remove or not Byte Order Mark on Unicode files |
|
|
|||
| <removeFilesFromUninstaller> | |||
|---|---|---|---|
Remove files or directories from uninstaller. |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <substitute> | |||
|---|---|---|---|
Substitute a value in a file. |
|||
property |
default value |
allowed values |
description |
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode, binary |
Encoding of the files to substitute |
|
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
regexp, exact |
Type of substitution, regular expression or exact |
|
List of patterns/values for a substitution |
|||
|
|||
| <unix2dos> | |||
|---|---|---|---|
Convert plain text files in Unix format to DOS format. |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <writeFile> | |||
|---|---|---|---|
Create or replace a file with a certain text content. |
|||
property |
default value |
allowed values |
description |
|
iso8859-1, iso8859-2, utf-8, cp1251, cp1252, ascii, macRoman, unicode, default, binary |
Encoding of the text file |
|
|
auto, none, cr, crlf, lf |
End Of Line Conversion |
|
string |
Path of the file to be created or replaced |
||
text |
Text to write |
||
|
|||
| <xmlFileCommentElement> | |||
|---|---|---|---|
Comment entire subtree of an XML file |
|||
property |
default value |
allowed values |
description |
string |
XPath expression pointing to the selected element |
||
string |
Path to XML file |
||
|
|||
| <xmlFileGet> | |||
|---|---|---|---|
Read value of element or attribute from an XML file |
|||
property |
default value |
allowed values |
description |
string |
If present, the action will refer to the attribute instead of the element |
||
string |
XPath expression pointing to the selected element |
||
string |
Path to XML file |
||
string |
Variable where to start the result |
||
|
|||
| <xmlFileSet> | |||
|---|---|---|---|
Set the value of an element or attribute in an XML file |
|||
property |
default value |
allowed values |
description |
string |
If present, the action will refer to the attribute instead of the element |
||
string |
XPath expression pointing to the selected element |
||
string |
Path to XML file |
||
string |
Value to store in element or attribute |
||
|
|||
| <yamlFileGet> | |||
|---|---|---|---|
Read value of element from a YAML file |
|||
property |
default value |
allowed values |
description |
string |
Path expression pointing to the selected element |
||
string |
Path to YAML file |
||
string |
Variable where to start the result |
||
|
|||
| <yamlFileSet> | |||
|---|---|---|---|
Set the value of an element in a YAML file |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
If the parent of the provided element does not exist, create it instead of failing |
|
string |
Path expression pointing to the selected element |
||
string |
Path to YAML file |
||
string |
Value to store in element |
||
|
|||
File System Actions
| <copyFile> | |||
|---|---|---|---|
Create a copy of a file or directory. The destination file or directory will be overwritten if it already exists |
|||
property |
default value |
allowed values |
description |
string |
Path to where the file will be copied. |
||
string |
Patterns to exclude files |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
string |
Path to the original file. |
||
|
|||
| <createBackupFile> | |||
|---|---|---|---|
Create a backup of a file or directory. The backup will be named with a .bak extension if no destination is specified. If a backup file already exists, new backups will be named .bak1, .bak2 and so on. |
|||
property |
default value |
allowed values |
description |
string |
Path to the destination backup folder. |
||
string |
Path to original file you wish to backup. |
||
|
|||
| <createDirectory> | |||
|---|---|---|---|
Create a new directory |
|||
property |
default value |
allowed values |
description |
string |
Path to the new directory |
||
|
|||
| <createShortcuts> | |||
|---|---|---|---|
Creates one or more shortcuts in specified location. |
|||
property |
default value |
allowed values |
description |
string |
Path to the location where you want to create the shortcuts. |
||
List of shortcuts to create. |
|||
|
|||
| <createSymLink> | |||
|---|---|---|---|
Create a symbolic link to a file. It is the equivalent to the Unix ln command. |
|||
property |
default value |
allowed values |
description |
string |
Symbolic link name. |
||
string |
Path to the file to which you want to create a symbolic link. |
||
|
|||
| <deleteFile> | |||
|---|---|---|---|
Delete a file or directory (including its contents). The action does not throw an error if deleting a file or directory failed. |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
string |
Path to the file or directory to delete. It accepts patterns |
||
|
|||
| <getFileInfo> | |||
|---|---|---|---|
Gets Information About File Or Directory |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to follow or not symbolic links |
|
string |
Path |
||
|
size, type |
Type of information to retrieve |
|
string |
Variable to store result in |
||
|
|||
| <getSymLinkTarget> | |||
|---|---|---|---|
Get the destination path referenced by the given symbolic link. Returns an empty value if the file doesn’t exist or is not a symbolic link. |
|||
property |
default value |
allowed values |
description |
string |
Symbolic link path |
||
string |
Variable to store result |
||
|
|||
| <renameFile> | |||
|---|---|---|---|
Change the name of a file or directory |
|||
property |
default value |
allowed values |
description |
string |
New name of the file. |
||
string |
Patterns to exclude files |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
string |
Original name of the file. |
||
|
|||
| <touchFile> | |||
|---|---|---|---|
Update the access and modification times of a file or directory. If the file does not exist, it can be specified whether to create an empty file or not. It is equivalent to the touch Unix command. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether or not to create the file in case it does not exist |
|
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
string |
Path to the file/directory to be touched |
||
|
|||
| <unpackDirectory> | |||
|---|---|---|---|
Extract a directory from an installer before files are unpacked during the installation phase |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
If enabled, adds unpacked objects to uninstaller so they are removed during uninstallation |
|
string |
Project component where the directory you want to extract is located. |
||
string |
Path to the location where you want to extract the directory. |
||
string |
Project folder name where the directory you want to extract is located. |
||
string |
Directory name you want to extract. |
||
|
|||
| <unpackFile> | |||
|---|---|---|---|
Extract files from an installer before files are unpacked during the installation phase |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
If enabled, adds unpacked objects to uninstaller so they are removed during uninstallation |
|
string |
Project component where the file you want to extract is located |
||
string |
Path to the location where you want to extract the file |
||
string |
Project folder name where where the file you want to extract is located |
||
string |
File name you want to extract |
||
|
|||
| <unzip> | |||
|---|---|---|---|
Extract content from a zip file to a destination folder. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
If enabled, adds unpacked objects to uninstaller so they are removed during uninstallation |
|
string |
Path to the folder where you want the file content to be extracted. The folder must exist and must be writable |
||
string |
ZIP file that will be uncompressed |
||
|
|||
| <zip> | |||
|---|---|---|---|
Pack one or more files to a zip file, relative to base directory. |
|||
property |
default value |
allowed values |
description |
string |
Directory that all files will be packed relatively to |
||
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
string |
ZIP file that will be created |
||
|
|||
Flow Control Actions
| <break> | |||
|---|---|---|---|
Break current loop |
|||
|
| <continue> | |||
|---|---|---|---|
Continue current loop |
|||
|
| <foreach> | |||
|---|---|---|---|
Iterate over a set of values |
|||
property |
default value |
allowed values |
description |
string |
Space-separated values to iterate over |
||
string |
Space-separated list of variables that will be assigned a value with each iteration |
||
List of actions |
|||
|
|||
| <if> | |||
|---|---|---|---|
Conditionally execute a group of actions |
|||
property |
default value |
allowed values |
description |
|
and, or |
Condition rule evaluation logic |
|
List of actions to execute if condition is true |
|||
List of conditions |
|||
List of actions to execute if condition is false |
|||
|
|||
| <while> | |||
|---|---|---|---|
Execute a group of actions as long as conditions are met |
|||
property |
default value |
allowed values |
description |
|
and, or |
Condition rule evaluation logic |
|
List of actions |
|||
List of conditions |
|||
|
|||
HTTP Actions
| <httpGet> | |||
|---|---|---|---|
Access a URL and save the result into a file. |
|||
property |
default value |
allowed values |
description |
string |
Filename to which to save the result to |
||
string |
Password for URLs that require authentication |
||
string |
URL to launch |
||
string |
Username for URLs that require authentication |
||
List of headers for the request |
|||
|
|||
| <httpPost> | |||
|---|---|---|---|
Access a URL using HTTP POST and save the result into a file. |
|||
property |
default value |
allowed values |
description |
string |
Content-type HTTP header. |
||
text |
Raw data that will be included in the POST query. |
||
string |
Filename to which to save the result to |
||
string |
Password for URLs that require authentication |
||
string |
URL to launch |
||
string |
Username for URLs that require authentication |
||
List of headers for the request |
|||
List of variables that will be included in the POST query. |
|||
|
|||
| <httpProxyInit> | |||
|---|---|---|---|
Configure proxy to be used by http actions |
|||
property |
default value |
allowed values |
description |
|
string |
Space separated list of patters for urls that will be excluded from the proxy configuration |
|
string |
Proxy server password |
||
string |
Proxy server port |
||
string |
Proxy server url |
||
string |
Proxy server username |
||
|
|||
| <launchBrowser> | |||
|---|---|---|---|
Launch the default web browser with a given URL. |
|||
property |
default value |
allowed values |
description |
string |
URL of the page to be shown. |
||
|
|||
| <urlDecode> | |||
|---|---|---|---|
Decode a given text using URL formatting specifications and place the result in a variable. |
|||
property |
default value |
allowed values |
description |
text |
Text to decode |
||
string |
Variable to store the result in |
||
|
|||
| <urlEncode> | |||
|---|---|---|---|
Encode a given text using URL formatting specifications and place the result in a variable. |
|||
property |
default value |
allowed values |
description |
text |
Text to encode |
||
string |
Variable to store the result in |
||
|
|||
Installer Actions
| <actionGroup> | |||
|---|---|---|---|
Group a set of actions. |
|||
property |
default value |
allowed values |
description |
List of actions to be grouped |
|||
|
|||
| <addChoiceOptions> | |||
|---|---|---|---|
Add options to an existing choice parameter |
|||
property |
default value |
allowed values |
description |
string |
Name of an existing choice parameter. |
||
List of options to give to a choice parameter |
|||
|
|||
| <addChoiceOptionsFromText> | |||
|---|---|---|---|
Add options to an existing choice parameter from a given text |
|||
property |
default value |
allowed values |
description |
string |
Name of an existing choice parameter. |
||
text |
Text with the options to give to a choice parameter |
||
|
|||
| <componentSelection> | |||
|---|---|---|---|
Select or deselect components for installation. |
|||
property |
default value |
allowed values |
description |
string |
Comma separated list of components you wish to deselect for installation. |
||
string |
Comma separated list of components you wish to select for installation. |
||
|
|||
| <decodeBase64> | |||
|---|---|---|---|
Decode a string using base64. |
|||
property |
default value |
allowed values |
description |
string |
Text to process |
||
string |
Variable to save the final result to. |
||
|
|||
| <encodeBase64> | |||
|---|---|---|---|
Encode a string using base64. |
|||
property |
default value |
allowed values |
description |
string |
Text to process |
||
string |
Variable to save the final result to. |
||
|
|||
| <exit> | |||
|---|---|---|---|
Exit the installer/uninstaller. |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
exit code returned by the installer/uninstaller |
|
|
|||
| <generateRandomValue> | |||
|---|---|---|---|
Generate a random value. |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
Character length for the generated value. |
|
string |
Variable to which to save the generated value. |
||
|
|||
| <globalVariables> | |||
|---|---|---|---|
Mark a list of variables as global. Global variables defined or modified inside custom actions preserve their values after the execution while regular variables are not visible outside. |
|||
property |
default value |
allowed values |
description |
string |
Variable names |
||
|
|||
| <logMessage> | |||
|---|---|---|---|
Write a message to the installation log. Useful for debugging purposes. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Whether to enable timestamp in the message or not. |
|
text |
Message to include in log |
||
|
string |
Format string for the optional timestamp. The string allows a number of field descriptors. |
|
|
|||
| <mathExpression> | |||
|---|---|---|---|
Calculate math expression |
|||
property |
default value |
allowed values |
description |
string |
|||
string |
Variable to save the final result to. |
||
|
|||
| <md4> | |||
|---|---|---|---|
Generate a MD4 from a given text. |
|||
property |
default value |
allowed values |
description |
text |
Text to calculate the MD4 on. |
||
|
0, 1 |
Whether or not to create an NTLM compilant hash |
|
string |
Variable to which to save the MD4 to. |
||
|
|||
| <md5> | |||
|---|---|---|---|
Generate a MD5 from a given text. |
|||
property |
default value |
allowed values |
description |
text |
Text to calculate the MD5 on. |
||
string |
Variable to which to save the MD5 to. |
||
|
|||
| <removeChoiceOptions> | |||
|---|---|---|---|
Clear choice values for a parameter |
|||
property |
default value |
allowed values |
description |
string |
Name of an existing choice parameter. |
||
string |
Options to remove |
||
|
|||
| <setEncryptionPassword> | |||
|---|---|---|---|
Specifies and verifies password to use for copying files from installer |
|||
property |
default value |
allowed values |
description |
string |
Password to use; action will throw error if password specified does not match password from build time |
||
|
|||
| <setInstallerVariable> | |||
|---|---|---|---|
Set a installer variable. If the name of the variable matches a parameter name, the value of the parameter will be updated. |
|||
property |
default value |
allowed values |
description |
string |
Variable name |
||
|
0, 1 |
Whether the variable will be available in the uninstaller as well. |
|
text |
Value to set the variable to |
||
|
|||
| <setInstallerVariableFromRegEx> | |||
|---|---|---|---|
Set a installer variable to the result of a regular expression. If the name of the variable matches a parameter name, the value of the parameter will be updated. |
|||
property |
default value |
allowed values |
description |
string |
Name of the variable to set |
||
string |
Pattern to match |
||
string |
Value to replace matched text with |
||
text |
Text to match |
||
|
|||
| <setInstallerVariableFromScriptOutput> | |||
|---|---|---|---|
Set a installer variable to the output of a script. If the name of the variable matches a parameter name, the value of the parameter will be updated. |
|||
property |
default value |
allowed values |
description |
string |
Path to the script to run |
||
string |
Arguments to pass to the script |
||
string |
Name of the variable to set |
||
string |
Working directory. This is important for scripts that expect to be run from a specific location |
||
|
|||
| <sha1> | |||
|---|---|---|---|
Generate a SHA-1 from a given text. |
|||
property |
default value |
allowed values |
description |
text |
Text to calculate the SHA-1 on. |
||
string |
Variable to which to save the SHA-1 to. |
||
|
|||
| <sha256> | |||
|---|---|---|---|
Generate a SHA-256 from a given text. |
|||
property |
default value |
allowed values |
description |
text |
Text to calculate the SHA-256 on. |
||
string |
Variable to which to save the SHA-256 to. |
||
|
|||
| <stringModify> | |||
|---|---|---|---|
Perform one of the allowed transformations in the specified text, storing the result into a variable. |
|||
property |
default value |
allowed values |
description |
|
toupper, tolower, totitle, trimleft, trimright, trim |
Transformation to perform. |
|
text |
Text which will be transformed. |
||
string |
Variable name which will store the result. |
||
|
|||
| <wait> | |||
|---|---|---|---|
Pause the installation for given time |
|||
property |
default value |
allowed values |
description |
string |
Number of milliseconds to wait |
||
|
|||
Java Actions
| <autodetectJava> | |||
|---|---|---|---|
Autodetects an existing Java (tm) installation in the system and creates corresponding installer variables: java_executable java_vendor java_version java_version_major java_version_full java_bitness. If a valid java version was found, the variable java_autodetected will be set to 1 |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Prompt user to choose appropriate version |
|
|
first, oldest, newest |
Order of the Java versions detected |
|
List of supported Java versions |
|||
|
|||
| <createJavaLaunchers> | |||
|---|---|---|---|
Creates one or more Java launchers in specified location. |
|||
property |
default value |
allowed values |
description |
string |
Path to the location where you want to create the launchers. |
||
List of launchers to create. |
|||
|
|||
OSX-specific actions
| <changeOSXAttributes> | |||
|---|---|---|---|
Change OSX attributes of a file or directory. Trying to set an attribute on a read only file will result in a failure. Make sure the file is writable before attempting to change any attribute other than, of course, readOnly |
|||
property |
default value |
allowed values |
description |
string |
Creator to set to file or directory |
||
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
|
1, 0, unchanged |
Whether the file is visible or not |
|
1, 0, unchanged |
Whether the file is read only or writable |
|
string |
Type to set to file or directory |
||
|
|||
Registry Actions
| <registryDelete> | |||
|---|---|---|---|
Delete a registry entry. If the entry to delete is only a registry key and it does not exist, the action will be ignored. Deleting a registry value (key + name combination) that does not exist will trigger a regular error. |
|||
property |
default value |
allowed values |
description |
string |
Registry key |
||
string |
Entry name to delete |
||
|
none, 32, 64 |
Determines whether we want to access a 32-bit or 64-bit view of the Registry |
|
|
|||
| <registryFind> | |||
|---|---|---|---|
Retrieve the first registry hive and content matching a certain expression and store it as a list in an installer variable. If no match is found the variable will be created empty. |
|||
property |
default value |
allowed values |
description |
|
string |
Pattern to match in the value |
|
|
0, 1 |
Whether to look for the first occurrence or for all |
|
|
string |
Pattern to match key name with |
|
|
string |
Pattern to match entry name with |
|
|
string |
Root key from which start the search |
|
|
positive integer or zero |
Maximum depth of the search. 0 will look just in the Root Key |
|
string |
Variable name to store the results |
||
|
none, 32, 64 |
Determines whether we want to access a 32-bit or 64-bit view of the Registry |
|
|
|||
| <registryGet> | |||
|---|---|---|---|
Store the value of a registry key in an installer variable. If the key or name does not exist, then the variable will be created empty. |
|||
property |
default value |
allowed values |
description |
string |
Registry key |
||
string |
Entry name to read value from |
||
string |
Variable name to store registry value to |
||
|
none, 32, 64 |
Determines whether we want to access a 32-bit or 64-bit view of the Registry |
|
|
|||
| <registryGetKey> | |||
|---|---|---|---|
Store in variable the first registry key that matches the given pattern, or set the variable to empty otherwise. The search is case-sensitive for the whole key provided. |
|||
property |
default value |
allowed values |
description |
string |
Registry key |
||
string |
Variable to store result |
||
|
none, 32, 64 |
Determines whether we want to access a 32-bit or 64-bit view of the Registry |
|
|
|||
| <registryGetMatch> | |||
|---|---|---|---|
Store the value of the first match of a registry key matching a certain expression in an installer variable. If the key or name does not exist, then the variable will be created empty. The name can contain a wildcard expression (using *) |
|||
property |
default value |
allowed values |
description |
string |
Registry key |
||
string |
Entry name to read value from |
||
string |
Variable name to store registry value to |
||
|
none, 32, 64 |
Determines whether we want to access a 32-bit or 64-bit view of the Registry |
|
|
|||
| <registrySet> | |||
|---|---|---|---|
Create a new registry key or modify the value of an existing registry key. |
|||
property |
default value |
allowed values |
description |
string |
Registry key |
||
string |
Entry name to set or modify value to |
||
|
REG_BINARY, REG_NONE, REG_SZ, REG_EXPAND_SZ, REG_DWORD, REG_BIG_ENDIAN, REG_LINK, REG_MULTI_SZ, REG_RESOURCE_LIST |
Type of key to add |
|
string |
Value to set to the registry key |
||
|
0, 1 |
Create a volatile key |
|
|
none, 32, 64 |
Determines whether we want to access a 32-bit or 64-bit view of the Registry |
|
|
|||
Services Actions
| <addUnixService> | |||
|---|---|---|---|
This action allows you to create a new service in a Linux based system. Note that you will need to run the installer as root to be able to create new services. |
|||
property |
default value |
allowed values |
description |
string |
Product description |
||
string |
Service Name |
||
string |
Path to the program |
||
|
|||
| <createOSXService> | |||
|---|---|---|---|
Create Mac OS X service. |
|||
property |
default value |
allowed values |
description |
|
0, 1 |
Don’t kill the remaining processes with the same group ID. |
|
string |
Groupname |
||
|
0, 1 |
Keep process alive by launchctl |
|
string |
Path to program |
||
string |
Arguments to pass to the program |
||
|
user, system |
Scope of service |
|
string |
Identifier for the service name |
||
string |
Username |
||
|
|||
| <createWindowsService> | |||
|---|---|---|---|
Register a program as a Windows service. |
|||
property |
default value |
allowed values |
description |
string |
User account under which the service should run. It takes the form domain\username. If the account is a local account, it may be specified as .\username or username. If this option is not specified, the service will run under the LocalSystem account. |
||
string |
Comma separated list of services that the created service depends on |
||
string |
Program description |
||
string |
Name displayed in the Windows service control panel |
||
string |
Password for the user account if one is specified. |
||
string |
Path to program |
||
string |
Arguments to pass to the program |
||
string |
Internal service name |
||
|
auto, manual, disabled |
Specify how the service should be started |
|
|
|||
| <deleteOSXService> | |||
|---|---|---|---|
Delete Mac OS X service. |
|||
property |
default value |
allowed values |
description |
|
user, system |
Scope of service |
|
string |
Identifier for the service name |
||
|
|||
| <deleteWindowsService> | |||
|---|---|---|---|
Delete a Windows service |
|||
property |
default value |
allowed values |
description |
string |
Name displayed in the Windows service control panel |
||
string |
Internal service name |
||
|
|||
| <getUniqueWindowsServiceName> | |||
|---|---|---|---|
Return a unique service name |
|||
property |
default value |
allowed values |
description |
string |
Initial display name for the service |
||
string |
Variable to store the service display name |
||
string |
Variable to store the Service name |
||
string |
Initial name for the service |
||
|
|||
| <removeUnixService> | |||
|---|---|---|---|
This action allows you to remove a service in a Linux based system. Note that you will need to run the installer as root to be able to remove services. |
|||
property |
default value |
allowed values |
description |
string |
Service Name |
||
|
|||
| <restartWindowsService> | |||
|---|---|---|---|
Restart a Windows service |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
Amount of milliseconds to wait for the service to start / stop. |
|
string |
Name displayed in the Windows service control panel |
||
string |
Internal service name |
||
|
|||
| <startOSXService> | |||
|---|---|---|---|
Start Mac OS X service. |
|||
property |
default value |
allowed values |
description |
string |
Identifier for the service name |
||
|
|||
| <startWindowsService> | |||
|---|---|---|---|
Start a Windows service |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
Amount of milliseconds to wait for the service to start. |
|
string |
Name displayed in the Windows service control panel |
||
string |
Internal service name |
||
|
|||
| <stopOSXService> | |||
|---|---|---|---|
Stop Mac OS X service. |
|||
property |
default value |
allowed values |
description |
string |
Identifier for the service name |
||
|
|||
| <stopWindowsService> | |||
|---|---|---|---|
Stop a Windows service |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
Amount of milliseconds to wait for the service to stop. |
|
string |
Name displayed in the Windows service control panel |
||
string |
Internal service name |
||
|
|||
System Actions
| <addUnixDesktopStartUpItem> | |||
|---|---|---|---|
Adds a program to be executed whenever a window manager session starts (only Linux KDE/Gnome supported). |
|||
property |
default value |
allowed values |
description |
string |
The description of the program. |
||
string |
The name of this startup item. |
||
string |
Path to the program to be executed when the session starts. |
||
string |
Arguments to be considered when running the program (only available for GNOME). |
||
|
string |
User to add the Startup item for. If empty, the current user will be used |
|
|
|||
| <createTimeStamp> | |||
|---|---|---|---|
This action allows you to create a timestamp using a custom format, storing the result in an installer variable. |
|||
property |
default value |
allowed values |
description |
|
string |
Format string for the generated timestamp. The string allows a number of field descriptors. |
|
string |
Variable that will store the resulting timestamp. |
||
|
|||
| <dirName> | |||
|---|---|---|---|
Returns a name comprised of all of the path components in name excluding the last element. If name is a relative file name and only contains one path element, then returns ".". If name refers to a root directory, then the root directory is returned. |
|||
property |
default value |
allowed values |
description |
string |
The path from which the base directory will be retrieved. |
||
string |
Variable that will store the directory path. |
||
|
|||
| <findFile> | |||
|---|---|---|---|
Search for a file in a directory and all the subdirectories. |
|||
property |
default value |
allowed values |
description |
string |
Path to the directory in which to search for the file. It will search inside the directory and all of its subdirectories. |
||
|
0, 1 |
Whether or not to follow or not symbolic links |
|
string |
Pattern for the file that will be searched. The pattern can contain wildcards (*,?). |
||
string |
Variable where the full path to the first matching file will be stored |
||
|
|||
| <getDiskUsage> | |||
|---|---|---|---|
Calculate the disk usage (KiloBytes) for a file or set of files, and save the value in the given variable. |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
KB, MB, GB |
Size units for the returned value. |
|
string |
Variable to which to save the result of the calculation |
||
|
|||
| <getFreeDiskSpace> | |||
|---|---|---|---|
Calculate the free disk (KiloBytes) space and save the value in the given variable. Returns -1 if free space cannot be determined. |
|||
property |
default value |
allowed values |
description |
string |
Path to the folder or disk |
||
|
KB, MB, GB |
Size units for the returned value. |
|
string |
Variable to which to save the result of the calculation |
||
|
|||
| <getFreePort> | |||
|---|---|---|---|
Returns the number of the first available port in a range of port numbers specified by initialPort and finalPort (both inclusive). |
|||
property |
default value |
allowed values |
description |
string |
The final port number on the range (inclusive). |
||
string |
The initial port number on the range (inclusive). |
||
string |
Variable that will store the free port number. |
||
|
|||
| <getProcessUsingPort> | |||
|---|---|---|---|
Gets Name Of Process Using Specified Port |
|||
property |
default value |
allowed values |
description |
string |
Variable to use for storing id of the process using the port |
||
string |
TCP port to check |
||
string |
Variable to use for storing name of the process using the port |
||
|
|||
| <getTotalDiskSpace> | |||
|---|---|---|---|
Get the total disk (KiloBytes) space and save the value in the given variable. Returns -1 if total space cannot be determined. |
|||
property |
default value |
allowed values |
description |
string |
Path to the folder or disk |
||
|
KB, MB, GB |
Size units for the returned value. |
|
string |
Variable to which to save the result of the calculation |
||
|
|||
| <kill> | |||
|---|---|---|---|
This action allows you to kill a running process that matches one or several conditions. Windows support only. |
|||
property |
default value |
allowed values |
description |
string |
Name of the process, usually the executable filename. |
||
string |
Path to the executable of the process. |
||
string |
ID of the process to be killed. |
||
|
|||
| <locate> | |||
|---|---|---|---|
Based on command given, locates binary and creates command that needs to be run. |
|||
property |
default value |
allowed values |
description |
string |
Command to locate |
||
string |
Variable to store the result in |
||
|
|||
| <pathManipulation> | |||
|---|---|---|---|
Performs change on the path and returns it in variable |
|||
property |
default value |
allowed values |
description |
|
absolutize, nativeAbsolutize, nativize |
Action to perform on the path |
|
string |
The path to manipulate |
||
string |
Variable that will store the new path. |
||
|
|||
| <runProgram> | |||
|---|---|---|---|
Run a program or script |
|||
property |
default value |
allowed values |
description |
string |
Path to program or script to run |
||
string |
Program arguments |
||
string |
Run the program or script as a specific user id. It will only take effect on Unix system and when running the installer as root |
||
text |
When configuring the runAs property, shell used to run the program. (not supported on OS X) |
||
text |
Text to send to program’s standard input. |
||
|
0, 1 |
Whether or not to use or not MSDOS program name path on Windows |
|
string |
Working directory. This is important for scripts that expect to be run from a specific location. By default, it will be the directory where the script or program is located |
||
|
|||
| <waitForPort> | |||
|---|---|---|---|
Pause the installation for a maximum timeout until a server process is listening in the specified port |
|||
property |
default value |
allowed values |
description |
string |
TCP port to check |
||
|
free, in_use |
Wait for port to be free or in use. |
|
string |
Maximum amount of time to wait (in milliseconds) |
||
|
|||
User and Group Actions
| <addGroup> | |||
|---|---|---|---|
Add a group to the system. Equal to the Unix groupadd command |
|||
property |
default value |
allowed values |
description |
string |
Group to add to the system |
||
|
|||
| <addGroupToUser> | |||
|---|---|---|---|
Add a supplementary group to a user. This way, the user is also member of that group. Make sure that the group already exists. If no username is given, then the current logged on user is selected. |
|||
property |
default value |
allowed values |
description |
string |
Groupname |
||
string |
Username |
||
|
|||
| <addUser> | |||
|---|---|---|---|
Add a user to the system. |
|||
property |
default value |
allowed values |
description |
Path to the users homedir |
|||
string |
Password for the user account. |
||
string |
Username to add to the system |
||
|
|||
| <addWindowsAccountRights> | |||
|---|---|---|---|
Add rights to user or group on Windows |
|||
property |
default value |
allowed values |
description |
string |
User or group name |
||
string |
Account rights, separated by spaces; Example value: SeServiceLogonRight. A complete list can be obtained from https://msdn.microsoft.com/en-us/library/aa375728(v=VS.85).aspx |
||
|
|||
| <changeOwnerAndGroup> | |||
|---|---|---|---|
Change the owner and group of a file or directory |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
string |
Group to set to file or directory |
||
string |
Owner to set to file or directory |
||
|
|||
| <changePermissions> | |||
|---|---|---|---|
Change permissions of a file or directory |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
string |
Permissions to set to file or directory |
||
|
|||
| <deleteGroup> | |||
|---|---|---|---|
Delete a group from the system. Equivalent to the Unix groupdel command |
|||
property |
default value |
allowed values |
description |
string |
Group name to delete. |
||
|
|||
| <deleteGroupFromUser> | |||
|---|---|---|---|
Delete a supplementary group from a user. |
|||
property |
default value |
allowed values |
description |
string |
Groupname |
||
string |
Username |
||
|
|||
| <deleteUser> | |||
|---|---|---|---|
Delete a user from the system. Equivalent to the Unix userdel command |
|||
property |
default value |
allowed values |
description |
string |
Username |
||
|
|||
| <getOwnerAndGroup> | |||
|---|---|---|---|
Get the owner and group of a file or directory |
|||
property |
default value |
allowed values |
description |
string |
File or directory to retrieve ownership |
||
string |
Variable name to save the group |
||
string |
Variable name to save the owner |
||
|
|||
| <getPermissions> | |||
|---|---|---|---|
Get permissions of a file or directory |
|||
property |
default value |
allowed values |
description |
string |
File or directory to retrieve permissions |
||
|
string |
Variable name to save permissions |
|
|
|||
| <removeWindowsAccountRights> | |||
|---|---|---|---|
Remove rights from user or group on Windows |
|||
property |
default value |
allowed values |
description |
string |
User or group name |
||
string |
Account rights, separated by spaces; Example value: SeServiceLogonRight. A complete list can be obtained from https://msdn.microsoft.com/en-us/library/aa375728(v=VS.85).aspx |
||
|
|||
Windows-specific actions
| <addScheduledTask> | |||
|---|---|---|---|
Create a new task or modify the value of an existing one. |
|||
property |
default value |
allowed values |
description |
|
positive integer or zero |
This parameter is used only for Task of MONTHLY type. It specifies the day of the month the task will be executed. |
|
|
0, 1 |
Don’t start the task if the system is running on batteries |
|
positive integer or zero |
(minutes) How long the Task is active. |
||
(year-month-day) Specify the date on which the task becomes inactive. |
|||
|
string |
Maximum execution time in hours |
|
positive integer or zero |
(minutes) How often do you want to execute the given Task in specified duration time. |
||
string |
Name of the Task |
||
string |
The user password associated with the account specified in runAs parameter. |
||
|
positive integer or zero |
This parameter is used only for Task of DAILY/WEEKLY type. It specifies how often (every PERIOD days for type DAILY / every PERIOD weeks for type WEEKLY) the task will be executed. |
|
Path to program or script to run. |
|||
string |
Program arguments. |
||
string |
Run the Task as the specified user. |
||
|
0, 1 |
Run with highest privileges. |
|
|
0, 1 |
Run task only if the user specified by runAs parameter is logged on. |
|
(year-month-day) Specify the date on which the task becomes activated. |
|||
(hours:minutes) The time the Task becomes activated. |
|||
|
DAILY, WEEKLY, ONCE, ONIDLE, ONSTART, ONLOGON, MONTHLY |
Type of the Task. |
|
|
string |
Specifies days to run the task on (MON, TUE, … SUN) or * for all days of week |
|
Working directory. This is important for scripts that expect to be run from a specific location. By default, it will be the directory where the script or program is located. |
|||
|
|||
| <addSharedDLL> | |||
|---|---|---|---|
Increment the reference count for a shared DLL. |
|||
property |
default value |
allowed values |
description |
string |
Path to the shared DLL |
||
|
|||
| <associateWindowsFileExtension> | |||
|---|---|---|---|
Define the set of actions (commands) that can be performed for the given file types. |
|||
property |
default value |
allowed values |
description |
string |
Space-separated list of extensions for which the given commands will be available. |
||
string |
Friendly Name for the progID. |
||
string |
Path to the icon file that contains the icon to display. |
||
string |
MIME type associated to all the file extensions. |
||
string |
Programmatic Identifier to which the extensions are attached, contains the available commands to be invoked on each file type. |
||
|
user, system |
Choose between system or user scope when installing the association |
|
List of commands that can be invoked on each given file type. |
|||
|
|||
| <autodetectDotNetFramework> | |||
|---|---|---|---|
Autodetects an existing .NET (tm) installation in the system and creates corresponding installer variables: dotnet_version. If a valid .NET framework version was found, the variable dotnet_autodetected, will be set to 1 |
|||
property |
default value |
allowed values |
description |
List of supported .NET versions |
|||
|
|||
| <changeExecutableResources> | |||
|---|---|---|---|
Change resource information of a Windows executable |
|||
property |
default value |
allowed values |
description |
string |
Path to the Windows executable to modify |
||
string |
Comments for resources embedded in Windows executable |
||
string |
Company Name for resources embedded in Windows executable |
||
string |
File Description for resources embedded in Windows executable |
||
string |
File version for resources embedded in Windows executable |
||
string |
Internal Name for resources embedded in Windows executable |
||
string |
Legal Copyright for resources embedded in Windows executable |
||
string |
Legal Trademarks for resources embedded in Windows executable |
||
string |
Original Filename for resources embedded in Windows executable |
||
string |
Product Name for resources embedded in Windows executable |
||
string |
Product Version for resources embedded in Windows executable |
||
|
|||
| <changeWindowsAttributes> | |||
|---|---|---|---|
Change Windows attributes for a file or directory. |
|||
property |
default value |
allowed values |
description |
|
1, 0, unchanged |
Whether the file has or has not changed since the last backup. |
|
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
|
1, 0, unchanged |
Whether the file is visible or not |
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
1, 0, unchanged |
Whether the file is read only or writable |
|
|
1, 0, unchanged |
Whether the file is a System file or a regular one |
|
|
|||
| <clearWindowsACL> | |||
|---|---|---|---|
Clear Windows ACL permissions of a file or directory |
|||
property |
default value |
allowed values |
description |
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
|
|||
| <deleteScheduledTask> | |||
|---|---|---|---|
Delete Windows Scheduled Task |
|||
property |
default value |
allowed values |
description |
string |
Name of the Task |
||
|
|||
| <getWindowsACL> | |||
|---|---|---|---|
Get Windows ACL permissions of a file or directory |
|||
property |
default value |
allowed values |
description |
|
string |
Variable name to save denied permissions |
|
string |
File to retrieve ACL |
||
|
string |
Variable name to save granted permissions |
|
string |
User to retrieve ACL |
||
|
|||
| <getWindowsFileVersionInfo> | |||
|---|---|---|---|
Get file information. |
|||
property |
default value |
allowed values |
description |
string |
Path to the file |
||
|
codepage, flags, os, productversion, signature, structversion, type, version |
Type of the file info. |
|
string |
Variable to save the file info to |
||
|
|||
| <queryWMI> | |||
|---|---|---|---|
Query WMI and return results |
|||
property |
default value |
allowed values |
description |
string |
Class |
||
string |
List of fields to return |
||
|
string |
Namespace |
|
string |
|||
string |
Query to pass to WMI |
||
|
|||
| <removeSharedDLL> | |||
|---|---|---|---|
Decrements the reference count for a shared DLL. If it reaches zero, the file will be removed |
|||
property |
default value |
allowed values |
description |
string |
Path to the shared DLL |
||
|
|||
| <removeWindowsFileAssociation> | |||
|---|---|---|---|
Unregisters the associations between the given file types and any set of actions (commands) that may be defined on them. |
|||
property |
default value |
allowed values |
description |
string |
Space-separated list of extensions to remove. |
||
string |
MIME type to remove, associated to all the file extensions. It must be specified if you want to delete MIME associations added previously with associateWindowsFileExtension action. |
||
string |
Programmatic Identifier to remove, to which the extensions are attached. |
||
|
user, system |
Choose between system or user scope when installing the association |
|
|
|||
| <setWindowsACL> | |||
|---|---|---|---|
Change Windows ACL permissions of a file or directory |
|||
property |
default value |
allowed values |
description |
|
allow, deny |
Whether to allow or deny permissions |
|
string |
Patterns to exclude files |
||
string |
File patterns to apply action to |
||
|
0, 1 |
Whether or not to attempt to match Windows hidden files |
|
string |
Owner |
||
|
string |
Permissions for matching files or directories |
|
|
0, 1 |
Whether to apply recursively or not to container descendant |
|
|
0, 1 |
Whether to apply recursively or not to object descendant |
|
|
0, 1 |
Just one level recursion if applicable |
|
|
0, 1 |
Whether to apply or not to the specified file |
|
|
string |
Comma separated list of users to modify access permissions for |
|
|
|||
| <shutdown> | |||
|---|---|---|---|
Shut down the machine (Windows only) |
|||
property |
default value |
allowed values |
description |
positive integer or zero |
Delay in seconds before shut down. |
||
|
|||
| <wow64FsRedirection> | |||
|---|---|---|---|
Modifies the Windows x64 File System Redirection behavior. It mainly redirects %Windir%System32 to %Windir%SysWOW64 for 32-bit processes running on Windows x64 systems. A similar effect is also applied to Program Files |
|||
property |
default value |
allowed values |
description |
|
enable, disable |
Whether to enable or disable the File System Redirection |
|
|
|||