cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
piyushkacha
Level 2

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
Level 2

up
here some awesome live sex cam sites: Ebony Cam , Asian Cams , Free Live Ebony Cams
0 Kudos