简体   繁体   中英

TFS 2017 silent installation using Powershell

I am trying to install TSF 2017 by using silent installation powershell script. I am able to install it but its not installing properly. And its not creating any folders in program files. But its showing in control panel. Below is the script which I am using now,

$Installer="D:\\TeamFoundationServer2017_Update2\\TfsServer2017.2.exe" $Params=@("D:\\TeamFoundationServer2017_Update2\\ISO\\tfsserver2017.2_enu.iso","/Q","/Full","/NoRestart","/NoWeb","/Passive","/ProductKey","/Layout=C:\\Users\\ul\\Desktop\\Test","/NoRefresh","/Log=Desktop\\Logfile.txt") & $Installer $Params

Is there anything I am missing out in $Params. Its calling exe file and executing it. In contorl panel I can able to see. But in program files its not coming. And its not installing also.

Please help me in this.

TfsServer2017.2.exe is a web installer, it will download TFS from VisualStudio.com and kick off the installation. However, the installation process itself simply gets TFS bits onto your machine. At the end of this process, the installer will launch the TFS Configuration Center .

在此处输入图片说明

Even select Basic scenario( This scenario is optimized for simplicity, using default options for most inputs ), you will still need to choose and enter many configuration.

More details please refer: How to set up TFS on a single server

Besides, this is only suitable for a single server scenario, you could also install TFS under Dual server / Multiple server configuration . Highly doubt this could be done through a single powershell script.

You could also have a look at this tutorial -- Team Foundation Server 2017 Installation Guide


If you just want to want to use PowerShell DSC resources to install configure a TFS build agent, please refer this code source in GitHub.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM