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