Difficulty converting a file


Reg2Inf converter will help a user convert a .reg file into a .inf file that can be used in updatepacks/addonpacks and for other uses.

Difficulty converting a file

Postby OrcoXP » Sat Oct 28, 2006 9:38 pm

I have a reg file that I am unable to convert with this tool.

Here is the file:
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Software\Microsoft\Internet Explorer\Toolbar]
"{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}"=hex(03):07,00,00,00,f0,03,00,00,7e,\
  69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,20,01,00,00,04,00,00,00,f1,03,\
  00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,21,01,00,00,00,00,00,00,\
  f2,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,30,01,00,00,04,\
  00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,f5,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,\
  23,01,00,00,04,00,00,00,f6,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,\
  9d,61,33,01,00,00,05,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,31,70,00,00,a1,b7,0e,71,ed,45,d0,11,92,\
  4a,00,20,af,c7,ac,4d,31,70,00,00,04,00,00,00,09,04,00,00,7e,69,79,1e,c5,9c,\
  d1,11,a8,3f,00,c0,4f,c9,9d,61,31,01,00,00,04,00,00,00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}"=hex(03):07,00,00,00,f0,03,00,00,7e,\
  69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,20,01,00,00,04,00,00,00,f1,03,\
  00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,21,01,00,00,00,00,00,00,\
  f2,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,30,01,00,00,04,\
  00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,f5,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,9d,61,\
  23,01,00,00,04,00,00,00,f6,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,c9,\
  9d,61,33,01,00,00,05,00,00,00,ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,31,70,00,00,a1,b7,0e,71,ed,45,d0,11,92,\
  4a,00,20,af,c7,ac,4d,31,70,00,00,04,00,00,00,09,04,00,00,7e,69,79,1e,c5,9c,\
  d1,11,a8,3f,00,c0,4f,c9,9d,61,31,01,00,00,04,00,00,00


using the command:
Code: Select all
REG2INF Explorer23.reg /linesonly


I get this:
Code: Select all
-- AddReg --
; Reg2Inf v0.36 - http://tinyurl.com/fgqyf

-- DelReg --
; Reg2Inf v0.36 - http://tinyurl.com/fgqyf

; REG2INF: Conversion complete.


NOTE: I usually point the output into a file but when this did not originally work I tested it out without this option.

If I convert the same reg file with a BartPE reg file converter tool (found here) using the UI and the option to append the info to a INF file.
I get this:
Code: Select all
[Default.AddReg]
0x3, "Software\Microsoft\Internet Explorer\Toolbar","{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}",\
  07,00,00,00,F0,03,00,00,7E,\
  69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,20,01,00,00,04,00,00,00,F1,03,\
  00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,21,01,00,00,00,00,00,00,\
  F2,03,00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,30,01,00,00,04,\
  00,00,00,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,F5,03,00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,\
  23,01,00,00,04,00,00,00,F6,03,00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,\
  9D,61,33,01,00,00,05,00,00,00,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,31,70,00,00,A1,B7,0E,71,ED,45,D0,11,92,\
  4A,00,20,AF,C7,AC,4D,31,70,00,00,04,00,00,00,09,04,00,00,7E,69,79,1E,C5,9C,\
  D1,11,A8,3F,00,C0,4F,C9,9D,61,31,01,00,00,04,00,00,00
0x3, "Software\Microsoft\Internet Explorer\Toolbar","{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}",\
  07,00,00,00,F0,03,00,00,7E,\
  69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,20,01,00,00,04,00,00,00,F1,03,\
  00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,21,01,00,00,00,00,00,00,\
  F2,03,00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,30,01,00,00,04,\
  00,00,00,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,F5,03,00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,9D,61,\
  23,01,00,00,04,00,00,00,F6,03,00,00,7E,69,79,1E,C5,9C,D1,11,A8,3F,00,C0,4F,C9,\
  9D,61,33,01,00,00,05,00,00,00,FF,FF,FF,FF,00,00,00,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,31,70,00,00,A1,B7,0E,71,ED,45,D0,11,92,\
  4A,00,20,AF,C7,AC,4D,31,70,00,00,04,00,00,00,09,04,00,00,7E,69,79,1E,C5,9C,\
  D1,11,A8,3F,00,C0,4F,C9,9D,61,31,01,00,00,04,00,00,00


Maybe this is a bug...or maybe just a limitation.
OrcoXP
Junior Member

Posts: 29
Users Information
Joined: Mon Jul 03, 2006 4:03 am

Postby n7Epsilon » Sun Oct 29, 2006 9:44 am

The solution is extremely simple :D ....
Replace hex(03) with hex(3) and it will convert correctly.

Thanks for pointing this out, I will fix this small bug in the next version of Reg2Inf.

Using BartPE's reg2inf won't work as expected because it converts the REG file into a special INF format that only BartPE Builder can recognize when building the BartPE registry hives.
n7Epsilon
Member

Posts: 50
Users Information
Location: Cairo, Egypt
Joined: Sun May 21, 2006 11:41 pm

Postby OrcoXP » Sun Oct 29, 2006 1:41 pm

I tried your suggestion but it still didn't work.
OrcoXP
Junior Member

Posts: 29
Users Information
Joined: Mon Jul 03, 2006 4:03 am

Postby n7Epsilon » Sun Oct 29, 2006 2:09 pm

Try with the new version 0.37, just posted it a few minutes ago.
n7Epsilon
Member

Posts: 50
Users Information
Location: Cairo, Egypt
Joined: Sun May 21, 2006 11:41 pm

Postby OrcoXP » Sun Oct 29, 2006 2:23 pm

That did the trick thanks!
OrcoXP
Junior Member

Posts: 29
Users Information
Joined: Mon Jul 03, 2006 4:03 am

Postby MrNxDmX » Tue Dec 19, 2006 8:28 am

Hi n7Epsilon,
Same empty file error here:
Code: Select all
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones\Yakutsk Standard Time]
"Display"="(GMT+09:00) Yakutsk"
"Dlt"="Yakutsk Yaz Saati"
"Std"="Yakutsk Standart Saati"
"MapID"="18,19"
"Index"=dword:000000f0
"TZI"=hex:e4,fd,ff,ff,00,00,00,00,c4,ff,ff,ff,00,00,0a,00,00,00,05,00,03,00,00,\
  00,00,00,00,00,00,00,03,00,00,00,05,00,02,00,00,00,00,00,00,00
I have a very big reg file containing entries like this, but i get nothing. How can I overcome this?
Using turkish xp sp2, and converter 0,37.
MrNxDmX
Member

Posts: 64
Users Information
Joined: Mon Jul 10, 2006 3:04 pm

Postby n7Epsilon » Fri Dec 22, 2006 8:43 am

I tried exporting the whole key and converting it and it worked for me.

Could you please PM me or post a link to that reg file that shows this problem here so I could diagnose the problem further ?
n7Epsilon
Member

Posts: 50
Users Information
Location: Cairo, Egypt
Joined: Sun May 21, 2006 11:41 pm

Postby MrNxDmX » Sun Dec 24, 2006 3:10 pm

Thanks for your reply n7Epsilon. Here is the file that I tried to convert using reg2inf converter using send to menu. And the result is nothing. Its also included in rar file.

http://rapidshare.com/files/8834835/TimeZones.rar
MD5: AFD5EE8B29186F2C8DFF5DDC55623E8E

Can the language of xp i'm using be the problem?
MrNxDmX
Member

Posts: 64
Users Information
Joined: Mon Jul 10, 2006 3:04 pm

Postby MrNxDmX » Thu Dec 28, 2006 1:06 pm

Hi again n7Epsilon.
Today I have set up a vmware, for testing boooggy's wmp11 addon. it is an english xp. Then i remembered this situation, and copied reg2inf to vmware. Then tried to convert this file. First it didnt work.
I had changed language locales to turkish from english, after first try, i remade them english.
Then tried to convert again, and it worked.

I tried another big registry file in my turkish xp, but didnt convert it. Then tried in english vmware, it worked.

I am a bit confused. I have dotnet 2.0 installed on my system.

Anyway, i finally can convert them, and this post was just for your information
:wink:
MrNxDmX
Member

Posts: 64
Users Information
Joined: Mon Jul 10, 2006 3:04 pm

Postby n7Epsilon » Fri Dec 29, 2006 4:04 am

I am sorry for not replying, not enough time with finals and ISP troubles. I tried on my English XP and it converted fine.

I don't have Turkish XP...
Do you mean by changing the system locale changing the Regional Settings to Turkish ?

I don't have a VMware ready at the moment but I will investigate this as soon as possible. Thanks for the information.
n7Epsilon
Member

Posts: 50
Users Information
Location: Cairo, Egypt
Joined: Sun May 21, 2006 11:41 pm

Next

Return to Reg2Inf converter

Who is online

Users browsing this forum: No registered users and 2 guests