This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Calling custom action from InstallScript
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 19, 2009
07:59 PM
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
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
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 20, 2009
05:25 PM
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.
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.