CallbackProcess.Uninstall method


Pascal    C++ (Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

CallbackProcess     See also    


Uninstalls the driver from the system


    class procedure Uninstall( CabFileName : TCBString; ProductName : AnsiString; InstalledPath: string; var RebootNeeded : boolean);

[C++ (Lib)]
    static void Uninstall( const wchar_t * CabFileName, LPCSTR ProductName, LPCWSTR InstalledPath, LPBOOL RebootNeeded);

[C++ (VCL)]
    static void __fastcall Uninstall(__classid(TCallbackProcess), TCBString CabFileName, AnsiString ProductName, TCBString InstalledPath, bool &RebootNeeded);

[C++ (.NET)]
    static void Uninstall( String^ CabFileName, String^ ProductName, String^ InstalledPath, bool% RebootNeeded);

    static void Uninstall( string CabFileName, string ProductName, string InstalledPath, ref bool RebootNeeded)

    Shared Sub Uninstall( ByVal CabFileName As String, ByVal ProductName As String, ByVal InstalledPath As String, ByRef RebootNeeded As Boolean)


  • 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
  • InstalledPath - Path to which the driver was installed. Leave it empty to uninstall from Windows system folders.
  • RebootNeeded - On return this parameter specifies if system restart is necessary for driver deinstallation to be successful.


Use this method to uninstall the driver from the system. ProductName 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.

This method does not remove EldoS CallbackProcess. You need to use cbprocinst.dll installer DLL, shipped with CallbackProcess, to uninstall it. Alternatively, use UninstallEx method.

NOTE: you must NOT uninstall the driver, if you upgrade the installation. In other words, use Uninstall method only to completely remove CBFS Filter from the system.


See also

GetDriverStatus     Install     UninstallEx