ここでCOSMOS のソース コードを見ると、これが現在実行されているコードです。
// This is a hack to avoid the UAC dialog on every run which can be very disturbing if you run
// the dev kit a lot.
Start(@"schtasks.exe", @"/run /tn " + Quoted("CosmosSetup"), true, false);
// Must check for start before stop, else on slow machines we exit quickly because Exit is found before
// it starts.
// Some slow user PCs take around 5 seconds to start up the task...
int xSeconds = 10;
var xTimed = DateTime.Now;
Echo("Waiting " + xSeconds + " seconds for Setup to start.");
if (WaitForStart("CosmosUserKit-" + mReleaseNo, xSeconds * 1000))
{
throw new Exception("Setup did not start.");
}
Echo("Setup is running. " + DateTime.Now.Subtract(xTimed).ToString(@"ss\.fff"));
// Scheduler starts it an exits, but we need to wait for the setup itself to exit before proceding
Echo("Waiting for Setup to complete.");
WaitForExit("CosmosUserKit-" + mReleaseNo);
重要な行 (およびコメント) は次のとおりです。
// This is a hack to avoid the UAC dialog on every run which can be very disturbing if you run
// the dev kit a lot.
Start(@"schtasks.exe", @"/run /tn " + Quoted("CosmosSetup"), true, false);
なんらかの理由で、そのプログラムは割り当てられた 10 秒以内に開始されなかったため、爆破されました。関連するコメントを考えると、あなたのマシンで「ハッキング」が失敗したと思われます。
schtasks.exe
タスク スケジューラです。/run
およびフラグは/tn
、 as という名前のタスクをすぐに実行するように指示しますQuoted("CosmosSetup")
。その値が何であるかはわかりませんが、schtasks.exe
あなたは管理者ではないため、失敗していると思います。
関連するエラーがないか、システムのイベント ログを確認します。