c# 4.0 - MSBuild ExtensionPack for remote installation required more configuration -
is there experienced msbuild.extensionpack have been using install windows service remote machine.
the service installed in remote location. problem installed executing machine dependencies , configurations files need in remote locations couldn't found on there.
is there way call (.msi) file has been created using visual studio setup project? , use install service. code looks @ moment:
<project toolsversion="4.0" defaulttargets="default" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <propertygroup> <user>username</user> <password>password</password> <remotemachine>remote machine name</remotemachine> <remoteuser>remote user</remoteuser> <remoteuserpassword>remote password</remoteuserpassword> </propertygroup> <import project="$(msbuildextensionspath)\extensionpack\4.0\msbuild.extensionpack.tasks"/> <target name="default"> <msbuild.extensionpack.computer.windowsservice taskaction="install" servicename="my service" user="$(user)" password="$(password)" servicepath="c:\windows\system32\taskmgr.exe" remoteuser="$(remoteuser)" remoteuserpassword="$(remoteuserpassword)" machinename="$(remotemachine)" /> </target> </project>
the .msi file has dependencies embedded in whenever install create application directory in remote machine.so want call this. better way of doing using msbuild.extensionpack welcome.
any appreciated.
Comments
Post a Comment