View Full Version : Disable Cancel button in InstallShield 6.3 Verion of InstallScript Project

06-21-2007, 08:06 AM
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.

06-21-2007, 12:00 PM
Try this:


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.

06-21-2007, 06:33 PM
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

07-10-2007, 01:34 AM
Use this below code. It is working in Installshield 12

hwndItem = GetDlgItem(hwndDlg, nButtonControlId);
EnableWindow(hwndItem, TRUE);