cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
321tseug
Level 3

How to make two 'install' in 'Installation Sequence'?

Hello,

'Installation Designer' -> 'Behavior and Logic' -> 'Sequences'

In the sequences tree, I want to do two 'Sequence'.

what I want to do as below:
1. preInstall - ask the user some questions and gether the information.
2. install - install some files
3. preinstall - ask the user some question and gather the information.
4. install - install others files
5. postInstall.

I have no idea how to 'insert' a 'preInstall' or a 'install'.
how could i solve the problem? or any other way to do two install sequence in one installation?

Thanks in advance for the help.
Labels (1)
0 Kudos
(2) Replies
MotoJason
Level 3

You can break the installs into two features. Then you can ask your questions of the user however you want AskYesNo() or some type of list checkboxes. Then set the FeatureSelectItem for the correct feature based on your user's answers.
0 Kudos
321tseug
Level 3

Thanks for your reply.

Did you meant that :
1.preinstall
1.1 feature dialog:let user to select feature A or B
1.1 if user selected A, ask some questions of A
1.2 if user selected B, ask some questions of B

2.install
2.1 if user selected A, install files of A
2.2 if user selected B, install files of B

3. postinstall

but in my situation the installation install B or not depends on the result of installing of A and questions of A .

1. ask some questions of A
2. install A
3.
if ( installing-A-succeed && some-question-of-A == true ) {
ask-some-question-of-B
install-B
}

I made the installation like this:

preinstall:
1.custom dialog to gather the configuration of A

install:
2.install files of A
3.custom product action to do some script of A

postinstall:
4. custom dialog to gather the configuration of B
5. custom wizard actions to copy files and do some script of B

are there any other ways to make this easy to solve the problem?
0 Kudos