VerInstallFile function version
Installs the specified file based on information returned from the VerFindFile function. VerInstallFile decompresses the file, if necessary, assigns a unique filename, and checks for errors, such as outdated files.
DWORD VerInstallFileW(
DWORD uFlags,
LPCWSTR szSrcFileName,
LPCWSTR szDestFileName,
LPCWSTR szSrcDir,
LPCWSTR szDestDir,
LPCWSTR szCurDir,
LPWSTR szTmpFile,
PUINT puTmpFileLen
);
Implementation
int VerInstallFile(
int uFlags,
Pointer<Utf16> szSrcFileName,
Pointer<Utf16> szDestFileName,
Pointer<Utf16> szSrcDir,
Pointer<Utf16> szDestDir,
Pointer<Utf16> szCurDir,
Pointer<Utf16> szTmpFile,
Pointer<Uint32> puTmpFileLen) =>
_VerInstallFile(uFlags, szSrcFileName, szDestFileName, szSrcDir, szDestDir,
szCurDir, szTmpFile, puTmpFileLen);