Page 1 of 1

"Unable to load plug-in library" during an uninstall

Posted: Mon Jul 28, 2014 3:44 am
by tzachk
Hi Francesco,

We just got an error "Unable to load plug-in library..." at a customer when he tried to perform an uninstall.
I read on this error at the forum but I want to make sure I got it right.

If a user deletes the temp folder (C:\Users\user1\AppData\Local\Temp{GUID}) created during installation, then we shall get this error when he tries to uninstall?
Does the "Always Cache Setup Sources" option in the build menu has anything to do with this error? We have this option filled but not checked at our installer.

Regards,
T.

Re: "Unable to load plug-in library" during an uninstall

Posted: Mon Jul 28, 2014 10:37 am
by FrancescoT
Dear Tzachk,

No, that folder is just the location where the temporary setup files are stored and if it gets deleted, it is not a problem (BTW, its contents should be automatically deleted once the installation is terminated).

The setup cached files are stored as follow;

- Per User installation; C:\Users\<UserName>\AppData\Local\{PRODUCTID}
- Per Machine installation; C:\ProgramData\{PRODUCTID}

The error "Unable to load plug-in library..." means that the process is not able to load a plugin dll that should be located under one of the above folders.

The "Always Cache Setup Sources" has nothing to do with your error. The advantage of caching setup sources is that when a patch is being applied, or when setup is being re-run in maintenance mode without the original installation file or media, setup will never prompt for the original setup sources - patching, or repairing/adding new application features automatically.

This option has to be checked, to have setup sources always cached.

Regards

Re: "Unable to load plug-in library" during an uninstall

Posted: Sun Aug 03, 2014 12:50 am
by tzachk
Hi Francesco,

Thanks.
T.

Re: "Unable to load plug-in library" during an uninstall

Posted: Mon Aug 04, 2014 9:09 am
by FrancescoT
:D