/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (4)

Posted by: anonymous_9363 16 years ago
Red Belt
0
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 16 years ago
Second Degree Blue Belt
0
Thanks VBSCAB - just under pressure to get the app out, which is why I was in a rush. The company policy where I work is just get it out...
Posted by: anonymous_9363 16 years ago
Red Belt
0
Then they deserve everything they get. Try education with a heavy implement. See, I wouldn't put my name to a lash-up like that. Anyway, it really doesn't take long to run with ProcMon.
Posted by: AngelD 16 years ago
Red Belt
0
If that is what you want then use a Custom Action Type 50 (This custom action calls an executable launched with a command line) and ignore the return value by setting the msidbCustomActionTypeContinue attribute bit in the Type field of the CustomAction table.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ