|
CancelInstall Method |
Top Previous Next |
|
Cancels the current installation. [VBScript] Installer.CancelInstall
[JScript] Installer.CancelInstall(); Remarks You may use this method when installation environment does not meet your requirements. This method terminates the installation and returns to Windows. Uninstall support This action does not support uninstallation. Example (VBScript) res = Installer.ShowMessage("CancelInstall?", "Question", vbYesNo) If res = vbYes Then Installer.CancelInstall End If Example (JScript) var res = Installer.ShowMessage("CancelInstall?", "Question", 4); if (res == 6) Installer.CancelInstall(); |