2010-04-20 132 views
1

我有這樣的任務是創建一個服務:在遠程計算機上從的MSBuild腳本安裝服務

目標名稱= 「InstallService」 DependsOnTargets = 「CopyFiles」
Exec命令=「SC \ \ remotecomputer創建" ServiceHost的" binPath = " E:\ ServiceHost.exe "顯示名稱= "的ServiceHost " 「 WorkingDirectory =」 C:\」 ContinueOnError = 「假」 /目標

的問題是,當我運行該腳本它不」 Ť知道\ \遠程計算機。

回答

1

我想通了:你必須使用這樣的: 「" 」\ \ remotecomputer「 "」

相關問題