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: Setup Sequence Issue
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, 2009
12:35 AM
Setup Sequence Issue
Hi Guys!
I am Newbie and using Installshiel for the first time. I have SQLEXPR.EXE, Exe of My VC Application and SQL Script(Generated by InstallShield itself). Now we need to build a setup which installs:-
SQL Express Edition, then
Execute SQL Script to create DB n Tables and
then install My VC Aplication.
Till now, i am able to carry out 2nd and 3rd step but not 1st one....
Please help me out to make such setup which can perform all three steps in sequence.
Thanks & Warm Regards
KaimMike
I am Newbie and using Installshiel for the first time. I have SQLEXPR.EXE, Exe of My VC Application and SQL Script(Generated by InstallShield itself). Now we need to build a setup which installs:-
SQL Express Edition, then
Execute SQL Script to create DB n Tables and
then install My VC Aplication.
Till now, i am able to carry out 2nd and 3rd step but not 1st one....
Please help me out to make such setup which can perform all three steps in sequence.
Thanks & Warm Regards
KaimMike
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 29, 2009
12:21 PM
Try creating a custom action of "New Nested MSI" type and then pass the parameters.
The other approach you can have is to write a small InstallScript function which launches your setup for SQL (use LaunchAppAndWait() function) and create a custom action of immediate type with no sequences set for execution and invoke the custom action from the UI of some dialog say InstallWelcome's Next button.
To do that, go to your Dialogs, select InstallWelcome dialog, select Behavior section in that and then Select Next button. Create a new event of DoAction type and set the custom action in its argument and condition as 1.
When you will run your installer in User Interface mode, and you click on Next button, it will invoke the function associated with Custom action and will launch your SQL server setup. Once that ends, your installation will resume from there.
Rest you can read the help for LaunchAppAndWait() to understand more.
Hope this helps somehow.
Cheers
The other approach you can have is to write a small InstallScript function which launches your setup for SQL (use LaunchAppAndWait() function) and create a custom action of immediate type with no sequences set for execution and invoke the custom action from the UI of some dialog say InstallWelcome's Next button.
To do that, go to your Dialogs, select InstallWelcome dialog, select Behavior section in that and then Select Next button. Create a new event of DoAction type and set the custom action in its argument and condition as 1.
When you will run your installer in User Interface mode, and you click on Next button, it will invoke the function associated with Custom action and will launch your SQL server setup. Once that ends, your installation will resume from there.
Rest you can read the help for LaunchAppAndWait() to understand more.
Hope this helps somehow.
Cheers