View Full Version : DoInstall From Removable Media
esiemiat
04-04-2007, 12:35 PM
In InstallShield 12 an issue was introduced where DoInstall and LaunchAppAndWiat would not wait for a Setup launched from a removable media. There were several suggestions for this, one being using CLONE_WAIT and the other was to determine the child proces ID and wait for that.
The first suggestion slows down an install since you need to wait for the cloning to complete, and it does not always work. The second is a better solution but is difficult to implement. I was wondering if anything had been done to integrate this wait for child process into the DoInstall function to make this easier.
bryanwolf
04-05-2007, 10:11 AM
With IS2008, there's an option for LaunchAppAndWait called LAAW_OPTION_WAIT_INCL_CHILD that should cover this.
esiemiat
04-05-2007, 10:13 AM
Awsome, thanks
esiemiat
04-13-2007, 01:59 PM
OK, I confirmed that the DoInstall does indeed wait for the child process to end, thank you very much for the fix.
However, using the following function call I still get shown the second install's initialization progress bar and the splash screen. How do I hide these? The help only indicates that there are options to not hide these, but I am not using those.
nResult = DoInstall(SRCDIR ^ "Client Install\\Setup.inx", "$$SKYSA$$1 \"SUPPORTDIR ^ "DataXfr.$$$\"", LAAW_OPTION_WAIT)
esiemiat
04-17-2007, 08:13 AM
Anything on this? Am I doing something wrong?
DevinEllingson
04-17-2007, 05:20 PM
esiemiat,
DoInstall automatically adds the '-hide_progress -hide_splash' parameters to the command line for the setup to be launched, however these switches are only supported in 12.0 and later setups, so if you are launching a setup created with a previous version you may not be able to supress these UI elements.
Devin Ellingson
Software Developer
InstallShield, A Macrovision Company
esiemiat
04-17-2007, 06:16 PM
Both the parent and child setups were upgraded to InstallShield 14 to test the new functionality. However, the DoInstall function does not automatically hide these screens.
DevinEllingson
04-17-2007, 06:20 PM
esiemiat,
Did you try adding '-hide_progress' and '-hide_splash' manually to the command line for the setup? Also, you might try with LaunchApAndWait, it is basically the same as DoInstall. Does the same thing happen?
Devin Ellingson
Software Developer
InstallShield, A Macrovision Company
esiemiat
04-17-2007, 07:03 PM
When I add the '-hide_progress' and '-hide_splash' parameters the child install functions as expected. Apparently the DoInstall function is not automatically adding these parameters. Is this a bug, or a problem with the documentation.
vBulletin® v3.6.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.