Operation: Add/Replace Options

Add/Replace Properties define the replacement procedure of the file that already exists on the end-user's machine (this group do not affect "Updated" files , i.e. when the update procedure is performed using a difference between two files).

If a file id defined as added or replaced in the update module, then it can be necessary  to prevent replacement of newer files. To determine if existing file is newer the update program tries to compare last modified date and time, or version information (for PE-files). Thus if according to comparing results the file to be replaced is considered as older then it is replaced without any confirmations (similarly for "Added" files). Otherwise property "If older" is used to define the action to be made in such situation.

 

Parameter

Available options

Function

Add/Replace Options

Check if older by

Version only,

Version or Date/time,

Date/time only,

Don't compare

Defines method to determine if the file is newer/older or not determine at all during update installation on the end-user's machine. If set to "Don't compare" (i.e. do not perform this check) then replacement is always made. "Added" files replacement is controlled by "If added file exist" property.

If older

Skip without user prompt,

Defined by user

Defines action to be made if the file to be replaced is newer (and replacing file is older).

If added file exists

Replace if backuped, else user prompt,

Replace if backuped, else skip,

Replace without user prompt,

Skip without user prompt,

Defined by user

Defines action to be made if the file (that is set as added) already exists on the end-user's machine and the check which file is older or newer is not implemented. Valid only for Added files and only if "Check if older by" = Don't Compare, or identification which file is older or newer failed (for instance, if file resources do not contain version information). 

* Default properties values are marked with Bold font.

 

Converted from CHM to HTML with chm2web Standard 2.75 (unicode)