by Rde (54 Submissions)
Category: Coding Standards
Compatability: VB Script
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
When installing a file on an end user's machine, you should not copy an older version of the file over a new version.
The InstallFile wrapper in the InstFile.bas module uses the VerFindFile and VerInstallFile API functions provided by Version.dll to copy files to the user's machine, and will not overwrite an existing file with an older version.
The InstFile.bas module requires the GetVersionInfo wrapper in the VerInfo.bas module (also included) which uses several API functions also provided by Version.dll, most importantly the GetFileVersionInfo function.
API DeclarationsSeveral declares to version.dll in modules
18k zip
No comments have been posted about InstallFile module Install files on end user's machine w/o copy older version over a new version.. Why not be the first to post a comment about InstallFile module Install files on end user's machine w/o copy older version over a new version..