PDA

View Full Version : Application monitoring



Gaurav
03-08-2006, 12:40 PM
We have a particular requirement where we are supposed to launch an installer silently (Non-MSI, fortunately) while displaying the SetupProgress screen. Our installer is supposed to monitor and wait until the child installer quits and also to show its progress in the main installer window. The main installer does not deploy any files, only launches two child installers in succesion. How can this be achieved!!!! I've seen the iTunes installer and it sub-launches Quicktime, installs it and even displays its progress. can someone please help.

puneet404
03-09-2006, 04:23 AM
You can certainly do that, but its difficult to explain. I can create a sample setup for you, as I will get some good time :)

However, When launching the child setup use the following code:

LaunchAppAndWait("Path to the executable", "-s –SMS", WAIT);
This should make the parent setup wait until the child setup is finished.

Also see:

http://support.installshield.com/kb/view.asp?articleid=Q101113

http://support.installshield.com/kb/view.asp?articleid=Q101980

Also, It's not obvious how you could get progress information for an external executable (setup program or not); perhaps call SdShowMsg to display a "Please wait..." message while the child setup is running?

Gaurav
03-10-2006, 02:02 AM
Thanks Puneet, what about the parameter –SMS, is it required for a silent installation.

I was considering drawing a dialog in a Windows Installer DLL CA, but really require a feedback based upon which a progress bar can be displayed.