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
- :
- OnBegin() doesn't work
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 29, 2015
08:32 AM
OnBegin() doesn't work
Hello!
So i created a new function in Behaviour and Logic -> InstallScript tab.
Setup.rul
#include "ifx.h"
function OnBegin( )
begin
MessageBox("Welcome to the Tutorial installation!", INFORMATION);
end;
I set this function to OnBegin() but it never gets deployed. I consulted this page on how to use scripts http://helpnet.flexerasoftware.com/installshield17helplib/IScrpTutScript.htm
But it doesnt work and to be honest i feel quite helpless about it. Its a simple messagebox!!! on beginning of installer and its in your tutorials and i doesnt work.
My project is an Basic MSI project.
Thank You for your time! 🙂
So i created a new function in Behaviour and Logic -> InstallScript tab.
Setup.rul
#include "ifx.h"
function OnBegin( )
begin
MessageBox("Welcome to the Tutorial installation!", INFORMATION);
end;
I set this function to OnBegin() but it never gets deployed. I consulted this page on how to use scripts http://helpnet.flexerasoftware.com/installshield17helplib/IScrpTutScript.htm
But it doesnt work and to be honest i feel quite helpless about it. Its a simple messagebox!!! on beginning of installer and its in your tutorials and i doesnt work.
My project is an Basic MSI project.
Thank You for your time! 🙂
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2015
09:08 AM
That tutorial that you are referencing is for an InstallScript project. It does not apply to Basic MSI projects.
Basic MSI projects do not support event-driven script or run events such as OnBegin. To trigger InstallScript code in a Basic MSI project, you'd need to create a custom action that calls your InstallScript function. The following help topic has more information to get you started:
Using InstallScript
I hope that helps.
Basic MSI projects do not support event-driven script or run events such as OnBegin. To trigger InstallScript code in a Basic MSI project, you'd need to create a custom action that calls your InstallScript function. The following help topic has more information to get you started:
Using InstallScript
I hope that helps.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 29, 2015
10:40 AM
Thank You Very Much! ill trying do it with custom action.
Have a good day.
Have a good day.