Run Program As and RegSvr32 display dialog

Got a problem you cannot solve? Try here.
Post Reply
BruceMcK
Posts: 14
Joined: Wed Jan 04, 2006 6:46 pm
Location: Sydney

Run Program As and RegSvr32 display dialog

Post by BruceMcK »

I'm using Run Program As and RegSvr32.exe to register a DLL that refuses to be registered by IA. So I use IA to copy the file onto the target PC, and after Apply Install, I call Run Program As to force RegSvr32.exe to register the DLL.

That works well. In fact I see a dialog that says "DllRegisterServer in c:\\blah\\blah.dll succeeded". And that's the problem. I don't want my end users to see that message.

I have set the Run Program As dialog to be Hidden and to Wait Until Program has Finished.

Any ideas anyone???
bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Post by bokkie »

Bruce,

Have you tried using regsvr32's /s command line parameter? That suppresses runtime message boxes.
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP
BruceMcK
Posts: 14
Joined: Wed Jan 04, 2006 6:46 pm
Location: Sydney

Post by BruceMcK »

Thanks. That did the trick!
Post Reply