Search code examples
deploymentazure-devopswebdeploymsdeploy

Create webdeploy package from regular .zip file


Currently, as a part of our build-process, we organize the target wwwroot folder structure and build a .zip of it. This is our deployment artifact.

The structure of the .zip file is:

/App_Browsers
/App_Config
/App_data
/App_Start
/bin
/data
/dist
/layouts
/views
default.aspx
web.config

Is it possible to convert this regular .zip file to a file that can be deployed using webdeploy/msdeploy? Or can webdeploy/msdeploy also deploy regular .zip files?


Solution

  • Is it possible to convert this regular .zip file to a file that can be deployed using webdeploy/msdeploy? Or can webdeploy/msdeploy also deploy regular .zip files?

    The answer is yes.

    AFAIK, msdeploy does not support packages, which were zipped using other than built in windows zip archiver.

    So, to resolve this issue, you could unzip this regular .zip file, and zipped with built in windows zip archiver, like, the task Archive Files task or 7z.exe.

    You could check this thread for some more details.

    Hope this helps.