Uninstall batch scripts return a non-zero exit code due to self-deletion

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 2.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed
    • None
    • C Drivers
    • Needed
    • Hide

      The uninstall script on Windows is fixed so it no longer emits confusing error messages and a non-zero error level after it has "successfully" completed its execution.

      Note: the uninstall script was behaving correctly w.r.t. deletion of files and directories. However, it was "succeeding" with a non-zero error level (which indicates "failure") and emitting confusing error messages due to script logic errors (which were not impacting the deletion operations).

      Documentation changes correspond to this changelog entry.

      Show
      The uninstall script on Windows is fixed so it no longer emits confusing error messages and a non-zero error level after it has "successfully" completed its execution. Note: the uninstall script was behaving correctly w.r.t. deletion of files and directories. However, it was "succeeding" with a non-zero error level (which indicates "failure") and emitting confusing error messages due to script logic errors (which were not impacting the deletion operations). Documentation changes correspond to this changelog entry .
    • None
    • None
    • None
    • None
    • None
    • None

      Caused by 070b35a (August 2023 in the 1.25.0 release). Although the uninstallation operation itself works as-designed, the operation may return a non-zero exit code due to the batch script being deleted mid-execution despite attempts to workaround this issue.

              Assignee:
              Ezra Chung
              Reporter:
              Ezra Chung
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: