InstallAnywhere: Files & Utilities

Create Multiplatform Installations from a Single Project File – Physical, Cloud, and Virtual Environments

Files & Utilities

Custom Code, Rules & Templates

The extensions below are code generated by our Software and Premium Support members. They are provided "as is" and can be used only to extend the built-in functionality of the InstallAnywhere crossplatform installer.

If you have custom code you would like to submit, please send it and its documentation as an email attachment. Please note: Flexera Software does not support these extensions.

AbortInstallAction
This action immediately exits the current installer.
Posted by: Flexera Software. Source included.

AddToRequiredDiskSpace
This custom code action takes a comma-separated list of integer values and adds it to the required disk space.
Posted by: Flexera Software. Source included.
ArchiveResourceFileReader
This utility opens a text file from your resource file and parses it into an array of strings.
Posted by: Flexera Software. Source included.
ChooseInstallDrive
This plugin prompts the user for the drive they would like to install to. The default Choose Install Folder panel allows the user to change the install folder, but does not provide an option to change the drive only (without altering the install path).
Posted by: Flexera Software. Source included
ConsoleInput (Enterprise Edition)
This is a CONSOLE input panel for use in your installer.
Posted by: Flexera Software. Source included.
CopyDirectory
Copy any directory and its subdirectories from one location on the user's hard drive to another. The action handles all the details of recursing the directory tree for you.
Posted by:  Flexera Software. Source included.
CopyFile
Copies any file from one location on the user's hard drive to another. This is useful for copying installed files to other locations during install time.
Posted by:  Flexera Software. Source included.
DatabaseAction
The custom code action connects to a database, reads SQL from a file, executes the queries, and closes the database.
Posted by: Flexera Software. Source included.
DeleteDirectory
Deletes any directory and its subdirectories on the user's hard drive. The action handles all the details of recursing the directory tree for you.
Posted by: Flexera Software. Source included.
DeleteFile
Deletes any file on a user's hard drive. You could use this to delete old files when you do an upgrade-type installation.
Posted by:  Flexera Software. Source included.
DisplayImagePanel (Enterprise Edition)
This panel, which matches the look and feel of other InstallAnywhere panels, displays a GIF or JPEG image. You can control whether scroll bars show up if the image is too big.
Posted by: Flexera Software. Source included.
EndProcess
This extension calls a utility that allows you to perform certain tasks on running processes during uninstall.
Posted by: Flexera Software. Source included
EnhancedExecuteCommand
This action executes a command and will store the return code and output in InstallAnywhere variables.
Posted by: Flexera Software. Source included.
ExecuteAsRoot
This action allows you to run a command on a Unix system as root.
Posted by: Flexera Software. Source included.
ExecuteUninstallCommand
This action makes it easy for you to execute a command at uninstall time.
Posted by: Flexera Software. Source included.
ExpressionEvaluator
This class evaluates mathematical expressions. It is helpful when you need to do a simple calculation but don't want to write any extra custom code.
Posted by: Flexera Software. Source included.
ExtractToFile
Open a URL resource and save the content to a new file. The URL resource can be inside the installer archive, on the user's hard drive, or from a network location. This is useful for installing files from a remote or Internet location or for extracting files from the installer archive for special processing.
Posted by:  Flexera Software. Source included.
FileInfo
This action allows you to get all of a executable or DLL's attributes on a Win32 system. This is useful if you need to compare DLL versions.
Posted by: Flexera Software. Source included
FullScreenBackgroundImagePanel (Enterprise Edition)
This panel will allow to display a full screen background image, disabling user's ability to access other desktop apps while installing.
Posted by: Flexera Software. Source included.
GetEightDotThreeFileName
This plugin takes a filepath as an argument and returns a variable containing it's Windows 8.3 filename.
Posted by:  Flexera Software. Source included.
HostInfo
This action gets the IP address of a machine and sets it in an InstallAnywhere variable.
Posted by: Flexera Software. Source included.
IndeterminateConsole
This custom code action will display a console text in the field before executing a script.
Posted by: Flexera Software. Source included.
InstallJavaPlugin
This class performs the actions necessary to fully install a Java 2 JRE with the Java Plugin Control Panel on a Win32 system. Installs the Java Plugin Control.
Posted by:  Flexera Software. Source included.
InstallSharedDll
This action extracts a specified DLL from the installer archive and installs it into any arbitrary location on the user's hard drive. Then the action reads the Windows registry and either adds or updates the reference count for that DLL. At uninstall time, the reference count is decreased, and if it reaches zero, the user is asked if the file should be removed.
Posted by:  Flexera Software. Source included.
IsRootRule (Enterprise Edition)
This custom code rule checks to see if the user is root on a UNIX system.
Posted by: Flexera Software. Source included.
MessageDialogAction
Displays a message box any time during installation or uninstallation. Specify your own text for the message and as many buttons as you want. The user's selection will be stored in an InstallAnywhere variable.
Posted by:  Flexera Software. Source included.
ModifyString
This extension allows you to perform String manipulations on InstallAnywhere variables.
Posted by: Flexera Software. Source included.
NumberComparisonRule (Enterprise Edition)
This custom code rule compares numbers and decimals with a defined comparator.
Posted by: Flexera Software. Source included.
PassByValue
This action allows you to pass InstallAnywhere variables by value instead of by reference.
Posted by: Flexera Software. Source included.
PasswordPanel (Enterprise Edition)
This panel will allow the users to enter a masked password. The panel also includes confirmation.
Posted by: Flexera Software. Source included.
PropertiesFileReader
This action allows you to turn properties from a properties file into InstallAnywhere variables.
Posted by: Flexera Software. Source included.
Rename
Renames any file or directory on a user's hard drive. This is useful for backing up files or changing file names during installation.
Posted by:  Flexera Software. Source included.
ResetJVMList
This Pre-Install action resets the Choose Java VM panel list with a developer-determined string.
Posted by:  Flexera Software.
SimpleRegistryManagerPlus
This is a wrapper around SimpleRegistryManager to provide a superior interface to the Windows registry.
Posted by:  Flexera Software. Source included.
Sleep
This action pauses the installation.
Posted by:  Flexera Software. Source included.
SpeedRegistry
This class will add values specified in a resource file into the registry. This is a great way to add many items to the registry simultaneously.
Posted by:  Flexera Software. Source included.
WaitForFileRemoval
This action waits for a file to be removed before allowing the next action to perform.
Posted by:  Flexera Software. Source included.
WaitForProcessExit
This action waits for a certain process to exit. It is supported by any operating system that has "tasklist" process which outputs list of running tasks.
Posted by:  Flexera Software. Source included.
ZGDialogAction
This action pops up a dialog with up to three buttons, a title, and narrative text. This action is very similar to MessageDialogAction (also available for download) but it is easier to use for simple panels.
Posted by:  Flexera Software. Source not included.
ZGDialogPanel (Enterprise Edition)
This custom code panel pops up a dialog with up to three buttons, a title, and narrative text. This action is very similar to MessageDialogAction (also available for download) but it is easier to use for simple panels.
Posted by:  Flexera Software. Source not included.

Back to InstallAnywhere