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.
Don't know how to Display Costum Dialogs
Started by
pmoellendorff
, Sep 26 2003 13:13
5 replies to this topic
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
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
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.
Stefan Krüger
InstallSite.org twitter facebook
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
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
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.
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.
Stefan Krüger
InstallSite.org twitter facebook
Posted 28 September 2003 - 20:21
Please look at help topic "Creating Custom Dialogs for an InstallScript MSI Project"
Stefan Krüger
InstallSite.org twitter facebook