src/extensions/default/AutoUpdate/main.js
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);
    }
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);
    }
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 ) ; }
Checks Install failure scenarios
Checks Install failure scenarios