about msdeploy "-setparam " ,to restore a website RRS feed

  • Question

  • User320262925 posted

    Hi,my operation environment is IIS6 on windows server 2003.

    I use follow command line to package my site,and make the site name and site's physical path with parameters.

    msdeploy.exe -verb:sync -source:metakey=lm/w3svc/117880585 -dest:package=c:\dises.zip

    "dises" is my site name,and the above command executed with no error,and I can see the parameters I declare in the zip package.

    "117880585 " is my site ID.

    Next,I restore this package to another machine with the same operation environment(I use virtual machine software).

    the command as follows:

    msdeploy.exe -verb:sync -source:package=c:\dises.zip -dest:metakey=lm/w3svc/117880585

    yes,you can see that I changed the parameters value,"dises" to "disesaa", "C:\dises\Code\Web" to "C:\111\dises\Code\Web",for test purpose.

    But when execution finished,the site name and physical path didn't change.

    So,anything wrong?please help.

    Monday, April 9, 2018 1:11 AM

All replies

  • User-460007017 posted

    Hi keepcoffee

    To further help you about this issue, I am trying to invoke someone experienced to help look into this thread, this may take some time and as soon as we get any result, we will post back. 


    Monday, April 9, 2018 8:46 AM