How to install msi on remote machine in msbuild without using psexec?

Posted by TS on Stack Overflow See other posts from Stack Overflow or by TS
Published on 2009-09-04T04:32:30Z Indexed on 2010/04/03 23:03 UTC
Read the original article Hit count: 286

Filed under:
|
|
|

I have searched all the custom tasks in Extension Pack and Community Tasks and finally found a task called Msi.Istall in SDC

Tasks. But the documentation is bad and causes problems. I get errors regarding the properties passed to the installer.

Below is my Install target :

    `<Target Name="Install">
<!-- Copy the MSI package into remote pc. -->
<!--<CreateItem Include="\\grpdev1\Sharing\Build Script\Server Applications\**\*.*">
  <Output ItemName="Source" TaskParameter="Include"/>
</CreateItem>
<Copy SourceFiles="@(Source)" DestinationFolder="\\lta0\c$\TestRemoteInstall\%(Source.RecursiveDir)"/>-->

Seems like it looks at my own local pc to install it and says the product is already installed and needs to be removed. How

else do i specify the remote machine? Any ideas where I am going wrong? I have also been asked not to use psexec tool or intermediate scripts.. Looking to install directly from msbuild task.

© Stack Overflow or respective owner

Related posts about remote

Related posts about install