UninstallIcon function (Installer DLL)

Installer DLL     See also    


Removes the ICO file from the icon list


    BOOL __stdcall UninstallIconA( const char* ProductName, const char * IconId, BOOL * RebootNeeded);
    BOOL __stdcall UninstallIconW( const unsigned short* ProductName, const unsigned short * IconId, BOOL * RebootNeeded);


  • ProductName - the ProductName string that identifies installation of the driver by your application
  • IconId - ID of the previously installed .ico file, which should be uninstalled.
  • RebootNeeded - On return indicates if the system needs to be restarted.

Return values

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


Use this function to remove previously installed icon (.ICO) file from the list of installed icons. After deinstallation the icon can't be used as a custom icon anymore.

See also