Skip to content
This repository has been archived by the owner on Jul 1, 2020. It is now read-only.

Updating Download Links in VersionInfo

Süleyman Yasir KULA edited this page Dec 18, 2018 · 17 revisions

With SimplePatchTool, you have two options for download links inside VersionInfo.info:

A. Using BaseDownloadURL

If you provide a <BaseDownloadURL> (e.g. <BaseDownloadURL>http://myserver.com/dl?</BaseDownloadURL>), SimplePatchTool will automatically construct download urls by appending the downloaded file's relative path to the BaseDownloadURL as following:

  • repair patch files: e.g. MyDir/file.bin will be downloaded from http://myserver.com/dl?RepairPatch/MyDir/file.bin.lzdat
  • incremental patch files: e.g. 1_0__1_1.patch will be downloaded from http://myserver.com/dl?IncrementalPatch/1_0__1_1.patch and 1_0__1_1.info will be downloaded from http://myserver.com/dl?IncrementalPatch/1_0__1_1.info

NOTE: names of the RepairPatch and IncrementalPatch directories are defined inside the PatchParameters class.

B. Providing Custom Download Links

See Providing Custom Download Links.

Clone this wiki locally