This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- DoInstall
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 06, 2007
11:24 AM
Screen Refresh Problem
I'm working with a large InstallScript project that launches multiple InstallScript projects. It uses the LaunchAppAndWait function. However, there seems to be a delay between when the user clicks "Finish" to when it actually returns to the calling InstallShield project. The screen doesn't properly refresh for several seconds. Is there any way this can be avoided? Is there another recommended approach to launching another installation? One where the main install project will properly refresh the UI while it waits for the secondary install to complete?
Any advise would be appreciated. Thanks!
Any advise would be appreciated. Thanks!
(6) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2007
08:00 AM
ken2007 wrote:
I'm working with a large InstallScript project that launches multiple InstallScript projects. It uses the LaunchAppAndWait function. However, there seems to be a delay between when the user clicks "Finish" to when it actually returns to the calling InstallShield project. The screen doesn't properly refresh for several seconds. Is there any way this can be avoided? Is there another recommended approach to launching another installation? One where the main install project will properly refresh the UI while it waits for the secondary install to complete?
Any advise would be appreciated. Thanks!
Isn't "Doinstall" the right way to do this?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2007
09:16 AM
I tried the DoInstall and it had the same problem. The Child InstallScript is launched and runs with no problem. When the user clicks "FINISH" control switches back to the calling InstallShield Dialog but it has a mix of contents from both installscript projects for about 5-10 seconds till the next step in the process is loaded. Is there anyway to manually refresh/redraw the dialog right after the child installscript completes to prevent the messy screen?
Any help or guidance would be appreciated.
Thanks.
Any help or guidance would be appreciated.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2007
12:40 PM
As a stab in the dark, perhaps try calling Disable(DIALOGCACHE) before launching the child installation with DoInstall or LaunchAppAndWait?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 07, 2007
01:43 PM
Neither of these worked... :confused:
Disable(DIALOGCACHE);
LaunchAppAndWait(szCmd,TARGETDIR,LAAW_OPTION_WAIT);
// or DoInstall(szCmd,TARGETDIR,LAAW_OPTION_WAIT);
Enable(DIALOGCACHE);
I find it hard to believe there is no screen refresh/repaint.
Thanks for trying.
Disable(DIALOGCACHE);
LaunchAppAndWait(szCmd,TARGETDIR,LAAW_OPTION_WAIT);
// or DoInstall(szCmd,TARGETDIR,LAAW_OPTION_WAIT);
Enable(DIALOGCACHE);
I find it hard to believe there is no screen refresh/repaint.
Thanks for trying.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 08, 2007
10:28 AM
Are you launching the child install from within the dialog code itself or from a script event? If it is being launched from the dialog, moving the LaunchAppAndWait call to a script event (like OnFirstUIAfter) should mitigate this behavior since no dialog would be displayed.
Dialog repainting/refreshing is mostly handled internally by the engine. Unfortunately, there aren't any methods exposed at the script level for refreshing dialogs.
Dialog repainting/refreshing is mostly handled internally by the engine. Unfortunately, there aren't any methods exposed at the script level for refreshing dialogs.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 09, 2007
07:12 AM
We're calling the LaunchAppAndWait from the InstallScript via one of the Installed events. I guess its just a limitation. An alternative would be to combine all the separate projects into the one big project. That alternative is less than desirable as every modification we made to the child projects would need to be made to the new jumbo installscript.