Help‎ > ‎Custom Actions‎ > ‎

Exe Command Custom Actions

Call an executable which already exists on the target system and is not installed with your application during current session.

Custom Action Name - This can be any text description for your reference.

Exe on target system should be the full path to the executable to be invoked.

Command line arguments - Specify any arguments to the executable on the target system.

when? – Following are the three available options.
1. Installation - This custom action is executed only during installation. For example a custom action creates a directory in C: \<directory>. If option selected is installation, then directory is created only during installation, but not during uninstallation or when installation fails.
2. Uninstallation - This is executed only during uninstallation.
3. Rollback - Windows installer will clean up everything if installation fails, like all directories, registries etc. But it cannot rollback anything done by the custom actions. So create rollback custom action to restore target machine in case of any installation failure.
It is recommended to create uninstallation and rollback custom action for every custom action that runs during installation.

It is also recommended to place uninstallation or rollback custom action next to the corresponding installation custom action. But the order between uninstallation and rollback custom actions does not really matter.

Download sample - Read Steps.txt in the sample to know how to create a simplest Exe command custom action and using the same with Nvn Installer.

For any questions, suggestions or bug reports, please drop a mail to