PDA

View Full Version : Difficulty converting a file



OrcoXP
10-28-2006, 10:38 PM
I have a reg file that I am unable to convert with this tool.

Here is the file:

Windows Registry Editor Version 5.00

[HKEY_USERS\.DEFAULT\Software\Microsoft\Interne t 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:

REG2INF Explorer23.reg /linesonly

I get this:

-- 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 (http://www.paraglidernc.com/12142.html)) using the UI and the option to append the info to a INF file.
I get this:

[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.

n7Epsilon
10-29-2006, 09: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.

OrcoXP
10-29-2006, 01:41 PM
I tried your suggestion but it still didn't work.

n7Epsilon
10-29-2006, 02:09 PM
Try with the new version 0.37, just posted it a few minutes ago.

OrcoXP
10-29-2006, 02:23 PM
That did the trick thanks!

MrNxDmX
12-19-2006, 08:28 AM
Hi n7Epsilon,
Same empty file error here:
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,00I 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.

n7Epsilon
12-22-2006, 08: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 ?

MrNxDmX
12-24-2006, 03: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
12-28-2006, 01: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:

n7Epsilon
12-29-2006, 04: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.

MrNxDmX
12-31-2006, 12:07 PM
No problems n7Epsilon. I have just wanted to inform you.
Yes, I mean changing system locale to turkish, in the Regional Settings.

Good Day

user_hidden
12-07-2010, 04:13 PM
im lost. maybe i missed some character here.

?????

jakeruston
06-09-2012, 07:13 PM
Are you still having problems with this? If so, let me know and I'll try to help.