EN RU
Log in
Home
Download
Purchase
Documentation
Support
Contact us
 
Help  /  Command Reference  /  Programming

Catch Exit

The command prohibits the exit from the installation process if there is an error during decompressing or copying files.

Description
Optionally, you may add comments here describing the purpose of this element.

State
You can enable or disable this mode. If the state is enabled, the installation will not be interrupted in case of an error when unpacking or copying files. In this case, you should check the value of the catch_result variable after unpacking or copying the files. If its value is 1, then there was an error and you will have to assign to zero its value after processing the exception. The variable catch_error contains the error type as a string errfile - write error, errdir - directory creation error, errdisk - error the opening of another volume, in case of a multivolume installation. The variable catch_name is the name of the file or directory where the error occurred.

Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.
  • Command Reference
    • Application
    • Dialogs
    • Files
    • Internet
    • Messages & Sound
    • Programming
      • Call function
      • Catch Exit
      • Notice
      • Sleep
      • Timeout
      • Exit/Reboot
      • For statement
      • Function
      • If statement
      • Source code
      • For statement with Split
      • While statement
    • Register DLL & Fonts
    • Registry & INI
    • System
    • Text Files
    • Uninstaller
    • Variables
Copyright © Novostrim, OOO, 2009-2026 All rights reserved.