Launching Child Installer from main MSI - TT

29-Feb-08 12:01:31
Hi

One of my clients need an MSI package to deolpy an application in to the
workstations. This is what he wants me to do:

1. Create an 'Example App.msi' and include all the Child setup files in it.
2.  On deployment the 'Example App.msi' should install the Child app's
setup files to an Installdirectory and launch the 'setup.exe' with silent
switch .
3. On uninstallation  launch the 'setup.exe' with silent uninstall switch &
then remove all files.


I created an MSI using Wisepackage studio, added the setup files and now
stuck at creating a custom action to lauch the setup.exe.

I'm currently using the 'Execute Program from Installed Files' option with
sequence just above 'InstallFinalize' . Other options - a) Defferred
Execution - User Context b) Synchronous Processing

In this sceneario on instllation my msi launches the
setup.exe and it throws a message that 'Windows Installer Service already in
use'. On clicking close my MSI will roll back with an 'Error 1722'.

Now if I use processing as 'Synchronous, Ignore Exit Code' the setup.exe
will fail like in the first case but my installer is not haivng any 1722
errors.


I have seen msi's launching other installers when they finish the install.
ie. We can 'Finish' the parent 'MSI' while the Child MSI is running. How can
I do a custom action like that?

Any poiners in this regard is welcome.

Thank you
John
reply
Launching Child Installer from main MSI - TT 29-Feb-08
        Re: Launching Child Installer from main MSI - Phil Wilson 29-Feb-08

How to exclude component from self-repair?
  

Search

search




Purchase