| · | Update command generation |
The result Update command is defined by the combination of the following properties:
| ▪ | Update Method and Allow Delete properties values of the old version element (if exists), |
| ▪ | Patch Method property value of the new version element (if exists), and the fact of presence/absence of this element. |
| · | Update method: |
Parameter "Update method" is used to specify how the selected element is updated if this element is placed inside an Old Version image of a difference.
The result value of the Update command is defined in concordance with the value of "Patch method" of the same-name element in the New Version image (if exists) and also by "Allow delete" parameter value.
| · | Patch method: |
Parameter "Patch method" is used to specify how the selected element is updated if this element is placed inside a New Version image of a difference.
The result value of the Update command is defined in concordance with the value of "Update method" of the same-name element (if exists) in the Old Version image.
The Update command value can take on the following values:
| ▪ | "Updated" : new file will be created on the basis of an old file contents and binary difference between old and new files which is stored in the update module. Therefore an old file must remain unchangeable on the end-user's machine to perform the update procedure successfully. |
| ▪ | "Replaced/Added" : the update module contains the full copy of the new file if it differs from an old file. Command "Added" (unlike Replaced) usage assumes that there is no old file with the same name on the end-user's side, and the action in case of its presence is defined by the value of "Check if older by" and "If added file exists" properties. |
| ▪ | "Deleted" : deletion of an old file or empty folder. |
| ▪ | "No Operation" : no action with file or folder is made on the end-user's side. This command is set for identical files (in compliance with the property "Ignore attributes diff"), or can be manually set by user. |
Particular value of the generated Update command for selected element is defined by the following table below.
|
|
<Element does |
Update method |
||||
|
Auto |
Don't allow update by diff |
Don't update |
||||
|
<Element does |
Allow |
YES |
- |
Deleted |
Deleted |
No operation |
|
NO |
- |
No operation |
No operation |
No operation |
||
|
Patch |
Auto |
Added |
Updated |
Replaced |
No operation |
|
|
Added or Replaced |
Added |
Replaced |
Replaced |
No operation |
||
|
Always Added |
Added |
Added |
Added |
No operation |
||
|
Always Replaced |
Replaced |
Replaced |
Replaced |
No operation |
||
|
Don't patch |
No operation |
No operation |
No operation |
No operation |
||