InstallHelperDll function (Installer DLL)
Overview
Installs the helper DLL into the system
Declaration
BOOL __stdcall InstallHelperDllA(
const char* LibraryPathName32,
const char* LibraryPathName64,
const char* ProductName,
BOOL *RebootNeeded);
BOOL __stdcall InstallHelperDllW(
const unsigned short* LibraryPathName32,
const unsigned short* LibraryPathName64,
const unsigned short* ProductName,
BOOL *RebootNeeded);
Parameters
- LibraryPathName32 - the fully qualified file name of the 32-bit version of the helper DLL for installing on 32-bit systems
- LibraryPathName64 - the fully qualified file name of the 64-bit version of the helper DLL for installing on 64-bit systems
- ProductName - the string that identifies installation of the helper DLL by your application
- RebootNeeded - On return this parameter specifies if system restart is necessary for helper DLL installation to be successful
Return values
TRUE / true if the function succeeded or FALSE / false if the function failed.
Description
Use this function to install the helper DLL to the system. Once installed, the driver is loaded and used by Windows Explorer automatically. ProductName is used to distinguish between installations of the helper DLL made by different applications and to prevent the situation when the helper DLL is installed by two applications and further deinstallation of one of them removes the helper DLL.
Read more about installing and uninstalling the helper DLLs.
Install the correct helper DLLs:
On 64-bit systems you must install 64-bit helper DLLs. 32-bit helper DLLs won't work there.
The installer DLL automatically determines if the system is 32-bit or 64-bit, but you need to have a 64-bit helper DLLs ready for installation.
