cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
megha_3781
Pilgrim

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
Pilgrim

Re: SdShowMsg causing Main Installation window to minimize

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
Pilgrim

Re: SdShowMsg causing Main Installation window to minimize

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
Pilgrim

Re: SdShowMsg causing Main Installation window to minimize

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

This will enable your main dialogbox.
0 Kudos