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 instalScript on 'next'
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
‎Sep 20, 2011
05:13 PM
Calling instalScript on 'next'
I've created a function called generateConnectionString and added this to 'Custom Actions' with all sequences set to 'Absent from sequence'.
In the Dialog Behavior I've added new event 'doAction' and specified 'generateConnectionString' as the argument.
In generateConnectionString function I call the MessageBox function to show that the script is being executed. But when I run the install I don't see this message box.
Any help will be really appreciated.
Thanks
In the Dialog Behavior I've added new event 'doAction' and specified 'generateConnectionString' as the argument.
In generateConnectionString function I call the MessageBox function to show that the script is being executed. But when I run the install I don't see this message box.
Any help will be really appreciated.
Thanks
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 20, 2011
09:38 PM
Set the Condition to 1 and pay attention to the control event ordering ( right click move up, move down )
Read the comments about the condition and order columns at:
http://msdn.microsoft.com/en-us/library/aa368037
Read the comments about the condition and order columns at:
http://msdn.microsoft.com/en-us/library/aa368037
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2011
08:45 AM
Yeah I already have condition as 1 and the event is first event.
Any other suggestions.
Thanks.
Any other suggestions.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2011
08:52 AM
Log the install and see what it says when you click the next button. It's hard to say what's wrong without actually looking at your built MSI.
Btw you put 'doAction' in quotes but technically it's the 'DoAction' ControlEvent. That might just be a typo from someone used to typing camel case.
Btw you put 'doAction' in quotes but technically it's the 'DoAction' ControlEvent. That might just be a typo from someone used to typing camel case.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2011
09:18 AM
Got it working.
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 21, 2011
09:45 AM
I'm curious, what was the problem/fix?