piyushkacha
Flexera beginner

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

Labels (1)
0 Kudos
1 Reply
xudiqute
Pilgrim

Re: How to call Custom Dialog on next button

up
0 Kudos