Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Wine registry #247

Closed
KOLANICH opened this issue Feb 20, 2023 · 2 comments
Closed

Support Wine registry #247

KOLANICH opened this issue Feb 20, 2023 · 2 comments

Comments

@KOLANICH
Copy link

It turns out Wine registry format differs somehow from Windows one.

@mkorman90
Copy link
Owner

What do you mean Wine registry? Do you have a sample?

@KOLANICH
Copy link
Author

What do you mean Wine registry?

Wine is a compatibility layer allowing run some Windows apps in POSIX OSes. It has an own registry that is accessed using the same API as in Windows and is stored within Wine prefix (a dir Wine stores the files/dirs of a virtual Windows system, ~/.wine by default).

My use case is: I need to discover some files of some Windows software. I have a standalone library in Python capable reading them. In order to do it I look up where this software is installed from the registry. On Windows I use winreg from python standard library. On Linux (using linux native python binary, not the Windows one that is run in Wine) I am going to read the info from the registry in default Wine prefix.

Do you have a sample?

williballenthin has found one in williballenthin/python-registry#106 . It turns out the format is the textual one, so it may be out of scope of this and the other project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants