This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: sdFinish why won't checkbox display?
Subscribe
- 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
‎Jan 02, 2010
03:58 PM
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
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
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2010
03:14 AM
Set "szOpt2" to the text which you want to display for the checkbox.
Checkbox is not getting displayed because you have set szOpt2 = "".
Checkbox is not getting displayed because you have set szOpt2 = "".
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2010
09:41 AM
Thank you. I thought if you left it blank it would display the default value entered in the dialog editor.
It works!
bob
It works!
bob