Command-line parameters
Note Before you run the upgrade tool on a source file, be sure the source file is closed.
Usage: FMUpgradeTool <Subcommand> [<other options>]
Subcommands |
Description |
||||||||||||||
--help |
Displays help. |
||||||||||||||
--version |
Displays the version of the upgrade tool (major.minor.update.build). The major version number corresponds to the Claris FileMaker Platform version. The other numbers describe the specific version of this tool. |
||||||||||||||
--update |
Updates a FileMaker Pro file based on a patch file with these options:
|
||||||||||||||
--validatePatch |
Returns an error if the specified patch file is not valid. Can be used to test both plaintext and encrypted patch files. Uses these options:
|
||||||||||||||
--encryptPatch |
Encrypts a plaintext patch file for secure patching. Uses these options:
|
||||||||||||||
--decryptPatch |
Decrypts an encrypted patch file. Uses these options:
|
||||||||||||||
--generateGUIDs |
Generates a globally unique ID (GUID) for each object that doesn't have one, ensuring each object has a GUID that can be referenced by a patch. Uses these options:
|
||||||||||||||
--regenerateGUIDs | Regenerates new GUIDs for all objects. Uses the same options as --generateGUIDs . |
These options can be used with any subcommand:
Options |
Description |
-force |
Overwrites an existing output file. |
-inplace |
Modifies the source FileMaker Pro file in place rather than create a copy. If you use this option, |
-v (verbose mode) | Provides details about the upgrade process. Outputs the subcommand and options used, but not a password or passkey. |
-q (quiet mode) | Outputs minimal information. |
Example:
FMUpgradeTool --update
-src_path ./MySourceApp.fmp12
-src_key MyEncryptionPassword
-src_account Admin
-src_pwd MyAdminPassword
-patch_path ./MyPatch.xml
-dest_path ./MyPatchedApp.fmp12
Notes
-
If the file specified by
-dest_path
already exists, an error is returned and the operation is terminated unless-force
is used. If-dest_path
isn't specified, a suitable path and filename will be generated. -
The upgrade tool returns an integer to the shell that calls it: zero (0) when it is successful, a non-zero number when there is an error. For the meaning of an error, see the error message that the tool outputs.