[MSI] Add custom actionΒΆ
Add a custom action to the MSI package to launch EXE, call function from DLL, run VBScript, JScript, set a new property, folder path, or display an error message.
Important
Precondition: Open an MSI package in MSI Editor (see Open MSI/MST).
- Go to the Package Designer > Custom actions tab.
- Select Add > Custom action from the toolbox.
- Select a basic type (e.g. Run a VBScript), and click Next.
Note
This manual describes creation of the
Run a VBScript
custom action. - Specify a location of the VBScript file or paste a script body directly into the custom action. Then, click Next.
- Enter an Action name, select Execution mode (Immediate, Deferred, Rollback or Commit), execution context, scheduling, return processing and other options. Then, click Next.
Note
All incompatible options are disabled.
- Select a sequence where and when to run the custom action. The sequence drop-down list allows you to select only compatible positions, taking into account your previously selected options. If needed, specify execution conditions either by entering them manually or choosing from the drop-down list. Click Finish to add your custom action.
Note
Incompatible sequences are disabled.
Note
PACE Suite covers the whole range of application packaging tasks - learn more.
Try PACE Suite for free - 21 days no obligations unlimited trial with all functions unlocked.