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
- :
- How to make a dialog go away in InstallScript project?
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
‎Apr 30, 2009
07:29 PM
How to make a dialog go away in InstallScript project?
Hi,
I just added a 'ReadyToInstall' dialog using SdStartCopy() in my InstallScript (no MSI) project, the problem is that after clicking on 'Next' button of the dialog, it stays until file copying is complete. I know this might be from design, but how can I make it go awsy immediately after 'Next' is clicked, like in MSI project?
There is code for SetStatusWindow(), but once the SdStartCopy() was inserted before the code, the status windows don't show up again (or have been hidden). I want the SdStartCopy() (or ReadyToInstall as I named it) to go away once the 'Next' is clicked and make the status windows visible.
Any idea?
Thanks,
Peter
I just added a 'ReadyToInstall' dialog using SdStartCopy() in my InstallScript (no MSI) project, the problem is that after clicking on 'Next' button of the dialog, it stays until file copying is complete. I know this might be from design, but how can I make it go awsy immediately after 'Next' is clicked, like in MSI project?
There is code for SetStatusWindow(), but once the SdStartCopy() was inserted before the code, the status windows don't show up again (or have been hidden). I want the SdStartCopy() (or ReadyToInstall as I named it) to go away once the 'Next' is clicked and make the status windows visible.
Any idea?
Thanks,
Peter
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 30, 2009
09:57 PM
Does calling Disable(DIALOGCACHE) make any difference?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 01, 2009
12:43 PM
Robert,
Thanks for your reply. I tried it before my posting and it didn't work.
Actually adding 'Enable(STATUSEX)' did it.
I had been thinking the other way - some call(s) on SdStartCopy() (Disable/Hide/etc.), but never thought of going the other direction - enabling the next dialog/window. I guess by default/design, SdStartCopy() is so dominant that you have to explicitly enable the next dialog to make it go away.
It's good to learn that though.
Thanks,
Peter
Thanks for your reply. I tried it before my posting and it didn't work.
Actually adding 'Enable(STATUSEX)' did it.
I had been thinking the other way - some call(s) on SdStartCopy() (Disable/Hide/etc.), but never thought of going the other direction - enabling the next dialog/window. I guess by default/design, SdStartCopy() is so dominant that you have to explicitly enable the next dialog to make it go away.
It's good to learn that though.
Thanks,
Peter