You are not logged in.

#1 06 Oct 2019 00:42

carlos
Member
From: Chile
Registered: 04 Nov 2008
Posts: 251
Website

Undocumented regsvr32

Hello working with Jason Hood in a project, he found a new option parameter for regsvr32:

/e not display the success execution of DllRegisterServer function

I look for documentation and only found /s parameter, but that supress all dialog message box.

/e only supress the success message box.

Tested successfully on windows 10.

Offline

#2 07 Oct 2019 00:10

Simon Sheppard
Admin
Registered: 27 Aug 2005
Posts: 1,130
Website

Re: Undocumented regsvr32

Nice find, I have added that to the page - thanks

Offline

#3 14 Feb 2020 11:47

Giacomo
Member
From: Italy
Registered: 20 Oct 2011
Posts: 42

Re: Undocumented regsvr32

Windows XP Service Pack 3 Italian here, Italian keyboard. If I try to type

REGSVR32 /Q

Windows opens a window and I can read

Unrecognized flag: /Q

I tested it and I will get this answer every time I use these letters as flags: QWTYOPADFGHJKLZXBNM. Flags /U /I /N and /S are indeed recognized and you can read it in the window that explains how to use REGSVR32

regsvr32 [/u] [/n] [/i[:cmdline]] [/s] dllname
	/u - Unregister server
	/i - Call DllInstall passing it an optional [cmdline]; when used with /u calls dll uninstall
	/n - do not call DllRegisterServer; this option must be used with /i
	/s – Silent; display no message boxes

as carlos noted, /E flag is a valid, undocumented parameter and if I try

REGSVR32 /E

I get an error message that is different from the previous error message I got with QWTYOPADFGHJKLZXBNM flags, the error is

No DLL name specified

I have found that /C flag give the same error as the /E flag, so I guess, but I don't know, that /C is a valid, undocumented flag too.
Maybe more interesting, the /V flag gives me this error

This command is valid when is opened a project personalized OLE control only

So, about the /V flag, I am pretty sure it is a valid, undocumented flag. Unless I am mistaken, I tested all non accented letters that I can find on my keyboard.
Please note that I am translating from Italian, so the wording may be different.

Last edited by Giacomo (14 Feb 2020 12:30)

Offline

#4 20 Feb 2020 04:55

carlos
Member
From: Chile
Registered: 04 Nov 2008
Posts: 251
Website

Re: Undocumented regsvr32

Hello Giacomo.
I asked to Jason about the parameters you mentioned.
He says me:

/C is explicitly ignored;
/V just changes the message when no DLL is provided;
all other options (apart from /E) are documented.
That's on 7, presumably later systems will be the same and earlier systems might have used /C for something that no longer applies (hm, 5.0.2195.6717 ignores it, too, so maybe not).

Offline

#5 21 Feb 2020 00:13

Giacomo
Member
From: Italy
Registered: 20 Oct 2011
Posts: 42

Re: Undocumented regsvr32

Thank you carlos.

Offline

Board footer

Powered by