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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

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.
Answered 11/13/2007 by: VBScab
Red Belt

Please log in to comment
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...
Answered 11/13/2007 by: Meic
Second Degree Blue Belt

Please log in to comment
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.
Answered 11/13/2007 by: VBScab
Red Belt

Please log in to comment
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.
Answered 11/13/2007 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity