PDA

View Full Version : Basic MSI uninstall fails in DIFxApp



kinglemur
12-11-2006, 06:47 PM
I have an installer that is failing and rolling back on uninstalls when trying to remove a driver package using DIFxApp 2.1. This only happens sometimes and only on some systems. The error messages in the log are:

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)

It's trying to uninstall drivers from the correct component, but failing. I've looked for the meaning of return values from UninstallDriverPackages, but like most of DIFx, it doesn't seem to be documented, with zero hits on the MSDN. Has anyone else encountered this one before and either figured out what it means or how to fix it?

David

JKleppinger
06-19-2007, 03:45 PM
I have a similar problem and error message, but it only happens for me on Vista when starting the uninstall as a non-admin user. I'm using IS 2008 with DIFx 2.1. Here's my error:

DIFXAPP: ERROR 0x2 encountered while opening install-info subkey for component '{28766338-A4A7-4862-85A8-765C5C8D50FA}'
MSI (s) (D4!14) [08:37:27:619]: Closing MSIHANDLE (187) of type 790531 for thread 2324
MSI (s) (D4!14) [08:37:27:619]: Creating MSIHANDLE (188) of type 790531 for thread 2324
DIFXAPP: UninstallDriverPackages failed with error 0x2
MSI (s) (D4!14) [08:37:27:619]: Closing MSIHANDLE (188) of type 790531 for thread 2324
MSI (s) (D4:64) [08:37:27:619]: Closing MSIHANDLE (178) of type 790536 for thread 2844
DIFXAPP: RETURN: UninstallDriverPackages() 2 (0x2)