Advertisement
Guest User

Untitled

a guest
Sep 19th, 2016
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. rem Create package using manifest:
  2.  
  3. msdeploy -verb:sync -source:manifest="G:\CI_on_DVCS\PackageManifest.xml" -dest:package="g:\CI_on_DVCS\Package.zip"
  4.  
  5. rem Install package using manifest:
  6.  
  7. msdeploy -verb:sync -source:package="g:\CI_on_DVCS\Package.zip" -dest:manifest="G:\CI_on_DVCS\PackageInstallationManifest.xml",computerName=AMI,username="UserName",password="Password"
  8.  
  9.  
  10. rem Create package using command line:
  11.  
  12. msdeploy -verb:sync -source:contentPath="g:\CI_on_DVCS\Src\" -dest:package="g:\CI_on_DVCS\Package.zip"
  13.  
  14. rem Install package using command line:
  15.  
  16. msdeploy -verb:sync -source:package="g:\CI_on_DVCS\Package.zip" -dest:contentPath="CI_on_DVCS",computerName=AMI,username="UserName",password="Password"
  17.  
  18. rem NOTE: -source:contentPath - Path to precompiled ASP.NET Web Application.
  19. rem NOTE: -dest:contentPath - Name of the IIS website on the destination host.
  20.  
  21. rem PackageManifest.xml:
  22.  
  23. rem <?xml version="1.0" encoding="utf-8"?>
  24. rem <sitemanifest>
  25. rem <contentPath path="g:\Src\" />
  26. rem </sitemanifest>
  27.  
  28. rem PackageInstallationManifest.xml:
  29.  
  30. rem <?xml version="1.0" encoding="utf-8"?>
  31. rem <sitemanifest>
  32. rem <contentPath path="CI_on_DVCS" />
  33. rem </sitemanifest>'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement