TFS Deployer (TFS部署管理器)研究笔记

上一篇 / 下一篇  2011-03-31 13:08:32 / 个人分类:配置管理

51Testing软件测试网m"QJHa

TFS DeployerTFS部署管理器)

!q@6o3v._ ? D.q;T+q}0

首先下载部署管理的安装包,把程序文件和默认配置文件安装到C:\Program Files\TFS Deployer 目录,然后你需要完成一系列的配置来完成自动化的操作。51Testing软件测试网/i9H D0PX^,bm-{u

第一步:你需要注册TFS部署管理器的服务。51Testing软件测试网+s;n!P*o#A;g"v[

InstallUtil安装Windows服务51Testing软件测试网GC.^ ss

1.打开Visual Studio .NET命令提示51Testing软件测试网O4C O ?7q)c#m#HM

2.改变路径到项目所在的C:\Program Files\TFS Deployer文件夹位置

\%J6~tC6bl"H.\0

3.执行命令“InstallUtil.exe TfsDeployer.exe”注册这个服务51Testing软件测试网 a'LuGY3?Ob[}o6G

  或执行“TfsDeployer.exe –i51Testing软件测试网` Xw"} JM

完成以后你就可以在服务管理器(services.msc)中找到TFS Deployer这个服务。51Testing软件测试网!_8Lagb#A-L

 51Testing软件测试网"uGy2]'Q,t

问题一:

4@@/Dha:{3]y0

System.IO.FileNotFoundException: Could not find file …..

"y4|+T*F$l gS0

 

z~ic z`i3RE0`0

C:\Program Files\TFS Deployer赋予everyone可写权限。

f$YDa|/oN A0

 51Testing软件测试网;] o]A+A5w

问题二:51Testing软件测试网'uTX&M2Rg

System.Security.SecurityException: The source was not found, but some or all event logs could not be searched. Inaccessible logs: Security.

nEY0R&Sg FE L0

 51Testing软件测试网#Dl0l'ZNZz

修改注册表\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Security.

EQnhc6Y0

Right-click this node, and choose permissions, then you can check it.

'v:n&w9}f UQ5q0

 

o"Q'f&N Q$C0

问题三:51Testing软件测试网"\G%U)w9t5P

The installation failed, and the rollback has been performed.

a!k+C']N0

 51Testing软件测试网5J.]#E+C] RN

管理员权限问题。用管理员登录操作。

4y7U;b-DOk8H0

如果是win7系统,进行以下操作。

!ix7X5O'@3r-N,[0

go to start > All Programs > Microsoft Visual Studio 2005 (or 2008) > Visual Studio Tools

b `x(L2[*}0

 

l"h7MX+L0

删除服务命令:sc delete TfsDeployer51Testing软件测试网0y8h+j IIEmf

 或执行“TfsDeployer.exe –d

4^t_:]Zn0

 

Pnu!lN0

配置文件修改:(待续)

I%tk ulANP0

 

6W8u5w es:_D&A0

TAG:

 

评分:0

我来说两句

Open Toolbar