cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
KaimMike
Level 2

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
Labels (1)
0 Kudos
(1) Reply
Apoorv_Jain
Level 5

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
0 Kudos