Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

how to get a WAITING dialog


3 replies to this topic

wh_xiexing

wh_xiexing
  • Members
  • 1 posts

Posted 22 September 2003 - 06:45

i want to call a function in a dll file, but the function takes a long time to run , meanwhile i want
to popup a WAITING dialog( animation or something ) to tell the user that i am processing it, how can i do this , your tips will be appreciated .

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 September 2003 - 09:15

Before you launch the CA you could display a non-modal dialog.

hteichert

hteichert
  • Members
  • 158 posts

Posted 22 September 2003 - 13:37

In Microsoft's Windows Installer documentation search for "SpawnWaitDialog" ControlEvent. There's also an example on this topic in the docu.
h.teichert-ott

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 22 September 2003 - 15:52

If your CA is executed in the Execute sequences, consider updating the action text and progress bar. See MsiProcessMessage.

This method respects the UI level, where showing your own progress dialog need to take the current UI level in consideration.