We had the exact same error for SBAdmCom.dll and it had nothing to do with multiple file groups. We were upgrading AutoDomain. This file is installed by the AutoDomain ISET.ini with file type parameters that make it a "Self-Registering Dll". It will not remove the file if you uncheck the file group. To compound the issue, when it fails to remove this file, it stops processing all other file update related tasks.
Then we tried rechecking the file group to just leave it for now and at least get rid of the error message, so the clients wouldn't see an error and flip out. No go. It received instruction to remove the file, has not yet done so, and will continue to attempt removal for the end of time. Manual removal of the file did not stop the error message.
In your file group for AutoDomain, right click SBAdmCom.dll and choose properties. Click the Advanced button on the left. In the File Type drop-down, change it to "Windows DLL".
It will now successfully sync and remove the file.
The resolution mentioned above, with manually adding the file to a group, also results in the file being labeled as a Windows DLL, which is why it works.
When importing a new version of AutoDomain, alter the ISET.ini to comment out the line containing "Type=00400044" and it will import the file as a Windows DLL.
I commented on this in another message, but it was "off-topic" and was never addressed. If anyone can give a better solution, or reason why that file is initially set as self registering, please do so. I've had no issue with the function of AutoDomain with this configuration.on 12/10/10 8:24:43 AM CST
it's self-registering because it's a com object and needs to be registered :-)
If you don't set it like this, then the script has to try and register the API itself, which may or may not work depending on what access rights the script gets run under.
Here's exactly what I see, both in production and dev environments...
First I uncheck the AutoDomain File group from my machine and sync. You can see it removes fine, because I have SBAdmCom.DLL set as a Windows DLL.
see remove pic
I then alter SBAdmCom.DLL to be a Self Registering DLL. Then I check the file group and sync my machine, getting errors.
see add pic
Then upon all future sync activities, I get the same error. Please note that in the future, adding ANY new file groups is messed up because it stops after this error.
I will note that building an install set with the file set as Self Registering DLL works just fine to install and regardless the setting, it appears to run fine for us.
In the final screenshot, I believe the Client Status operation is being shown to run under the SYSTEM user, so permissions aren't an issue. With this setup, how are we to ever upgrade AutoDomain?Message was edited by: TechSecurityNate on 12/10/10 2:36:54 PM CST