![]()
|
InstallShield 2008 ยป InstallScript Language Reference
The Disable function deactivates the user interface object or setup feature specified by the parameter nConstant.
If your script calls the Disable function to disable the Next or Back button, that button is disabled in all dialogs displayed after that function call. To re-enable the Next or Back button, you must call Enable with the corresponding constant.
Note
Calling this function will have no effect on the following dialogs since they enable/disable the Next button internally.
Disable ( nConstant );
| Parameter |
Description |
|---|---|
| nConstant |
Specifies the user interface object or operational feature to disable. Pass one of the following predefined constants in this parameter:
DIALOGCACHE has no effect on dialogs that do not have a Next or Back button.
Note that the effects of InstallScript custom actionsas opposed to the effects of an InstallScript project event-driven scriptare not logged for uninstallation. To prevent changes made by a component in the IDE from being removed during uninstallation, set the component's Permanent property to Yes. |
| nConstant (cont.) |
When the batch method is disabled, files are registered immediately when copied with XCopyFile and the SELFREGISTER constant. If the batch method is enabled, registration is postponed until data transfer takes place. Note that you must add FLEXnet Connect support to a project by selecting Yes for the Enable FLEXnet Connect setting in the Update Notifications view in order for it to be enabled and disabled through the InstallScript Enable and Disable functions; otherwise, calling Enable(UPDATE_SERVICE_INSTALL) or Disable(UPDATE_SERVICE_INSTALL) has no effect. Also note that FLEXnet Connect support is enabled by default if the Enable FLEXnet Connect setting in the Update Notifications view is set to Yes.
The UPDATE_SERVICE_INSTALL constant applies to InstallScript projects. It does not have any effect in InstallScript MSI installations, which install FLEXnet Connect through a merge module. |
| nConstant (cont.) |
|
See Also
|
|
Copyright Information | Contact Macrovision |