http://bugs.winehq.org/show_bug.cgi?id=19533
Summary: reg.exe missing most options Product: Wine Version: 1.1.26 Platform: PC OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: programs AssignedTo: wine-bugs@winehq.org ReportedBy: austinenglish@gmail.com
Windows: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /?
Wine: REG [ ADD | DELETE | QUERY ]
Missing: copy, save, restore, load, unload, compare, export, import
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #1 from Austin English austinenglish@gmail.com 2009-07-31 13:21:52 --- Added basic tests: http://code.google.com/p/winezeug/source/detail?r=602
http://bugs.winehq.org/show_bug.cgi?id=19533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dank@kegel.com Summary|reg.exe missing most |reg.exe missing most |options |options; breaks firefox | |build
--- Comment #2 from Dan Kegel dank@kegel.com 2010-01-03 17:36:25 --- In particular, the firefox build uses REG QUERY "foobar" /v blah See http://people.mozilla.com/~beltzner/guess-msvc-v2.bat
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #3 from Dan Kegel dank@kegel.com 2010-01-11 13:38:33 --- reg query is also needed by gyp http://gyp.googlecode.com/svn/trunk/pylib/gyp/MSVSVersion.py and yasm http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/yasm/patched-ya...
http://bugs.winehq.org/show_bug.cgi?id=19533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|reg.exe missing most |reg.exe missing most |options; breaks firefox |options; breaks firefox and |build |chromium builds
--- Comment #4 from Dan Kegel dank@kegel.com 2010-01-17 08:21:18 --- Also needed by gyp when run by chrome.
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #5 from Dan Kegel dank@kegel.com 2010-01-22 11:53:07 --- Chromium's build also executes the batch file http://src.chromium.org/viewvc/chrome/trunk/deps/third_party/cygwin/setup_mo... which contains the line reg add "%MOUNT_KEY%" /v "cygdrive flags" /t REG_DWORD /d 34 /f which fails with the messages
ADD - HKCU\Software\Cygnus Solutions\Cygwin\mounts v0 cygdrive flags 0 REG_DWORD 34 1 Unhandled Type 0x4 data 34 The operation completed successfully
(Despite the failure, it claims the operation was successful.) I'll attach a patch that gets past this problem.
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #6 from Dan Kegel dank@kegel.com 2010-01-22 11:57:10 --- Created an attachment (id=25833) --> (http://bugs.winehq.org/attachment.cgi?id=25833) Simple patch to handle setting DWORD data.
http://bugs.winehq.org/show_bug.cgi?id=19533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch, source
http://bugs.winehq.org/show_bug.cgi?id=19533
David Cournapeau cournape@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cournape@gmail.com
--- Comment #7 from David Cournapeau cournape@gmail.com 2010-06-21 11:38:43 --- I needed that too to run the vsvars32.bat script from VS 2008. I have started the query subcommand implementation:
- reg query KEY should work - reg query KEY /v VALUE should work for some cases (when VALUE is a REG_SZ, basically)
I have not tested it thoroughly, but It works on the vsvars32.bat to obtain the PSDK directory, and valgrind seems happy. The API is so horrible that there must be some cases which do not check their input/output.
http://github.com/cournape/wine/tree/_reg_query
http://bugs.winehq.org/show_bug.cgi?id=19533
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |22152
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #8 from Dan Kegel dank@kegel.com 2010-08-15 09:39:05 --- Also affects Pando-based installers (e.g. League of Legends p2p installer).
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #9 from Dan Kegel dank@kegel.com 2010-08-15 12:35:17 --- I've opened bug 24017 for just the reg query case.
http://bugs.winehq.org/show_bug.cgi?id=19533
Myk Taylor myk002@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |myk002@yahoo.com
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #10 from butraxz@gmail.com 2013-06-27 12:27:54 CDT --- This ticket has not been updated for over 900 days.
Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ?
http://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #11 from Austin English austinenglish@gmail.com 2013-06-27 12:40:58 CDT --- (In reply to comment #10)
This ticket has not been updated for over 900 days.
Is this still an issue in wine version 1.6-rc3 or higher or is this to be closed as abandoned ?
You can easily check this yourself. As you've been told before, please test bugs with downloads yourself instead of asking others to do so.
Yes, it's still an issue: austin@aw25 ~ $ wine reg /? The syntax of this command is:
REG [ ADD | DELETE | QUERY ] REG command /?
http://bugs.winehq.org/show_bug.cgi?id=19533
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net
--- Comment #12 from Anastasius Focht focht@gmx.net --- Hello folks,
I don't think this 'meta' bug is useful as of now. Please target _one_ operation which breaks apps/installers - not a full list what native reg.exe provides.
Regards
https://bugs.winehq.org/show_bug.cgi?id=19533
Qian Hong fracting@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=19533
Hans Henrik hanshenrik123@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hanshenrik123@hotmail.com
--- Comment #13 from Hans Henrik hanshenrik123@hotmail.com --- @Anastasius Focht That is a pile of bull****, as long as there is ANY option supported by windows reg.exe not supported by wine's reg.exe , any program depending on that option, will fail. this list of missing options is very useful, and each missing option is a bug.
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #14 from Nikolay Sivov bunglehead@gmail.com --- (In reply to Hans Henrik from comment #13)
@Anastasius Focht That is a pile of bull****,
A deep breath should help.
as long as there is ANY option supported by windows reg.exe not supported by wine's reg.exe , any program depending on that option, will fail. this list of missing options is very useful, and each missing option is a bug.
Exactly, each missing option needs its own bug report, you said it yourself.
https://bugs.winehq.org/show_bug.cgi?id=19533
rebe@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rebe@gmx.net
--- Comment #15 from rebe@gmx.net --- (In reply to Austin English from comment #1)
Added basic tests: http://code.google.com/p/winezeug/source/detail?r=602
Note that code.google.com will shut down January 2016. Could you move the repo and provide an updated link?
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #16 from Dan Kegel dank@kegel.com --- https://github.com/dankegel/winezeug/blob/master/appinstall/scripts/reg.ahk
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #17 from Austin English austinenglish@gmail.com --- (In reply to rebe from comment #15)
(In reply to Austin English from comment #1)
Added basic tests: http://code.google.com/p/winezeug/source/detail?r=602
Note that code.google.com will shut down January 2016. Could you move the repo and provide an updated link?
Also available at https://github.com/austin987/winezeug/blob/master/appinstall/scripts/reg.ahk
https://bugs.winehq.org/show_bug.cgi?id=19533
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man@post.com
--- Comment #18 from super_man@post.com --- wine reg /?
Usage: REG [operation] [parameters]
Supported operations: ADD | DELETE | QUERY
For help on a specific operation, type: REG [operation] /?
Missing most of the mentioned.
wine 1.9.12
https://bugs.winehq.org/show_bug.cgi?id=19533
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest@luukku.com
--- Comment #19 from winetest@luukku.com --- (In reply to super_man from comment #18)
wine reg /?
Usage: REG [operation] [parameters]
Supported operations: ADD | DELETE | QUERY
For help on a specific operation, type: REG [operation] /?
Missing most of the mentioned.
wine 1.9.12
No change wine 2.8
https://bugs.winehq.org/show_bug.cgi?id=19533
Hugh McMaster hugh.mcmaster@outlook.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hugh.mcmaster@outlook.com
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #20 from rebe@gmx.net --- In Wine 2.16 we get:
Supported operations: ADD | DELETE | IMPORT | QUERY
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #21 from rebe@gmx.net --- Same with 2.22
Concerning the strong words above maybe move the REG (missing) feature list to the wiki and close this issue.
Does it make sense to implement all the missing options as stubs?
https://bugs.winehq.org/show_bug.cgi?id=19533
Samyak Jain samyakjainbvs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |samyakjainbvs@gmail.com
--- Comment #22 from Samyak Jain samyakjainbvs@gmail.com --- (In reply to Austin English from comment #0)
Windows: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /?
Wine: REG [ ADD | DELETE | QUERY ]
Missing: copy, save, restore, load, unload, compare, export, import
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #23 from Austin English austinenglish@gmail.com --- (In reply to rebe from comment #21)
Same with 2.22
Concerning the strong words above maybe move the REG (missing) feature list to the wiki and close this issue.
No.
Does it make sense to implement all the missing options as stubs?
At a minimum. Arguably each should be its own bug, but they break real applications, so are valid bugs.(In reply to Austin English from comment #0)
Windows: REG QUERY /? REG ADD /? REG DELETE /? REG COPY /? REG SAVE /? REG RESTORE /? REG LOAD /? REG UNLOAD /? REG COMPARE /? REG EXPORT /? REG IMPORT /?
Wine: REG [ ADD | DELETE | QUERY ]
Missing: copy, save, restore, load, unload, compare, export, import
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #24 from Nikolay Sivov bunglehead@gmail.com --- Which options are actually used by mentioned build systems? If this bug is about fixing builds, then exactly that should be retested, and additional stubs won't matter.
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #25 from rebe@gmx.net --- $ wine --version wine-3.0-rc5
ADD | DELETE | IMPORT | EXPORT | QUERY
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #26 from rebe@gmx.net --- (In reply to Nikolay Sivov from comment #24)
Which options are actually used by mentioned build systems? If this bug is about fixing builds, then exactly that should be retested, and additional stubs won't matter.
The missing reg.exe options load/unload are tracked via #35829
https://bugs.winehq.org/show_bug.cgi?id=19533
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=35829
https://bugs.winehq.org/show_bug.cgi?id=19533
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=48000
https://bugs.winehq.org/show_bug.cgi?id=19533
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #27 from joaopa jeremielapuree@yahoo.fr --- Time to close this bug and open one bug per missing option? wine reg /? Usage: REG [operation] [parameters]
Supported operations: ADD | DELETE | IMPORT | EXPORT | QUERY
For help on a specific operation, type: REG [operation] /?
https://bugs.winehq.org/show_bug.cgi?id=19533
Joerg Schiermeier mywine@schiermeier-it.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mywine@schiermeier-it.de
https://bugs.winehq.org/show_bug.cgi?id=19533
--- Comment #28 from Joerg Schiermeier mywine@schiermeier-it.de ---
Time to close this bug and open one bug per missing option?
Good idea. Without knowing this bug I startet with the parameter /f. See bug no #50873.
https://bugs.winehq.org/show_bug.cgi?id=19533
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Fixed by SHA1| |38954aedf591badb0e9c2ccecde | |e366f66a3ba93 Resolution|--- |FIXED Summary|reg.exe missing most |Multiple applications need |options; breaks firefox and |'reg.exe' to support |chromium builds |'export' operation Severity|minor |normal
--- Comment #29 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote ---
Time to close this bug and open one bug per missing option?
Good idea. Without knowing this bug I startet with the parameter /f. See bug no #50873. --- quote ---
I've already complained about this in 2014 (comment #12). Meta-bugs are not useful.
Using https://source.winehq.org/git/wine.git/commitdiff/38954aedf591badb0e9c2ccecd... ("reg: Add initial support for the export operation.") as resolution to make this bug still somewhat useful.
Part of Wine 3.0-rc1 release
Thanks Hugh
Regards
https://bugs.winehq.org/show_bug.cgi?id=19533
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #30 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.6.