Hi everybody,
I would like to display a small dialog with a short question and a 'Yes' and a 'No' button. How do I do this in an InstallScript project?
Do I really have to create a custom dialog or is there an existing dialog function I can use?
Thanks in advance for any help!
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.
YesNo Dialog with a custom text?
Started by
hrms
, Jul 05 2010 08:45
2 replies to this topic
Posted 05 July 2010 - 09:19
Two possibilities:
CODE |
SetDialogTitle( DLG_ASK_YESNO, "Microsoft .NET Framework" ); if( AskYesNo( @ID_QUESTION_INSTALL_DOTNET, YES ) = YES ) then // Do something endif |
or simply
CODE |
nResult = MessageBox( SdLoadString( IFX_MAINTUI_MSG ), MB_YESNO ); if (nResult != IDYES) then // Do something endif; |
Regards
Rita
Edited by Maharani, 05 July 2010 - 09:19.