Install function (Installer DLL)

Installer DLL     See also    


Installs the driver into the system


    BOOL __stdcall InstallA( const char* CabFileName, const char* ProductName, const char * PathToInstall, BOOL *RebootNeeded);
    BOOL __stdcall InstallW( const unsigned short* CabFileName, const unsigned short* ProductName, const wchar_t * PathToInstall, BOOL *RebootNeeded);


  • CabFileName - Path to .cab file, which was used to install the driver.
  • ProductName - the ProductName string that identifies installation of the driver by your application
  • PathToInstall - Path to which the driver should be installed. Leave it empty to install to Windows system folders.
  • RebootNeeded - On return this parameter specifies if system restart is necessary for deinstallation to be successful.

Return values

TRUE / true if the function succeeded or FALSE / false if the function failed.


Use this function to install the driver to the system. Once installed, the driver is loaded using user-mode API. ProgramName is used to distinguish between installations of the driver made by different applications and to prevent the situation when the driver is installed by two applications and further deinstallation of one of them removes the driver.

Read more about installing and uninstalling the drivers.

See also

GetDriverStatus     Uninstall