Re: VS.Net 2005: Uses regsvr32 with undocumented options and fails to register



"David F" <David-White@xxxxxxxxxxxxx> schrieb im Newsbeitrag
news:u9gTrxWhFHA.2916@xxxxxxxxxxxxxxxxxxxxxxx
> 1. Neither of the options /s & /c are documented as available options for
> regsvr32.exe
> See: "Explanation of Regsvr32 Usage and Error Messages"
> http://support.microsoft.com/default.aspx?scid=kb;en-us;249873

At least /s will be described if you try "regsvr32 /?". /c has been used to
redirect output to a console window, but that is not available in W2K and
XP. (s. http://support.microsoft.com/default.aspx?scid=kb;en-us;288373)

>
> 2. "errorlevel 1" is not even mentioned in the "Error Messages" in the
> above
> article.

"errorlevel 1" simply tests whether regscr32 returned anything different for
0 (actually greater than or equal to 1)

>
> 3. Except the above article, I could not find even a trace of the
> regsvr32.exe utility in any of several
> very relevant books I have.

Whatever books are relevant to you... Searching http://msdn.microsoft.com
will show you lots of references. Faster and cheaper than most books.

HTH
Heinz


.