• Deploy Application User's Guide
    • Introduction to Deploy Application
    • How to ...
      • Set the Name and Description of a Deployment Package
      • Add Files to a Deployment Package
      • Remove Files from a Deployment Package
      • Deployment Options
      • Install a Deployment Application on a Mobile Device
      • Update a Deployed Application on a Mobile Device
      • Get a QR Code to Scan to Install an Application on a Mobile Device
      • Set a File to Only be Updated on First Install
      • Upload Dictionaries for Data Synchronization
      • Save a Deployment Specification File
      • Open a Deployment Specification File
      • Run Production Deployments
      • Get Help

Run Production Deployments

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
[Run Information]
The [Run Information] block is required and must appear exactly as shown in the example above.
[Files]
The [Files] block is required and defines the script that will be used during the deployment.
[Parameters]
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.