I am calling MSdeploy.exe using a command file (.cmd extension) In there I need to create a package at a specific location which I want to be configurable as it may change for server to server.
Is there any way to make the Destination location configurable in some xml file or something?
Currently My cmd file look like
set pathMSDeploy = "C:\Program Files\IIS\Microsoft Web Deploy\"
cd %pathMSDeploy%
msdeploy.exe -verb:sync -source:contentPath="C:\TEST_PROJECT\TestApplication" -dest:package="C:\Test.zip"
IF ERRORLEVEL 1 (
ECHO %ERRORLEVEL%
EXIT /B 1
)
I want to keep the package location configurable