星期一, 12月 22, 2014

How to make your IIS web application deployed remotely?

  1. Install IIS with extra "Management Service".
  2. Fully installed "Web Deploy" (reference).
  3. Web Management Service running, and related port opened.
  4. Execute this command:msdeploy.exe -verb:sync -allowUntrusted -source:iisApp=<SourceFolder> -dest:iisApp="Default Web Site\<vDir>",wmSvc=<MachineName>,username=...,password=...
  5. If <SourceFolder> is relative and Error "Site ... Doesn't Exist", try absolute path instead.

沒有留言:

張貼留言