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
- :
- Newbie InstallScript question
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
Oct 22, 2009
11:57 AM
Newbie InstallScript question
I just started working with InstallShield a few days ago. Now I'm trying to get InstallScript custom actions to work. I'm having difficulty getting them to execute properly. I'm creating a Basic MSI project.
I edited the setup.rul and only added a line in the empty myFunction to display a message box. I created a custom action for this function, and set a DoAction event on a dialog control to execute it. This works.
I created a second script called test.rul, wrote the same code except changed the function name to testFunction. Created a custom action for it as well and replaced where setup.rul was called with this. When I try to execute, the installer goes to the Installation Setup Interrupted dialog. When I try debug the debug window never comes up like it does with setup.rul.
I'm having trouble running the scripts in the sequence, I think I'm missing something obvious...help please!
I edited the setup.rul and only added a line in the empty myFunction to display a message box. I created a custom action for this function, and set a DoAction event on a dialog control to execute it. This works.
I created a second script called test.rul, wrote the same code except changed the function name to testFunction. Created a custom action for it as well and replaced where setup.rul was called with this. When I try to execute, the installer goes to the Installation Setup Interrupted dialog. When I try debug the debug window never comes up like it does with setup.rul.
I'm having trouble running the scripts in the sequence, I think I'm missing something obvious...help please!
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 22, 2009
01:08 PM
Have you found the InstallShield white papers? http://www.flexerasoftware.com/resources/whitepapers.htm
Maybe "MSI Sequences and Standard Actions" might help?
Maybe "MSI Sequences and Standard Actions" might help?