Beispiel #1
0
        private static void ExecPolCfg(PolTool tool, PlatformType type)
        {
            if (!tool[type].POL_Installed)
            {
                Console.WriteLine(Properties.Resources.Msg_Err_PolNotInstalled);
                return;
            }

            var proc = tool.ExecPolCfg(type);

            if (proc == null)
            {
                Console.WriteLine(Properties.Resources.Msg_Err_PolConfigBootFailed);
                return;
            }
            else
            {
                proc.WaitForExit();
            }
        }