Need clarification about the need of InprocServer32 key value

James J 606 Reputation points
2022-07-08T00:16:01.22+00:00

We have 32 bit application, One of the COM dll is getting registered through Install shield script and we could see the below entries in windows registry.

HKCR\CLSID{MY-COM-GUID}\InprocServer32
(Default) ="C:\Application\View.dll"
InprocServer32="`&f!AW.+4FQUY=1&AEG,Application>A91nIY4.(Bs*ug^vzoGB"
ThreadingModel="Both"

My queston here is, What is the need of the below InprocServer32 key value. Because, What we ave observed that some time, application failed to launch due to the below InprocServer32 value. When we delete the below entry application is started working. I read one of the article it says the below entry is not required.

InprocServer32="`&f!AW.+4FQUY=1&AEG,Application>A91nIY4.(Bs*ug^vzoGB"

Can you please guide me the need of the value, If we completely remove do we face any issues?

Windows development Windows API - Win32
Windows for business Windows Server User experience Other
Developer technologies C++
Developer technologies Visual Studio Other
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 49,536 Reputation points
    2022-07-08T00:47:44.307+00:00

    What you are seeing seems to be what is called a "Darwin Descriptor". These are used by the installer to provide resiliency and facilitate repairs. See aa302344(v=msdn.10).

    With respect to COM registration it gives an example -- "When an application creates an instance of this component through normal COM mechanisms, Windows Installer "hooks" into the process in just the same way we saw it do with file associations. Notice in Figure 3 that this time a "Darwin Descriptor" is stored in the InprocServer32 registry value for our component's COM registration. Again, this information is decoded and used by Windows Installer to ensure that our component is properly installed and configured, performing any repairs as needed, before finally returning an instance of your component to the calling application."

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.