Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Update > Output of Regsvr32.exe

Reply
Thread Tools Display Modes

Output of Regsvr32.exe

 
 
bkchandrani@gmail.com
Guest
Posts: n/a

 
      08-05-2005
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.

Regards,
Chandrani

 
Reply With Quote
 
 
 
 
Torgeir Bakken \(MVP\)
Guest
Posts: n/a

 
      08-05-2005
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
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
regsvr32 doggoneit1 cecil Windows Vista Mail 2 04-24-2008 07:11 PM
regsvr32 problem Marek Kolesar Windows Vista General Discussion 2 10-04-2007 10:37 PM
Unregister regsvr32 jnorrisjr Windows Vista Performance 1 05-30-2007 12:39 AM
regsvr32.exe replaced Duane Windows Update 1 07-24-2005 06:08 AM
regsvr32 msxml3.dll BACO Windows Update 0 09-06-2004 10:37 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59