wrote:
> Hi,
>
> I need to programmetically register some Dlls and Ocx files using
> Regsvr32.exe. I am using Install Shield 7.0 for writing this program.
>
> I need to hide the message that usually comes but I also need to trap
> the return value to varify whether the registration actually was
> successful or not.
> Any ideas or suggesstion for that?
> It will be really helpful.
>
Hi,
The command line switch /s will hide the output.
Sadly Regsvr32.ex returns errorlevel 0 regardless of the success
state of the registration.
--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scr...r/default.mspx