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

Don't know how to Display Costum Dialogs


5 replies to this topic

pmoellendorff

pmoellendorff
  • Members
  • 4 posts

Posted 26 September 2003 - 13:13

Hello Together,

I need help by Using my own created Dialog.
i don't know how to Diplay it in my Project.
what i have to do to see my Dialog ????

I Have Already Created one.




please Help me



MFG Patrick sad.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 September 2003 - 13:30

Modify the behaviour of the Next button of the prvious dialog to call your new dialog. And also the Back button of the following dialog.

pmoellendorff

pmoellendorff
  • Members
  • 4 posts

Posted 26 September 2003 - 13:37

this is what i have understand but whats about Calling the Dialog.

Example : My dialog Name = OverrideSelection

The source of the Other Dialogs looks like this :


Dlg_SdWelcome:
szTitle = "";
szMsg = "";

nResult = SdWelcome(szTitle, szMsg);
if (nResult = BACK) goto Dlg_SdWelcome;


But if i write :

Dlg_SdOverrideSelection:

nResult = SdOverrideSelection(szTitle,szMsg);


comes an error like this :

error C8025: 'DialogShowOverrideSelection' : undefined identifier
error C8041: '(' : function type required




Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 26 September 2003 - 14:07

Ah, you didn't say you're using the "Standard" project type. I was assuming Basic MSI.

In additon to creating a dialog in the dialog editor, you need to write a script function that handles the dialog events (button clicks etc.). If you name this function DialogShowOverrideSelection you can then call it in the same way as the built in dialogs such as SdWelcome.

pmoellendorff

pmoellendorff
  • Members
  • 4 posts

Posted 27 September 2003 - 10:05

can you give me an Example for this ?????



thanks for Help.




Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 28 September 2003 - 20:21

Please look at help topic "Creating Custom Dialogs for an InstallScript MSI Project"