You can run production deployments by using the PFF as a command line parameter for CSDeploy.exe (the associated filename of this utility). For example, if you name your PFF file Deploy Survey.pff, then you can run the deployment by invoking:
"C:\Program Files (x86)\CSPro 8.0\CSDeploy.exe" "Deploy Survey.pff"
This assumes that CSPro was installed in the default directory. Your PFF file must have a .pff extension.
You can create a PFF file in one of two ways: either [1] create one with a text editor (such as Notepad or Wordpad), or [2] have it generated automatically for you when you save a deployment specification file. You can also manipulate PFF files in logic by using the
Pff object.
The following section shows the options available to you in a deployment PFF file. A PFF file is not case sensitive, so you can use any combination of upper and lower case text.
[Run Information]
Version=CSPro 8.0
AppType=Deploy
[Files]
Application=.\Deployment.csds
[Parameters]
DeployToOverride=CSWeb
SyncUrl=https://www.myserver.org/api
The [Run Information] block is required and must appear exactly as shown in the example above.
The [Files] block is required and defines the script that will be used during the deployment.
The [Parameters] block is optional and defines additional options for the deployment.
- DeployToOverride= specifies the type of server to be used during the synchronization. Possible options are: None, CSWeb, Dropbox, FTP, LocalFile and LocalFolder.
- SyncUrl= specifies the URL of the server. This is not required, but if specified, the value will override any value specified for a CSWeb or FTP server.