From: James Britt Date: 2005-05-18T12:33:21+09:00 Subject: Re: ruby in WinXP as an automation tool Alexey Verkhovsky wrote: > James Britt wrote: > >> I believe win32ole is going to want to find the COM automation info in >> the registry, and you'll need to run >> >> regsvr32.exe AutoItX3.dll >> >> as part of the installation process. But the DLL can go wherever you >> like; the location is stored when it gets registered. > > > Sigh... as I feared. > How do I query/edit the registry from within Ruby? For what? If the goal is to register the DLL, just use, for example: # unreg puts `regsvr32 AutoItX3.dll /c /s /u` # reg puts `regsvr32 AutoItX3.dll /c /s ` http://www.ss64.com/nt/regsvr32.html James -- http://www.ruby-doc.org http://www.rubyxml.com http://catapult.rubyforge.org http://orbjson.rubyforge.org http://ooo4r.rubyforge.org http://www.jamesbritt.com