DIFxApp uninstall failure. What do the return values mean?

Discussion in 'Windows Vista Drivers' started by Kinglemur, Dec 11, 2006.

  1. Kinglemur

    Kinglemur Guest

    DIFxApp's documentation is pretty sparse, and one thing that is missing is
    the meaning of the return values of the various helper functions that run
    during a driver package install or uninstall.

    I bring this up because I've currently got a Windows Installer-based
    InstallShield package that, among other things, installs some USB device
    drivers. On some systems, it sometimes becomes impossible to uninstall, with
    attempted uninstalls failing and rolling back with the following messages in
    the log:

    DIFXAPP: ERROR 0x2 encountered while opening persistent-info key for
    component '{7781A504-C896-4D56-805A-D6C8268392E0}'
    DIFXAPP: UninstallDriverPackages failed with error 0x2
    DIFXAPP: RETURN: UninstallDriverPackages() 2 (0x2)
    Action ended 14:42:50: InstallFinalize. Return value 3.

    This occurs using the DIFxApp 2.1 DLLs from the WDK RTM.

    My question is, what does this error mean, or, failing that, what can I do
    to fix it? I can't find any documentation at all for the function
    UninstallDriverPackages that the error references.

    Thanks for any help.

    Kinglemur, Dec 11, 2006
    1. Advertisements

  2. Kinglemur

    Andurw Hsu Guest

    if DIFx doesn't return standard error code, u should check it in winerror.h
    Andurw Hsu, Dec 12, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.