Using AutoIt, i wrote a simple tool named ConvRegToAu3 for the conversion of reg-files in to the AutoIt-functions RegWrite and RegDelete.
Converter understands all types of parameters (known by AutoIt), supports the delete of branches and parameters (strings like [-branch] and "value"=-). Converter also replace absolute path by relative one (by default this feature is disabled - use /a1, /a2 command line switches or ReplAbsPaths parameter in crta.ini to enable it). For detailed information about configuration of replacement function see crta.ini.
Limitations:
A little slow work with large files (a 675Kb-regfile of branch HKLM\SYSTEM\CurrentControlSet\Services, chosen for a test, is processed almost 30 seconds on Athlon XP Thoroughbred-B 1500MHz). I do not consider this moment a problem, as a converter is intended not for conversion of registry, but for updating applications installation AutoIt-scripts with their settings from corresponding reg-files. Usually, reg-files with application settings have a small size (to one hundred kilobytes or little more), and such files are converted only a few seconds. Such nonlinear dependence is related to processing of arrays by AutoIt.
From version 2006-05-22 a little recoder (written on C++) from UTF-16 LE BOM, UTF-16 BE BOM, UTF-8 BOM to ANSI (WIN) encoding is built-in in crta (standard reg-file in the NT-like systems by default saved in the UTF-16 LE BOM).
Who needs such tool - Download it (scroll page down and press Download; file size is 142 Kb).
Site in Russian language, but you can download a converter and start it without parameters - a window will appear with a short description in English.
In addition, setup scripts of some applications are on this page.
Most scripts are intended for the Russian versions of the applications.
Comments inside scripts also in Russian language (CP Win-1251). If I will have spare time - will translate.
You may contact me via e-mail (in Russian, Ukrainian or English language)
P.S. Sorry for my bad English.
This post has been edited by Sanja Alone: 13 July 2006 - 03:49 PM



Help
Back to top










