cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
peterbi
Level 7

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
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

Does calling Disable(DIALOGCACHE) make any difference?
0 Kudos
peterbi
Level 7

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
0 Kudos