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

Disable Cancel button in InstallShield 6.3 Verion of InstallScript Project

Any one let me know is it possible to Disable the Cancel button on the Setup wizhard dialog box.

The setup file is developed using the Install Script project with Install shield 6.3 Professional software.

Thanks in advance.
Labels (1)
0 Kudos
(3) Replies
gridman
Level 8

Try this:

Disable(CANCELBUTTON);

The IS Help says that this call "disables (grays out) the Cancel button that is displayed in some built-in dialogs".

I have used the Disable function before with success, but you'll just have to try and see that it works on the dialog(s) you are speaking about.
0 Kudos
Not applicable

Disable( CANCELBUTTON ) should work for all dialogs except the file transfer progress dialog in Professional 6.3. If you want it to work for the progress dialog you need to upgarde to IS 2008.

Devin Ellingson
Software Developer
InstallShield, A Macrovision Company
0 Kudos
Srinivasa
Level 2

Use this below code. It is working in Installshield 12

hwndDlg=CmdGetHwndDlg(szDialogBoxName);
hwndItem = GetDlgItem(hwndDlg, nButtonControlId);
EnableWindow(hwndItem, TRUE);
0 Kudos