IIS 5 & IIS 6
about msdeploy "-setparam " ,to restore a website
Last post Apr 09, 2018 08:46 AM by Yuk Ding
Apr 09, 2018 01:11 AM|keepcoffee|LINK
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.
Apr 09, 2018 08:46 AM|Yuk Ding|LINK
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.