CallbackDisk

Create and manage virtual disk drives from your Windows applications

Uninstall function (Installer DLL)

Installer DLL     See also    

Overview

Uninstalls the driver and helper DLLs from the system

Declaration

    BOOL __stdcall UninstallA( const char* CabFileName, const char* ProductName, const char* InstalledPath, DWORD *RebootNeeded);
    BOOL __stdcall UninstallW( const unsigned short* CabFileName, const unsigned short* ProductName, const unsigned short* InstalledPath, DWORD *RebootNeeded);

Parameters

  • CabFileName - Path to .cab file, which was used to install the driver and helper DLLs.
  • ProductName - The ProductName string that identifies installation of the driver by your application
  • InstalledPath - Path to which the driver and helper DLLs were installed. Leave it empty to uninstall from Windows system folders.
  • RebootNeeded - On return this parameter specifies if system restart is necessary for deinstallation to be successful. Flags (described below) tell the application, which modules requested system restart.

Return values

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

Values of RebootNeeded

Description

Use this function to uninstall the driver and helper DLLs from the system. ProductName is used to distinguish between installations of the package made by different applications and to prevent the situation when the package is installed by two applications and further deinstallation of one of them removes the package.

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

Read more about installing and uninstalling the drivers.

See also

GetModuleStatus     Install

Back to top