- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How to call Custom Dialog on next button
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
How to call Custom Dialog on next button
Hello All,
I am using InstallShield 2020 R3 professional edition and using the basic msi project.
I have the below code which displays sdWelcome screen. When i click on the next button nothing happens. What i would like to have is display my newly created Custom Dialog box.
function UIAfterCusomAction(hMSI)
// To Do: Declare local variables.
STRING szTitle, szMesg;
NUMBER nResult,hwndDlg;
begin
// To Do: Write script that will be executed when MyFunction is called.
IFX_PRODUCT_DISPLAY_NAME = "Select System Preferences";
Sprintf(IFX_SETUP_TITLE,SdLoadString(IDS_IFX_FORMAT_SETUP_TITLE),IFX_PRODUCT_DISPLAY_NAME);
SdInit();
szMesg="Please press Next to continue the installation";
SetWindowText(hwndDlg,"SelectLanguagePreference");
nResult= SdWelcome(szTitle,szMesg);
end;
Can someone guide how do i use the value of nResult and when someone clicks on the next button it displays my newly created dialog box?
Thanks,
Piyush