Installation Sequence - Advanced Installer Community
vishwasvadnerkar
Posts: 4
Joined: Thu Sep 12, 2013 12:51 pm

Installation Sequence

Hi,
I am basically creating installer for web application and I want installer to follow below sequence
1. Create database.
2. Run all the scripts on created database.
3. Install web application related files for IIS or other required files

How can achieve this sequence?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installation Sequence

Hello and welcome to Advanced Installer forums,

That is the actual default sequence. Try it!

During installation SQL Scripts Page operations are executed first and then IIS Page ones.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vishwasvadnerkar
Posts: 4
Joined: Thu Sep 12, 2013 12:51 pm

Re: Installation Sequence

I have one more question,
Basically my project has several web applications so I wanted to do modularization of each module e.g. my project name is x and it has two modules let say x and y so I want exe for both x and y also there will be combine exe x which will contain exe of both module x and module y. How can I achieve this functionality?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installation Sequence

Hello,

This is easy, all you have to do is add and organize your web application resources from the Files and Folder page (a folder for each module for example). Then the next step is to organize their associated components into features from the Organization page. After doing this you can include o exclude any feature from the existing builds defined from the Media page. For more information, see the Builds section from the Feature properties article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vishwasvadnerkar
Posts: 4
Joined: Thu Sep 12, 2013 12:51 pm

Re: Installation Sequence

But then let say I have two modules 1. Apple 2. Banana As per your reply I will be creating two folders viz. 1. Apple 2. Banana. now how can I execute
installer in following sequence.
1. Create Database of Apple
2. Execute queries on Database of apple
3. Web Applications of Apple
4. Create Database of Banana
5. Execute queries on Database of Banana
6. Web Applications of Banana

I am stuck over here.
Please help
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Installation Sequence

Hello,

This can be done by creating three installers: main, Apple and Banana. The main installation will install Apple and Banana. You can try adding Apple and Banana packages as prerequisites or chained packages.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”