AdvancedLauncher.Management.Execution.AppLocaleLauncher.ExecuteInternal C# (CSharp) Method

ExecuteInternal() public method

Execute process with arguments
public ExecuteInternal ( string application, string arguments ) : bool
application string Path to executable
arguments string Arguments
return bool
        public override bool ExecuteInternal(string application, string arguments)
        {
            string appLocalePath = System.Environment.GetEnvironmentVariable("windir") + "\\apppatch\\AppLoc.exe";
            if (!string.IsNullOrEmpty(arguments)) {
                return StartProcess(appLocalePath, "\"" + application + "\" \"" + arguments + "\" \"/L0412\"");
            } else {
                return StartProcess(appLocalePath, "\"" + application + "\" \"/L0412\"");
            }
        }
AppLocaleLauncher