Suppress Register dll error
I am packaging an add-on for AD. It’s from BPM Metastorm. All you have to do is add a folder to Program Files, then register eADUserAddin.dll.
Doing this manually as admin, you have an error when registering the .dll. “Failed to register – General access denied error†- but it still adds the extra tab to the AD property. The error still comes up when I use “/s†for silent. As this works, I just need a way to suppress the error.
If I register the dll in the MSI, the install fails due to the error message. The distribution tool we use does have “Omit error handling dialogs†but the error still comes up.
I was therefore thinking of getting the MSI to dump the folder, and then create an additional script to register the dll and ignore the error message. Does anyone know what code does this?
Many thanks,
Mike.
Doing this manually as admin, you have an error when registering the .dll. “Failed to register – General access denied error†- but it still adds the extra tab to the AD property. The error still comes up when I use “/s†for silent. As this works, I just need a way to suppress the error.
If I register the dll in the MSI, the install fails due to the error message. The distribution tool we use does have “Omit error handling dialogs†but the error still comes up.
I was therefore thinking of getting the MSI to dump the folder, and then create an additional script to register the dll and ignore the error message. Does anyone know what code does this?
Many thanks,
Mike.
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
anonymous_9363
17 years ago
Wny on earth suppress the error?!? Do the job properly and *find out* why the error is occuring: it really isn't hard if you use the right tools. In this case, guess what I'm going to recommend? Yup, our old friend, the-tool-you-cannot-do-this-job-without, ProcMon. My guess is that the app has a dependency on another DLL which you're not installing but ProcMon will show you that.
Posted by:
Meic
17 years ago
Posted by:
anonymous_9363
17 years ago
Posted by:
AngelD
17 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.