-
Notifications
You must be signed in to change notification settings - Fork 0
Example 1
Johan Leino edited this page Aug 6, 2013
·
2 revisions
Note: this example assumes you have all the files used in the same directory (.\). That is not at all a requirement though.
This example sets the name of the site/application through a parameters file during a deploy.
Import-Module .\WDP.Deploy.psm1
Set-Properties @{
ParametersFile = ".\test.xample.com.xml"
}
Invoke-Deploy .\xample.zip
The xample.zip
offline webapplication package includes a parameter that contains the name of the IIS webapplication:
The name, www.example.com, was probably added when the webapplication package was created (through MSBuild most likely).
We will change that via a parameters file (test.xample.com.xml
) that will override the default value: