RemoveRegistry Table in MSI

StewartBW 305 Reputation points
2024-04-13T15:38:43.4266667+00:00

Hello

In MSI project installer, I need to remove these 2 values from HKLM:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\FilesPaths]

"mso.dll"=-

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Office\14.0\Common\FilesPaths]

"mso.dll"=-

Here's my installer dialog:

Untitled

I have no idea what to enter for its 5 fields:

RemoveRegistry (s72) / Root / Key / Name / Component_

This table didn't help me though:

https://learn.microsoft.com/en-us/windows/win32/msi/removeregistry-table

:(

C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,276 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,578 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 40,571 Reputation points
    2024-04-13T22:48:53.6766667+00:00

    As a test I created registry keys/values as shown in the following image -

    Regpaths

    I don't know what software you are using, but I edited an MSI using Orca to place the following in the RemoveRegistry table -

    OrcaRemoveReg

    OrcaComponent

    After installing, the registry values looked like this

    RegpathsAfter

    As you can see, the mso.dll values have been deleted. By the way, the MSI was built as a 64-bit installer.

    0 comments No comments