Regedit

From Wine-Wiki

Jump to: navigation, search

Introduction

Wine follows the example of windows regedit by allowing you to edit the registry and use a gui. The Wine implementation of regedit can be run via the command line using either

wine regedit
regedit

Note: As wine registory information is stored in human readable files, the Wine version of regedit apparently cannot be used on native Windows.

Current Status

  • [Nov 05] 'Find' has been implemented.


Troubleshooting Regedit

[Nov 05]I have a .reg file exported from Windows that contains the following entry:

"HelpLink"=hex(2):68,00,74,00,74,00,70,00,3a,00,2f,00,2f,00,77,00,77,00,77,00,\

 2e,00,6d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,00,74,00,2e,00,63,00,6f,\
 00,6d,00,2f,00,73,00,75,00,70,00,70,00,6f,00,72,00,74,00,00,00

When I run "regedit regfile.reg" this value is written into system.reg as follows: "HelpLink"=str(2):"h\0t\0t\0p\0:\0/\0/\0w\0w\0w\0.\0m\0i\0c\0r\0o\0s\0o\0f\0t\0. \0c\0o\0m\0/\0s\0u\0p\0p\0o\0r\0t\0\0"

Looking at this key with wine's regedit I just see an "h", ie. the first character, because the next one is treated as end of string.

F. Gouget: I believe one of the problems with Wine's regedit is that it does not deal correctly with Unicode .reg files. The symptoms you describe seem to confirm this. So it's probably regedit that needs fixing. wine archive

Personal tools