Page 1 of 1

Nested MSI installation

Posted: Fri Aug 24, 2012 12:41 am
by reevelau
I know that I can use (Un)Install MSI setup to install nested MSI(s) in silent mode and track the progress.
http://www.installaware.com/windows-ins ... setups.htm

My question is, could I show optional dialog from the nested MSI?

My use case is, I have multiple installers that created using InstallAware by different team in my company. I want to have a top level installer to group a set of MSI(s) into a new product. However, I want to reuse some dialogs from the nested MSI.

Could InstallAware able to do this?

Re: Nested MSI installation

Posted: Fri Aug 24, 2012 3:27 am
by FrancescoT
Dear User,

If I haven't missed anything, you want to execute a nested packages using its own interface.

if I'm correct, execute it using "Run Program" command.

Regards.

Re: Nested MSI installation

Posted: Wed Dec 12, 2012 12:49 pm
by keefie
Interesting reply. I was told by an InstallAware representative that the recommended approach was to use "Include Script". Do you have guidelines as to when each approach should be used?

Re: Nested MSI installation

Posted: Wed Dec 12, 2012 1:42 pm
by FrancescoT
Dear Keefie,

honestly, I don't exactly if there was a particular condition for which this was recommended to you, but of course you can execute any external package using the RUN PROGRAM command.

Probably I can only suppose that was some misunderstanding about the argument.
The Include Script command itself doesn't run a program, as long as the script includes a call to RUN PROGRAM command with it.

By the way, if you are searching for a sample on how to run a nested setup package, I may suggest you to have a look at the following topic.
http://www.installaware.com/forums/viewtopic.php?f=4&t=9328
This particular sample doesn't use RUN PROGRAM but RUN LIGHT MODE command to execute the nested package, because takes advantage of the RUN LIGHT MODE InstallAware feature. If you replace the RUN LIGHT MODE command with RUN PROGRAM, you can execute any kind of nested application instead of the one used by the sample project.

Hope this helps you.

Regards