Skip to content

InstallDLL & UninstallDLL - explanation and aliases #3

@mirkobrombin

Description

@mirkobrombin

To implement the DLL Manager we basically need to:

  • copy a DLL from an external location, to an internal one (usually system32/syswow64 but can also be other)
  • register a key (which should be now possible thanks to Implement RegistryManager #2)

In the Bottles Next scenario, the wofklow should be the following (writing it as much complete as possible):

  • server uses its components downloader to fetch the package
  • server uses its overlays manager to create the new layer, then place the DLLs files in the right path
  • server start WineBridge and ask to register those DLLs in the registry
  • WineBridge perform the changes in the registry
  • server ask to reboot
  • WineBridge emulate the reboot

I am keeping the collecting step (collecting changes in the overlay, plus the registry diff) on purpose, since out of context here.

--

So, what we need are 2 aliases functions:

  1. one that perform the registry key registration for the DLL
  2. one that perform the registry key removal for the DLL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions