http://bugs.winehq.org/show_bug.cgi?id=25678
Summary: 'Wine reg add' with longer hive name error Product: Wine Version: 1.3.10 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: silverkornxtrem@hotmail.com
when using reg.exe, by exemple,
wine reg add "HKEY_CURRENT_USER\Control Panel\Desktop" /v "FontSmoothing" /t "REG_SZ" /d "2"
there's an error "Erreur : nom de clé non valable" (French) or probably "Error : unavailable key name" (English)
if written with the shorter hive name, it works (HKCU instead of HKEY_CURRENT_USER).
The error seems also happening with HKEY_LOCAL_MACHINE (HKLM) and HKEY_USERS (HKU).