essedbl

So I have created a Build, using TFS/MSBuild. I build my web site as usual, then I use an <Exec> command in the build file (TFSBuild.proj) to build a setup project, which outputs an MSI file. Now, I would like to use another <Exec> command to install the MSI on a remote Web Server...

But I cannot figure out how the heck to install an MSI remotely using the Command Line. If I could figure that out, I could figure out how to incorporate that into my Automated build...

So if I can do this, then I can build a site, install it, run web tests against it, and then uninstall it... All automatically... Smile

Thanks,



Re: Team Foundation Server - Build Automation How do I install an MSI to a remote Web Server...

Christopher Painter

You need to do some RPC. You could use psexec to invoke msiexec /i foo.msi /qn to perform a silent install on the remote machine. msiexec /x foo.msi /qn to uninstall it.






Re: Team Foundation Server - Build Automation How do I install an MSI to a remote Web Server...

essedbl

Thanks, I did a quick test and it seems like this tool is the missing link... Thanks so much, I will post back when I get it working...





Re: Team Foundation Server - Build Automation How do I install an MSI to a remote Web Server...

essedbl

I got this working. Thanks so much for the help.