cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
megha_3781
Level 5

SdShowMsg causing Main Installation window to minimize



I am having a Installscript Project which launches the MSXML installation setup.
The code is mentioned below.

SdShowMsg("Installing MSXML 6.0", TRUE);


LaunchAppAndWait(sExe,sParameters, LAAW_OPTION_WAIT |LAAW_OPTION_HIDDEN);


SdShowMsg("Installing MSXML 6.0", FALSE);

But this minimizes the main Installation window to minimize. I dont want Main installation window(Installer) to be minimized. Instead it should be open as normal.
Attached the image.
Please help.
Labels (1)
0 Kudos
(3) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

It should not be possible for an SdShowMsg call to cause the main installer to become minimized in any way. A quick test in a sample InstallScript project with SdShowMsg does not result in the main install becoming minimized.

- Are you using a full screen setup?
- Where is this call to SdShowMsg in your script (which event, where in the event)?
- Is the dialog cache disabled in your script?
0 Kudos
megha_3781
Level 5

I was calling SdShowMsg in OnFirstUIAfter event.

I was installing the required stuffs like .net framework, MSXML in OnFirstUIAfter.
Now I moved this code to OnMoved.Now there is no problem.
Thanks.
0 Kudos
jagadish0911
Level 3

Write below code before using SdShowMsg()
Enable(DIALOGCACHE);

This will enable your main dialogbox.
0 Kudos