Need clarification about the need of InprocServer32 key value

James J 586 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?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,632 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,187 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,428 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,542 questions
0 comments No comments
{count} votes

Accepted answer
  1. RLWA32 40,756 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