Customs Actions
InstallWizard supports custom actions that
call a DLL function or launch an executable file.
Set Your Custom Action's Properties
File Name
Enter the path to the DLL or EXE that contains your function or click the Browse
button to navigate to this file. When you build your setup, this file is
automatically incorporated into your project file. However, if you want to
install this file so that it remains on the target machine after the setup is
complete, you need to add it in the Files view as well.
Command Line
Enter the command line that will be passed to your application.
Invoke
Select when InstallWizard will run your EXE or DLL file.
Wait For Action
If you want the setup to wait until your action has been dismissed, select Yes.
If you want the setup to continue to run while your action runs, select No.
Run Once
Because your custom action executes between dialogs, it has the potential to run
more than one time if a user goes back and forth between dialogs. If you want to
allow your custom action to execute more than one time, set this property to No.
If your custom should only execute one time, set this property to Yes. Depending
on the Invoke value, and whether the custom action executes during installation
or uninstallation, the Run Once value may be read only and have a value of Yes.