Hero image

InstallAnywhere Files and Utilities

Custom Code, Rules and 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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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
Windows

ConsoleInput (Enterprise Edition)
This is a CONSOLE input panel for use in your installer.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

EndProcess
This extension calls a utility that allows you to perform certain tasks on running processes during uninstall.
Posted by: Flexera Software. Source included
Windows

EnhancedExecuteCommand
This action executes a command and will store the return code and output in InstallAnywhere variables.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

ExecuteAsRoot
This action allows you to run a command on a Unix system as root.
Posted by: Flexera Software. Source included.
Unix

ExecuteUninstallCommand
This action makes it easy for you to execute a command at uninstall time.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

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
Windows

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.
Windows MacOS UnixJava

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.
Windows

HostInfo
This action gets the IP address of a machine and sets it in an InstallAnywhere variable.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

IndeterminateConsole
This custom code action will display a console text in the field before executing a script.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows

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.
Windows

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.
Unix

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.
Windows MacOS UnixJava

ModifyString
This extension allows you to perform String manipulations on InstallAnywhere variables.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

NumberComparisonRule (Enterprise Edition)
This custom code rule compares numbers and decimals with a defined comparator.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

PassByValue
This action allows you to pass InstallAnywhere variables by value instead of by reference.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

PropertiesFileReader
This action allows you to turn properties from a properties file into InstallAnywhere variables.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows MacOS UnixJava

ResetJVMList
This Pre-Install action resets the Choose Java VM panel list with a developer-determined string.
Posted by: Flexera Software.
Windows MacOS UnixJava

SimpleRegistryManagerPlus
This is a wrapper around SimpleRegistryManager to provide a superior interface to the Windows registry.
Posted by: Flexera Software. Source included.
Windows

Sleep
This action pauses the installation.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows

WaitForFileRemoval
This action waits for a file to be removed before allowing the next action to perform.
Posted by: Flexera Software. Source included.
Windows MacOS UnixJava

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.
Windows

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.
Windows MacOS UnixJava

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.
Windows MacOS Unix Java