Page 1 of 1

Run Program As and RegSvr32 display dialog

Posted: Tue May 26, 2009 3:23 am
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???

Posted: Tue May 26, 2009 4:38 am
by bokkie
Bruce,

Have you tried using regsvr32's /s command line parameter? That suppresses runtime message boxes.

Posted: Tue May 26, 2009 5:28 pm
by BruceMcK
Thanks. That did the trick!