1. 检测依赖关系,使用工具WebDeploy

msdeploy -verb:getDependencies -source:webserver60

根据检测结果安装所需组件

2.导出IIS6配置和站点数据到D盘iis6文件夹

msdeploy -verb:sync -source:webserver60 -dest:archivedir=d:\iis6,encryptPassword=password -whatif

msdeploy -verb:sync -source:webserver60 -dest:archivedir=d:\iis6,encryptPassword=password

3.导入IIS7.5

msdeploy -verb:sync -source:archivedir=d:\iis6 -dest:webserver60 -whatif

msdeploy -verb:sync -source:archivedir=d:\iis6 -dest:webserver60