iis webdeploy


for IIS 6

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
for %%i in (a,b,c) do echo updating %%i now ... ^
&& "C:Program FilesIISMicrosoft Web Deploy V3msdeploy.exe" ^
-verb:sync ^
-source:runCommand="c:windowssystem32iisapp.vbs /a BPReports /r",waitInterval=20000 ^
-dest:auto,computerName=%%i

for %%i in (a,b,c) do echo updating %%i now ... ^
&& "C:Program FilesIISMicrosoft Web Deploy V3msdeploy.exe" ^
-verb:sync ^
-source:package="\aaaDeployPackages1.9_20120905_patchBPReportBpsReport-1.9.4631.4135.zip" ^
-dest:auto,computerName=%%i ^
-replace:objectName=filePath,match=-prod.config$,replace=.config ^
-skip:objectName=filePath,absolutePath=.*-dev.config$ ^
-skip:objectName=filePath,absolutePath=.*-qa.config$ ^
-skip:objectName=filePath,absolutePath=.*-stg.config$ ^
-skip:objectName=filePath,absolutePath=.*-uat.config$ ^
-skip:objectName=filePath,absolutePath=.*-dallas.config$ ^
-verbose

for IIS 7

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
"C:Program FilesIISMicrosoft Web Deploymsdeploy.exe" ^
-verb:sync ^
-source:runCommand="C:WindowsSysWow64inetsrvappcmd.exe recycle APPPOOL BPReports",waitInterval=20000 ^
-dest:auto,computerName=aaa

for %%i in (a,b,c) do echo updating %%i now ... ^
&& "C:Program FilesIISMicrosoft Web Deploymsdeploy.exe" ^
-verb:sync ^
-source:package="\aaaDeployPackages1.9_20120905_patchBPReportBpsReport-1.9.4631.4135.zip" ^
-dest:auto,computerName=%%i ^
-replace:objectName=filePath,match=-prod.config$,replace=.config ^
-skip:objectName=filePath,absolutePath=.*-dev.config$ ^
-skip:objectName=filePath,absolutePath=.*-qa.config$ ^
-skip:objectName=filePath,absolutePath=.*-stg.config$ ^
-skip:objectName=filePath,absolutePath=.*-uat.config$ ^
-skip:objectName=filePath,absolutePath=.*-dallas.config$ ^
-verbose