cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sandeep_anantha
Level 4

Calling custom action from InstallScript

Hi,
I need to call a custom action that launces en EXE. How Do I call from Installscript.
1) I cannot Use Doaction control event as I am using Installscript MSI project.

2)I do not want it to get called from InstallUISequence or InstallExecuteSequence as there are some conditions that I need to check to call these custom actions.

3) Can I write condition for custom actions based on value of a public property that I defined in Property dialog. If so how do I do that.

I am stuck on this task since past 4 days.

Please help

Regards,
Sandeep
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

You can use conditions on custom actions in the UI and Execute sequences; if necessary, your actions can set custom property values, and then you can use the properties in the action conditions...

As a last (or later, anyway) resort, you can call the MsiDoAction function to run the custom action, or use LaunchApplication to launch the executable directly.
0 Kudos