You can add extra parameters to Web Deploy if required. You can add parameters to the extraction process or the creation process.
You add parameters by modifying the migration.config file, which is located in the container\scripts folder. The file is copied to the container/scripts folder when you execute virtamigrate /C <ContainerName>. Note that the migration.config file is not created in an empty container; you must execute virtamigrate /C after you create a container before you look for the migration.config file.
Changes that you make to the migration.config file will be implemented when you execute virtamigrate /A.
Open the migration.config file in the container\scripts folder.
Add the following attribute to the webDeploy node:
extractExtraParams="my new extra parameters"Save the file.
Open the migration.config file in the container\scripts folder.
Add the following attribute to the webDeploy node:
createPackageExtraParams="my new extra parameters"Save the file.
You can remove a migration that you don't want to run from the migrate.config file. To do this, remove a node from the migrate.config file.
Example:
<migrationManager debugLogs="" >
<defaultMigrationsToRun>
<add name="Feature" />
<add name="IIS_Test" />
<add name="Rewrite_Module" />
<add name="IIS" />
<add name="ASP.NET" />
<add name="Account" />
<add name="PHP" />
<add name="Binding" />
</defaultMigrationsToRun>
</migrationManager>To remove the "Binding" migration, remove the line:
<add name="Binding" />