code: function checkInstallationStatus() {
          var searchParams = {
                  "updateDir": updateDir,
                  "installErrorStr": ["ERROR:"],
                  "bracketsErrorStr": ["ERROR:"],
                  "encoding": "utf8"
              },
              // Below are the possible Windows Installer error strings, which will be searched for in the installer logs to track failures.
              winInstallErrorStrArr = [
                  "Installation success or error status",
                  "Reconfiguration success or error status"
              ];
          if (brackets.platform === "win") {
              searchParams.installErrorStr = winInstallErrorStrArr;
              searchParams.encoding = "utf16le";
          }
          postMessageToNode(MessageIds.CHECK_INSTALLER_STATUS, searchParams);
      }
docs: Checks Install failure scenarios