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 do you call a Dialog from a InstallScript


2 replies to this topic

Cygnusx1

Cygnusx1
  • Members
  • 29 posts

Posted 08 August 2001 - 14:41

I created a custom Dialog with only two buttons: Continue & Exit.  
How can I call this Dialog box using scripts?

I tried res = MsiDoAction(hMSI,"NameOfDialog"); with ERROR_SUCCESS; but the dialog does not appear.
What am I missing?

Is there a message box function (like AskYesNo) that I can create my own buttons (without having Back|Next|Cancel)?

Thanks!


Ian Blake

Ian Blake
  • Members
  • 483 posts

Posted 09 August 2001 - 09:36

You can delete back next and cancel using the IDE.   MSI wizard pages are simple dialogs not wizard(property) pages.

Unfortunately later versions of ISWI insist on put that branding line on which is trickier to remove.

A limited range of error and information boxes can be created using MsiProcessMessage