I type the command : TfsDeployer -? and I get extra parameters.
Can you give more information on those parameters and an example of how to use them ?
Copyright © 2006
@argfile Read arguments from a file.
/m:<value> Deployment Mapping File Name
/k:<value> Key File Name
/g:<value> Create Key File
/help Show usage.
/version Show version.
Apr 19, 2008 at 3:11 AM
Firstly /CreateKeyFile and /EncryptDeploymentFile are showing due to a bug and will either be ignored or crash the app. The remainder exist to digitally sign deployment mapping files to prevent uinauthorized tampering. Basic usage examples follow, the
first to create a key then use it to sign the mapping file:
tfsdeployer.exe /k:MyKeyFile.key /m:DeploymentMappings.xml
The second example creates a new key and signs the mapping file in one step:
tfsdeployer.exe /g:MyKeyFile.key /m:DeploymentMappings.xml
Once you have a key file and an encrypted mapping file. You can check the signed mapping file into source control and keep the key file securely on the Tfs Deployer machine. You then need to edit the TfsDeployer.exe.config file and change the KeyFile setting
within to refer to the location of the key file and also change the SignDeploymentMappingFile setting to "True". Then restart the Tfs Deployer sevice.
If you enable signing in your Tfs Deployer config, all mapping files will need to be signed.
Does this help?
Thanks for taking the time to answer my question.
Thank you for your examples, they helped very much !
By the way, congratulations for TfsDeployer, it's a wonderfull tool.