Skip to content
This repository was 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 Mar 6, 2020 · 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 follows:

  • 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
  • installer patch will be downloaded from http://myserver.com/dl?InstallerPatch/Installer.patch

B. Providing Custom Download Links

Some servers may not be suitable for BaseDownloadURL, e.g. Google Drive™ and Dropbox™ use unique ids in their download links. Or, you may want to use custom download urls for only some of the files and the rest will be downloaded from BaseDownloadURL. For files that won't be using BaseDownloadURL, you have to provide a DownloadURL: Providing Custom Download Links

Clone this wiki locally