
bob.bartel1.5524949200856836E12 asked a question.
sdFinish why won't checkbox display?
I have customized the sdFinish Dialog to remove the Readme file checkbox, and have left the "Yes, I want to launch" checkbox. It's visible property is true, but it doesn't display?
Here is the code:
Disable(STATUSEX);
szTitle = "";
szMsg1 = "";
szMsg2 = "";
szOpt1 = "";
szOpt2 = "";
bvOpt1 = FALSE;
bvOpt2 = FALSE;
if ( BATCH_INSTALL ) then
SdFinishReboot ( szTitle , szMsg1 , SYS_BOOTMACHINE , szMsg2 , 0 );
else
nResult = SdFinish (szTitle, szMsg1, szMsg2, szOpt1, szOpt2, bvOpt1, bvOpt2);
if (nResult = IDCANCEL) then
// The user clicked the window's close button.
Do (EXIT);
endif;
if (nResult = CANCEL) then
Do (EXIT);
endif;
if (bvOpt2) then
PROGRAMFILETOLAUNCHATEND = INSTALLDIR +"MW10.EXE";
LaunchApp (PROGRAMFILETOLAUNCHATEND,"");
endif;
endif;
Can anyone tell me what I am missing?
Thanks.
bob
Checkbox is not getting displayed because you have set szOpt2 = "".
It works!
bob