[Tool] Reg2Inf converter v0.46

Discuss & post Update Pack addons here.
User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Tue May 15, 2007 10:16 pm

Problem converting .REG file

Code: Select all

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Clients\Mail]

[-HKEY_CURRENT_USER\Software\Clients\StartMenuInternet]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail]
@=”Outlook Express”

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Outlook Express]
@=”Outlook Express”

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Outlook Express\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Outlook Express\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Outlook Express\shell\open\command]
@=”%ProgramFiles%\\Outlook Express\\msimn.exe”

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon]
@=”%ProgramFiles%\\Internet Explorer\\iexplore.exe,0"

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open]

[HKEY_LOCAL_MACHINE\SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open\command]
@=”%ProgramFiles%\\Internet Explorer\\iexplore.exe,0"
This is what I get

Code: Select all

[REGEntries.AddReg]
; Reg2Inf v0.40 - http://tinyurl.com/fgqyf
; Failed (No pattern matched): (""=”Outlook Express”)
; Failed (No pattern matched): (""=”Outlook Express”)
HKLM,"SOFTWARE\Clients\Mail\Outlook Express\shell",,0x10
HKLM,"SOFTWARE\Clients\Mail\Outlook Express\shell\open",,0x10
; Failed (No pattern matched): (""=”%ProgramFiles%\\Outlook Express\\msimn.exe”)
; Failed (No pattern matched): (""=”%ProgramFiles%\\Internet Explorer\\iexplore.exe,0)
HKLM,"SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell",,0x10
HKLM,"SOFTWARE\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open",,0x10
; Failed (No pattern matched): (""=”%ProgramFiles%\\Internet Explorer\\iexplore.exe,0)
[REGEntries.DelReg]
; Reg2Inf v0.40 - http://tinyurl.com/fgqyf
HKCU,"Software\Clients\Mail"
HKCU,"Software\Clients\StartMenuInternet"

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Wed May 16, 2007 6:21 am

The quotes used in this snippet are not standard quotes (like this: "), instead they are angled quotes: ” which is hex 0x809d and is different from normal quotes.

These are not standard quotes and normal windows regedit should refuse them too (but I haven't tried). Reg2Inf does not support all these strange quotes: angled quotes, curly quotes, smart quotes. Only normal quotes like when you export from regedit.

I am guessing that whoever posted this was using the Firefox greasemonkey extension and the userscript that converts quotes to smart quotes automatically when performing a form submit action on a text inputs.

Replace all quotes with " and it works perfectly.
Last edited by n7Epsilon on Wed May 16, 2007 6:39 am, edited 1 time in total.

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Wed May 16, 2007 6:28 am

LOL good eye!!!

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Sun Jul 15, 2007 3:08 am

Found a small bug n7:
Browse and export the following from the registry

Code: Select all

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2
You get something like this

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2]
"%SystemRoot%\\system32\\Firewall.cpl"="3,10"
"%SystemRoot%\\system32\\wscui.cpl"=dword:ffffffff
"%SystemRoot%\\system32\\NetSetup.cpl"=dword:00000003
"%SystemRoot%\\System32\\wuaucpl.cpl"=dword:0000000a
"%SystemRoot%\\system32\\appwiz.cpl"=dword:00000008
"%SystemRoot%\\system32\\access.cpl"=dword:00000007
"%SystemRoot%\\system32\\bthprops.cpl"="2,3"
"%SystemRoot%\\system32\\desk.cpl"=dword:00000001
"%SystemRoot%\\system32\\hdwwiz.cpl"=dword:ffffffff
"%SystemRoot%\\system32\\inetcpl.cpl"="3,10"
"%SystemRoot%\\system32\\intl.cpl"=dword:00000006
"%SystemRoot%\\system32\\irprops.cpl"=dword:00000002
"%SystemRoot%\\system32\\joy.cpl"=dword:00000002
"%SystemRoot%\\system32\\main.cpl"=dword:00000002
"%SystemRoot%\\system32\\mmsys.cpl"=dword:00000004
"%SystemRoot%\\system32\\ncpa.cpl"=dword:00000003
"%SystemRoot%\\system32\\nwc.cpl"=dword:00000000
"%SystemRoot%\\system32\\nusrmgr.cpl"=dword:00000009
"%SystemRoot%\\system32\\odbccp32.cpl"=dword:00000000
"%SystemRoot%\\system32\\powercfg.cpl"=dword:00000005
"%SystemRoot%\\system32\\sticpl.cpl"=dword:00000002
"%SystemRoot%\\system32\\sysdm.cpl"="5"
"%SystemRoot%\\system32\\telephon.cpl"=dword:00000002
"%SystemRoot%\\system32\\timedate.cpl"=dword:00000006
Now converted to INF it looks like this. Notice the two slashes remain and no double quoted SystemRoot (exept for the very first line and a couple others in between)
; Reg2Inf v0.40 - http://tinyurl.com/fgqyf
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%%SystemRoot%%\system32\Firewall.cpl",0,"3,10"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\wscui.cpl",0x10001,ff,ff,ff,ff
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\NetSetup.cpl",0x10001,03,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\System32\\wuaucpl.cpl",0x10001,0a,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\appwiz.cpl",0x10001,08,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\access.cpl",0x10001,07,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%%SystemRoot%%\system32\bthprops.cpl",0,"2,3"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\desk.cpl",0x10001,01,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\hdwwiz.cpl",0x10001,ff,ff,ff,ff
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%%SystemRoot%%\system32\inetcpl.cpl",0,"3,10"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\intl.cpl",0x10001,06,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\irprops.cpl",0x10001,02,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\joy.cpl",0x10001,02,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\main.cpl",0x10001,02,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\mmsys.cpl",0x10001,04,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\ncpa.cpl",0x10001,03,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\nwc.cpl",0x10001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\nusrmgr.cpl",0x10001,09,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\odbccp32.cpl",0x10001,00,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\powercfg.cpl",0x10001,05,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\sticpl.cpl",0x10001,02,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%%SystemRoot%%\system32\sysdm.cpl",0,"5"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\telephon.cpl",0x10001,02,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\timedate.cpl",0x10001,06,00,00,00
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2","%SystemRoot%\\system32\\Cttune.cpl",0x10001,01,00,00,00
I think its REG_DWORD causing it

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Sun Jul 15, 2007 11:15 am

This bug has been fixed and version 0.42 has been released :-). Thanks for reporting.

User avatar
runningfool87
Posts: 324
Joined: Wed Apr 18, 2007 2:43 pm

Post by runningfool87 » Tue Jul 17, 2007 6:15 am

thanks for this :)

User avatar
just_laze
Posts: 179
Joined: Tue Mar 21, 2006 12:01 pm
Location: United Kingdom

Post by just_laze » Tue Aug 07, 2007 3:27 pm

Hey,

What a fantastic little application.

I get a couple of errors when converting my registry tweaks:

Code: Select all

; Failed (Invalid syntax): ([HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main] 
"AlwaysShowMenus"=dword:00000001)
; Failed (Invalid syntax): ([HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar\WebBrowser] 
"ITBar7Position"=dword:00000001)
Any ideas? Seems fine to me?

laze.

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Tue Aug 07, 2007 3:44 pm

Remove a couple of zeroes (total should be 6) from 000000001 and it will work (should be 000001)

User avatar
just_laze
Posts: 179
Joined: Tue Mar 21, 2006 12:01 pm
Location: United Kingdom

Post by just_laze » Tue Aug 07, 2007 4:49 pm

I'm sure that's not right...

I tried your suggestion anyway, same error(s).

laze.

User avatar
5eraph
Site Admin
Posts: 4621
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Tue Aug 07, 2007 5:26 pm

Leading spaces in front of keys will cause problems. For example, in the following code the first key will throw a syntax error like the ones you're getting while the second key will not:

Code: Select all

 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]
"Persistent"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Cache]
"Persistent"=dword:00000000
Removing the extra space fixes the problem.

User avatar
Firestorm
Posts: 16
Joined: Fri Nov 18, 2005 9:10 am

Post by Firestorm » Fri Aug 10, 2007 3:19 am

Excuse to me my English :???:

In this moment I use the reg2inf made in VB, now I would like to use it your, and I sought everywhere to know without being useful but anything, no explanatory help. With the other version I made a right click on the file reg and it etait converted into inf. But nothing. Please can give more explanation on the manner of being useful itself of your program

Thank you in advance

OZ
Posts: 38
Joined: Wed Mar 28, 2007 7:20 am
Location: Lithuania

Post by OZ » Mon Aug 27, 2007 6:25 am

sorry for post in the wrong place. i was in a hurry so i had no time to search for place.

User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

Post by Mrs Peel » Mon Aug 27, 2007 6:56 am

Hiya n7Epsilon, this has become one of my most essential and often used utilities since Xable put me onto it a few months ago. Great work you are doing here with this!

I have a small question for you, which is that I notice when I run reg2inf on reg files that have an "open" command in them which requires the code "%1" that reg3inf is generating that code as "%%1" and I am having to edit a bunch of double-%'s in my inf code.

Is this a bug or a feature? Or am I doing something wrong here?

Thanks for reading :)

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Mon Aug 27, 2007 6:59 am

That is intentional, the correct and least problematic way to express a % in INFs is double %% (to prevent the INF parser from reading ahead thinking it is encountering a variable). The Windows Inf parser would consider everything between 2 % as a variable unless it finds a space or no entry in Strings corresponding to the ambiguous variable...

So in simple situations, it may appear that it works using only a single %. But in complex values and scenarios using only a single % causes many problems.

If you reimport the Inf it should be merged correctly as a single %.

Try converting this one, and reimporting it and you will see it works.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\n7Epsilon]
@="%1"

[HKEY_CURRENT_USER\Software\n7Epsilon\open]
@="\"whatever.exe\" %1"

User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

Post by Mrs Peel » Mon Aug 27, 2007 7:18 am

Wow, thanks for such a speedy reply! So this is in fact a feature. Thanks for explaining that to me and I will test this out as you have suggested.

Another thing I have noticed is that when the reg contains a key which has a system variable in it such as %SystemDrive% then reg2inf is generating code for that as %%SystemDrive%%. Not knowing this was actually a feature (rather than a bug) it has me wondering now if this might be a solution to the question I have posted about in this thread?

Cheers m'dears!

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Fri Aug 31, 2007 7:54 pm

Released Reg2Inf 0.44

User avatar
Mrs Peel
The Dominatrix Recoded
Posts: 1344
Joined: Tue Jan 17, 2006 2:02 am
Location: Aotearoa
Contact:

Post by Mrs Peel » Fri Aug 31, 2007 8:37 pm

Thanks a bunch for the update Epsilon!!!

OZ
Posts: 38
Joined: Wed Mar 28, 2007 7:20 am
Location: Lithuania

Post by OZ » Sat Sep 01, 2007 6:13 am

thx for the fix

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Mon Sep 17, 2007 3:59 pm

Updated to version 0.45

Bug fix that rarely affected anyone (only affects subkeys with % or " in their name).
Enhancements to Reg2InfHandler.cmd (allows for renaming the file if overwriting instead of just exiting).

User avatar
KHALED
Posts: 6
Joined: Fri Sep 08, 2006 9:39 pm
Location: EGYPT
Contact:

Post by KHALED » Tue Oct 16, 2007 3:08 am

thanks allllllllllllllllllllllllllllloooooooooooooooooottttttt
KM

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Sun Nov 04, 2007 5:01 pm

I dunno if this is a bug or intended but Reg2Inf wont convert any empty keys
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\BomeRst.sfx]
@="Self Extracting File"

[HKEY_CLASSES_ROOT\BomeRst.sfx\DefaultIcon]
@="C:\\Program Files\\Restorator 2007\\Restorator.exe,1"

[HKEY_CLASSES_ROOT\BomeRst.sfx\shell]

[HKEY_CLASSES_ROOT\BomeRst.sfx\shell\open]

[HKEY_CLASSES_ROOT\BomeRst.sfx\shell\open\command]
@="\"C:\\Program Files\\Restorator 2007\\Restorator.exe\" \"%1\""

[HKEY_CLASSES_ROOT\BomeRst.sfx\shell\open\ddeexec]
@="%1"

[HKEY_CLASSES_ROOT\BomeRst.sfx\shell\open\ddeexec\application]
@="RstDDEServer"

[HKEY_CLASSES_ROOT\BomeRst.sfx\shell\open\ddeexec\topic]
@="OpenFile"

[HKEY_CLASSES_ROOT\BomeRst.sfx\shellex]

[HKEY_CLASSES_ROOT\BomeRst.sfx\shellex\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\BomeRst.sfx\shellex\ContextMenuHandlers\{762F86D0-B3EA-11d2-84D3-0080AD160D07}]
I need the RED ContextMenuHandler entries (at least the last line,) but this is what I get

Code: Select all

HKCR,"BomeRst.sfx",,0x0,"Self Extracting File"
HKCR,"BomeRst.sfx\DefaultIcon",,0x0,"%16422%\Restorator 2007\Restorator.exe,1"
HKCR,"BomeRst.sfx\shell\open\command",,0x0,"""%16422%\Restorator 2007\Restorator.exe"" ""%%1"""
HKCR,"BomeRst.sfx\shell\open\ddeexec",,0x0,"%%1"
HKCR,"BomeRst.sfx\shell\open\ddeexec\application",,0x0,"RstDDEServer"
HKCR,"BomeRst.sfx\shell\open\ddeexec\topic",,0x0,"OpenFile"
I think I know why you did this ;)

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Thu Nov 08, 2007 3:30 pm

I didn't do this intentionally.
This got broken when I was changing some regular expressions in older versions. Due to an extra carriage return in the expression it was not matching empty RegBlocks.

Now it is fixed and version 0.46 is released. If you find any more problems don't hesitate to report them.

User avatar
boooggy
Posts: 1297
Joined: Tue Aug 16, 2005 2:20 am
Location: Bucharest, Romania

Post by boooggy » Thu Nov 08, 2007 3:49 pm

great tool......

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Thu Nov 08, 2007 4:20 pm

Thanks m8 for all your awesome addon tools

User avatar
Kelsenellenelvian
Moderator
Posts: 4383
Joined: Tue Nov 30, 2004 8:32 pm
Location: Pocatello, ID
Contact:

Post by Kelsenellenelvian » Thu Nov 08, 2007 6:24 pm

Sweeeeeet!

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Mon Mar 10, 2008 7:54 am

hi n7

I really wanted to make something using reg2inf in combination that finally makes a new layout that includes a bit of some features when using a bunch of reg files

I managed to have the sections output to different outputs but the time it takes isn't worth the wait

now I'm requesting to know if its an easy do-able feature\switch to request

thanks

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Wed Mar 12, 2008 1:41 pm

I don't understand, can you show me an example so I can understand what you want better ?

In any case, I am currently working on a massive infrastructure update for all of my utilities (an update for my core parser that does away with all regular expressions and is much faster and has full support for inline and normal inf comments).

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Wed Mar 12, 2008 4:18 pm

i was looking for reg2inf to possibly output [addreg] & [delreg] separtly for each reg file conversion
(in the process of using many reg files)

with that, i could then write a final output placing all the [addreg] entries & then all [delreg] entries to follow
merging all entries from both sections into one logical inf fle

lets say "example.reg" file is using entries both in [addreg] & [delreg] sections:

in practice "example.reg"will need to output 2outputs separately for each section:
1. a.example.xx for [addreg]
2. d.example.xx for [delreg]

or maybe as a true parser using special switches for an advanced mod...
reg2inf /a =addregsection >( out)
reg2inf /d =delregsection >( out)

i was able to filter addreg from delreg and i was all for making this a plugin, if it wasn't for the sorting process (taking too long)...

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Wed Mar 12, 2008 4:32 pm

Do you know that reg2inf already supports merging multiple regs while converting and putting the result in 1 INF as you want ?

reg2inf @list.txt output.inf

where list.txt contains the paths to the reg files to convert.

example of list.txt:
myRegFile1.reg
myRegFile2.reg
And not only that, reg2inf will also merge them correctly in memory even if one of them is unicode (v5) and another is from win9x (v4).

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Wed Mar 12, 2008 5:03 pm

I was using the reg file in naming to make a comment just before the entries as Tokens for addressing the entries per file

keeping any comments inside the reg files as well (for both sections)

for example when processing:
Language Bar - Remove.reg
Lift MMC-GPEDIT Snap-In Restrictions.reg
Remove Added IE Toolbar Entries.reg

the outcome is this:

Code: Select all

; "Language Bar - Remove" 
HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoSaveSettings",0x00010001,00,00,00,00

; "Lift MMC-GPEDIT Snap-In Restrictions" 
HKCU,"Software\Policies\Microsoft\MMC",,0x00000010
HKCU,"Software\Policies\Microsoft\MMC","RestrictToPermittedSnapins",0x00010001,00,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\LocalUser\Software\Policies\Microsoft\MMC",,0x00000010

; "Remove Added IE Toolbar Entries" 
HKLM,"SOFTWARE\Microsoft\Internet Explorer\Toolbar","{8E718888-423F-11D2-876E-00A0C9082467}",0x00000001,00
with @list.txt it doesn't work that way

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Thu Mar 13, 2008 11:42 am

n7Epsilon wrote: And not only that, reg2inf will also merge them correctly in memory even if one of them is Unicode (v5) and another is from win9x (v4).
i think a stand alone tool that can check the converted entries like that can be useful
then it can be used on any inf file and it will be something that simply makes the corrections

it might as well keep the commented stuff as some if not most inf files got them .
maybe a parser that makes an alignment to anycomment with the entries below it
then make the final placements for all the entries and move them together with their belonging comments...

the idea is of a tool that can also correct any newly added entries to a done inf
Last edited by ENU_user on Thu Mar 13, 2008 12:09 pm, edited 1 time in total.

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Thu Mar 13, 2008 12:04 pm

That is exactly what I am busy working on at the moment and will become part of wmp11slipstreamer at first and then I will change all my utilities to use it.

OZ
Posts: 38
Joined: Wed Mar 28, 2007 7:20 am
Location: Lithuania

Post by OZ » Tue Jul 08, 2008 9:56 am

It doesnt convert reg files outputed by RegShot v2

This is reg file:

Code: Select all

Windows Registry Editor Version 5.00

; Report of the Regshot 2.0.1.63 unicode
;
; Shot A:
; Shot date: 2008.07.08 16:41:14, Computer: , User: Administrator,
; Shot type: , Shot time: 3.71 s
; Keys: 136376, Values: 259967, Folders: 0, Files: 0
; Deleted keys: 0, Deleted values: 0, Changed values: 1, Total changes: 1
;
; Shot B:
; Shot date: 2008.07.08 16:41:27, Computer: , User: Administrator,
; Shot type: , Shot time: 3.38 s
; Keys: 136376, Values: 259967, Folders: 0, Files: 0
; New keys: 0, New values: 0, Changed values: 1, Total changes: 1
;
; Comment: 
;


;
; Deleting new keys and values for shot B
;


;
; Restoring deleted and changed values for shot B
;

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar]
"{710EB7A1-45ED-11D0-924A-0020AFC7AC4D}"=hex:07,00,00,00,ee,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,ef,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,f3,\
  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,f6,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,f7,03,00,00,7e,69,79,1e,c5,9c,d1,11,a8,3f,00,c0,4f,\
  c9,9d,61,33,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,fb,03,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,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,02,04,00,00,a1,\
  b7,0e,71,ed,45,d0,11,92,4a,00,20,af,c7,ac,4d,19,70,00,00,04,00,00,00,03,04,\
  00,00,a1,b7,0e,71,ed,45,d0,11,92,4a,00,20,af,c7,ac,4d,1a,70,00,00,04,00,00,\
  00,01,04,00,00,a1,b7,0e,71,ed,45,d0,11,92,4a,00,20,af,c7,ac,4d,18,70,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,fd,03,00,00,a1,b7,0e,71,ed,45,d0,11,92,4a,00,20,af,c7,\
  ac,4d,1e,70,00,00,04,00,00,00,fc,03,00,00,a1,b7,0e,71,ed,45,d0,11,92,4a,00,\
  20,af,c7,ac,4d,1f,70,00,00,04,00,00,00
And this is what i get:

Code: Select all

[Version]
Signature="$Windows NT$"

[Optional Components]
MyRegTweaks

[DefaultInstall]
AddReg     =REGEntries.AddReg
DelReg     =REGEntries.DelReg

[MyRegTweaks]
OptionDesc ="Registry Entries"
Tip        ="Registry Entries"
Modes      =0,1,2,3
AddReg     =REGEntries.AddReg
DelReg     =REGEntries.DelReg

[REGEntries.AddReg]
; Reg2Inf v0.46 - http://tinyurl.com/fgqyf
[REGEntries.DelReg]
; Reg2Inf v0.46 - http://tinyurl.com/fgqyf

Removing comment lines after Windows Registry Editor Version 5.00 fixes the problem. By the way when converting with comments it shows:

** Converting "Report.2.Redo.reg" ...
; Reg2Inf: Conversion complete, no errors occurred.

User avatar
n7Epsilon
Moderator
Posts: 624
Joined: Thu Feb 17, 2005 1:37 am
Location: Cairo, Egypt

Post by n7Epsilon » Sat Jul 12, 2008 2:38 pm

This is due to a bug in the regular expressions that try to split the data after the signature.

In any case, I am porting Reg2Inf to my new toolkit that uses the new IniParser which handles comments completely correctly and also eliminates regular expressions (which will speed this app up by a great margin).

I will try to make a release as soon as I get some spare time.

TechnoHunter
Posts: 506
Joined: Sun Feb 26, 2006 4:13 am

Post by TechnoHunter » Sun Jul 13, 2008 2:20 am

thanks muchly!

User avatar
kal
Moderator
Posts: 292
Joined: Sun Nov 06, 2005 4:23 pm
Location: Paris/FRANCE

Post by kal » Wed Aug 06, 2008 9:55 am

I just discovered a little bug. Here is the INF file :
Windows Registry Editor Version 5.00

; Rapport du Regshot 2.0.1.63 unicode
;
; Capture A:
; date de Capture: 06/08/2008 15:05:23, Ordinateur: SWEET-BD660B119, Utilisateur: Administrateur,
; Type de capture: , Temps du cliché: 3.84 s
; Clés: 147084, Valeurs: 245124, Dossiers: 0, Fichiers: 0
; Clés effacées: 0, valeurs effacées: 0, valeurs modifiées: 8, Total des changements: 8
;
; Capture B:
; date de Capture: 06/08/2008 15:05:33, Ordinateur: SWEET-BD660B119, Utilisateur: Administrateur,
; Type de capture: , Temps du cliché: 3.70 s
; Clés: 147084, Valeurs: 245124, Dossiers: 0, Fichiers: 0
; Clés ajoutées: 0, Valeurs ajoutées: 0, valeurs modifiées: 8, Total des changements: 8
;
; Commentaire:
;


[HKEY_CURRENT_USER\Control Panel\Desktop]
"SCRNSAVE.EXE"="C:\\WINDOWS\\system32\\ssstars.scr"
"ConvertedWallpaper"="C:\\WINDOWS\\Web\\Wallpaper\\Vista Inspirat 2.jpg"
The result :
[Version]
Signature="$Windows NT$"

[Optional Components]
MyRegTweaks

[DefaultInstall]
AddReg =REGEntries.AddReg
DelReg =REGEntries.DelReg

[MyRegTweaks]
OptionDesc ="Registry Entries"
Tip ="Registry Entries"
Modes =0,1,2,3
AddReg =REGEntries.AddReg
DelReg =REGEntries.DelReg

[REGEntries.AddReg]
; Reg2Inf v0.46 - http://tinyurl.com/fgqyf
[REGEntries.DelReg]
; Reg2Inf v0.46 - http://tinyurl.com/fgqyf
; Reg2Inf: Conversion complete, no errors occurred.
If I remove the last ';', just after "; Commentaire:" line, then it works.

Cheers ;)


EDIT : oops, bug already reported just above! ;)

User avatar
ENU_user
Posts: 1253
Joined: Wed Jan 25, 2006 1:42 pm

Post by ENU_user » Wed Aug 06, 2008 10:41 am

the output is supposed to keep the comments in place whether its addreg or delreg
as n7Epsilon already hinted; he will have this in his update version ..

keeping the commented stuff is necessary because when using multiple reg files (by list) to convert.

its helpful to find the original comments drawn from the specific reg file....

User avatar
conan
Posts: 50
Joined: Tue Apr 03, 2007 4:12 pm

Post by conan » Wed Dec 17, 2008 4:43 pm

Hi,
I found that paths like:

Code: Select all

C:\Program Files (x86)\uTorrent
is "translated":

Code: Select all

%16422% (x86)\uTorrent
instead of:

Code: Select all

%16426%\uTorrent
and letter miu from a registry value is replaced by a small square (in Windows XP 32 bit, reg2inf doesn't come with this last error).

User avatar
5eraph
Site Admin
Posts: 4621
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Post by 5eraph » Sat Oct 17, 2009 6:02 pm

Thanks again, n7Epsilon. This utility is the only one I've used for years, and I use it often. :)

If you're still interested in fixing minor bugs, conan has a point. When used with the "/RepVars" switch, Reg2Inf incorrectly replaces the above, and does not replace some other common file locations for x64 OSes:
  • %16425% — C:\WINDOWS\SysWOW64
    %16426% — C:\Program Files (x86)
    %16427% — C:\Program Files\Common Files
    %16428% — C:\Program Files (x86)\Common Files

User avatar
Kiki Burgh
Posts: 206
Joined: Thu Apr 20, 2006 1:40 am
Location: Manila, Philippines

Post by Kiki Burgh » Tue Nov 24, 2009 11:59 pm

hi! where can i get v0.46 ver? dl link is broken. thanks!

---
sorry for the bother: found 1 here:
http://www.rapid4files.com/download.php ... f_0.46.zip
-KIKI-

aries215
Posts: 2
Joined: Sat Nov 28, 2009 4:51 pm

Post by aries215 » Sat Nov 28, 2009 5:11 pm

Hi!

I find an error:

Code: Select all

; Reg2Inf encountered 1 error(s):

 ; RegBlock split failed in:
 ; [HKCU\Software\RealNetworks\RealMediaSDK\6.0\Preferences\PluginHandlerData\PluginInfo1]
A part of this registry file is :

Code: Select all

[HKEY_CURRENT_USER\Software\RealNetworks\RealMediaSDK\6.0\Preferences\PluginHandlerData\PluginInfo1]
@="ght(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SSurface/Site Window Factory Plugin~PlgCopy~Shttp://www.real.com~PluginFilename~Svidsite.dll~PluginType~SPLUGIN_CLASS_FACT}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610608154~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SRealNetworks Local File System~FileProtocol~Sfile~FileShort~Spn-local~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Ssmplfsys.dll~PluginType~SPLUGIN_FILE_SYSTEM}{IndexNumber~N0~LoadMultiple~N0~Version~N1610649668~Copyright~S(c) 1995-2002 RealNetworks, Inc. All rights reserved.~Description~SRealNetworks Zip Container File System~FileProtocol~Szip~FileShort~Srn-zip~PlgCopy~Shttp://www.real.com~PluginFilename~Szipf3260.dll~PluginType~SPLUGIN_FILE_SYSTEM}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610608306~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SExternal Resource File Reader~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Sclntxres.dll}{IndexNumber~N0~LoadMultiple~N1~Version~N-1609564160~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SRealNetworks View Source Tag Replacement Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Svsrcplin.dll}{IndexNumber~N1~LoadMultiple~N1~Version~N-1609564160~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SRealNetworks View Source Allowance Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Svsrcplin.dll~PluginType~SPLUGIN_ALLOWANCE}{IndexNumber~N2~LoadMultiple~N1~Version~N-1609564018~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SRealNetworks View Source File System~FileProtocol~Svsrc~FileShort~Spn-vsrcfsys~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Svsrcplin.dll~PluginType~SPLUGIN_FILE_SYSTEM}{IndexNumber~N0~LoadMultiple~N0~Version~N-1609564018~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SRealNetworks Local View Source Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Svsrlocal.dll}{Bandwidth.000~N100~Bandwidth.001~N50~Bandwidth.002~N40~Bandwidth.003~N25~Bandwidth.004~N20~Bandwidth.005~N20~Bandwidth.006~N36~Bandwidth.007~N15~Bandwidth.008~N10~Bandwidth.009~N10~Bandwidth.010~N8~Bandwidth.011~N6~Bandwidth.012~N18~Bandwidth.013~N7~CodecCount~N14~IndexNumber~N0~LoadMultiple~N1~Priority.000~N100~Priority.001~N50~Priority.002~N40~Priority.003~N25~Priority.004~N21~Priority.005~N20~Priority.006~N19~Priority.007~N15~Priority.008~N11~Priority.009~N10~Priority.010~N9~Priority.011~N8~Priority.012~N7~Priority.013~N6~Renderer_Granularity~N100~Version~N-1610608309~Copyright~SCopyright(c) 1995-2005 RealNetworks, Inc. All rights reserved.

RealNetworks RealAudio 8 Audio Codec:
Copyright (c) 1995-2005 RealNetworks, Inc. All rights reserved.

ATRAC3
Copyright (c) 2000 Sony Corporation. All rights reserved.

aacPlus
aacPlus developed by Coding Technologies. All rights reserved.

DolbyNet(tm) audio system manufactured under license from Dolby Laboratories Licensing Corporation.
Copyright (c) 1996-1997, Dolby Laboratories Licensing Corporation. All rights reserved.

ACELP(r) is either registered trademark or trademark of VoiceAge Corporation in the United States and/or other countries and used under license from VoiceAge Corporation
The ACELP(r).net codec in this product is used under license from VoiceAge Corporation
Copyright (c) 1998,1999, 2000 VoiceAge Corporation.  All rights reserved.
~Description~SRealNetworks RealAudio Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Srarender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Saudio/x-pn-realaudio|audio/x-pn-multirate-realaudio|audio/x-pn-multirate-realaudio-live|audio/x-pn-realaudio-ivr|audio/x-pn-multirate-realaudio-ivr|audio/x-pn-multirate-realaudio-live-ivr~Codec.000~Bdnet~Codec.001~Bdnet~Codec.002~Bdnet~Codec.003~Bdnet~Codec.004~Bsipr~Codec.005~Bdnet~Codec.006~B28_8~Codec.007~Bdnet~Codec.008~Bsipr~Codec.009~Bdnet~Codec.010~Bsipr~Codec.011~Bsipr~Codec.012~BlpcJ~Codec.013~B05_6}{Bandwidth.000~N1930~Bandwidth.001~N144~Bandwidth.002~N70~Bandwidth.003~N43~Bandwidth.004~N36~Bandwidth.005~N24~Bandwidth.006~N18~CodecCount~N7~IndexNumber~N0~LoadMultiple~N1~Priority.000~N1930~Priority.001~N144~Priority.002~N70~Priority.003~N43~Priority.004~N36~Priority.005~N24~Priority.006~N18~Renderer_Granularity~N20~Version~N-1610608309~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SRealNetworks RealVideo Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Srvrender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Svideo/x-pn-realvideo|video/x-pn-multirate-realvideo|video/x-pn-realvideo-ivr|video/x-pn-multirate-realvideo-ivr~Codec.000~Bpnrv~Codec.001~Bpnrv~Codec.002~Bpnrv~Codec.003~Bpnrv~Codec.004~Bpnrv~Codec.005~Bpnrv~Codec.006~Bpnrv}{IndexNumber~N0~LoadMultiple~N1~Renderer_Granularity~N50~Version~N-1610608309~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005, All rights reserved. (http://www.real.com)~Description~SRealNetworks RealVideo Image Map Renderer Plugin~PlgCopy~Shttp://www.real.com~PluginFilename~Simaprender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Sapplication/x-pn-imagemap|image_map/x-pn-realvideo}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610608308~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005, All rights reserved. (http://www.real.com)~Description~SRealNetworks Macromedia Flash 4 File Format Plugin~FileExtensions~Sswf~FileMime~Sapplication/x-shockwave-flash~FileOpenNames~SMacromedia Flash (*.swf)~PlgCopy~Shttp://www.real.com~PluginFilename~Sswfformat.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Renderer_Granularity~N100~Version~N-1610608308~Copyright~SContains Macromedia(R) Flash Player technology by Macromedia, Inc.
Copyright (c) 1995-2000 Macromedia, Inc. All rights reserved.
Copyright (c) 1995-2004 RealNetworks, Inc. All rights reserved.~Description~SRealNetworks Renderer Plugin for Macromedia Flash 4~PlgCopy~Shttp://www.real.com~PluginFilename~Sswfrender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Sapplication/x-shockwave-flash|application/x-shockwave-flash2}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610608309~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SHelix RealText File Format Plugin~FileExtensions~Srtx|rt|txt~FileMime~Sapplication/vnd.rn-realtext|text/vnd.rn-realtext|application/x-pn-realtext|text/plain~FileOpenNames~SRealText File Format (*.rt)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Srtfformat.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N0~LoadMultiple~N1~Renderer_Granularity~N50~Version~N-1610608309~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SHelix RealText Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Srtrender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Sapplication/vnd.rn-realtext|application/x-pn-realtext|text/plain}{IndexNumber~N0~LoadMultiple~N1~Version~N-1610608154~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SHelix JPEG File Format Plugin~FileExtensions~Sjpg|jpeg|jpe|jfif~FileMime~Simage/jpeg~FileOpenNames~SJPEG Images (*.jpg)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N1~LoadMultiple~N1~Renderer_Granularity~N100~Version~N-1610608155~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SHelix JPEG Renderer Plugin~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll~PluginType~SPLUGIN_RENDERER~RendererMime~Sapplication/vnd.rn-jpegstream}{IndexNumber~N2~LoadMultiple~N1~Version~N-1610608154~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SHelix GIF File Format Plugin~FileExtensions~Sgif~FileMime~Simage/gif~FileOpenNames~SGIF File Format (*.gif)~PlgCopy~Shttp://www.helixcommunity.org~PluginFilename~Simgrender.dll~PluginType~SPLUGIN_FILE_FORMAT}{IndexNumber~N3~LoadMultiple~N1~Renderer_Granularity~N1000~Version~N-1610608154~Copyright~SCopyright(c) RealNetworks, Inc. 1995-2005. All rights reserved. Source code for this program is available under the RealNetworks Public Source License. (http://www.helixcommunity.org)~Description~SHelix GIF Renderer Plugin~PlgCopy~Sht"
Will you please fix the bug when you have spare time? Thanks!
Last edited by aries215 on Sat Nov 28, 2009 5:19 pm, edited 1 time in total.

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Sat Nov 28, 2009 5:17 pm

aries215 you may have to get somebody with the know how to do it manually, been awhile since its been updated

Edit: or you could use Regshot unicode (check INF option in preferences) to generate the INF code

aries215
Posts: 2
Joined: Sat Nov 28, 2009 4:51 pm

Post by aries215 » Sat Nov 28, 2009 5:45 pm

ricktendo64,
Thank you for react my question so soon !

semiono
Posts: 2
Joined: Tue Jan 26, 2010 10:11 pm

Post by semiono » Wed Jun 16, 2010 4:59 pm

n7Epsilon,
Why Microsoft Visual C# / Basic .NET ???
This dependency has problem for portable to use.
Good tool but probably to use with installers, scripts and other.
:'(

Asm/C++ ?

:'(

Anybody, whos know an alternative without dotnetfx, please?

nikanuka
Posts: 11
Joined: Wed Aug 05, 2009 8:17 am
Location: georgia

Post by nikanuka » Tue Jul 06, 2010 4:53 am

please convert it for me!
Windows Registry Editor Version 5.00

;SHOW ADMINISTRATOR AT LOGON
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
"Administrator"=dword:00000001

;BOLD DESKTOP ICONS
[HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics]
"IconFont"=hex:f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,00,\
00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

;Disable Thumbnail Cache
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"DisableThumbnailCache"=dword:00000001

;NO SHARED DOCUMENTS IN MY COMPUTER
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}]

;EDIT .NFO FILES WITH NOTEPAD
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithList]
"a"="NOTEPAD.EXE"
"MRUList"="a"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithProgids]
"nfo_auto_file"=hex(0):

;WORDWRAP IN NOTEPAD
[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"fWrap"=dword:00000001

User avatar
ricktendo64
Posts: 3213
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Tue Jul 06, 2010 5:22 am

Code: Select all

[Version]
Signature="$Windows NT$"

[Optional Components]
MyRegTweaks

[DefaultInstall]
AddReg     =REGEntries.AddReg
DelReg     =REGEntries.DelReg

[MyRegTweaks]
OptionDesc ="Registry Entries"
Tip        ="Registry Entries"
Modes      =0,1,2,3
AddReg     =REGEntries.AddReg
DelReg     =REGEntries.DelReg

[REGEntries.AddReg]
; Reg2Inf v0.46 - http://tinyurl.com/fgqyf
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList","Administrator",0x10001,01,00,00,00
HKCU,"Control Panel\Desktop\WindowMetrics","IconFont",0x1,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,bc,02,00,00,00,00,00,01,00,00,00,00,54,00,61,00,68,00,6f,00,6d,00,61,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced","DisableThumbnailCache",0x10001,01,00,00,00
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo",,0x10
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithList","a",0x0,"NOTEPAD.EXE"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithList","MRUList",0x0,"a"
HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.nfo\OpenWithProgids","nfo_auto_file",0x20001
HKCU,"Software\Microsoft\Notepad","fWrap",0x10001,01,00,00,00

[REGEntries.DelReg]
; Reg2Inf v0.46 - http://tinyurl.com/fgqyf
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}"

nikanuka
Posts: 11
Joined: Wed Aug 05, 2009 8:17 am
Location: georgia

Post by nikanuka » Tue Jul 06, 2010 8:15 am

ricktendo64
Thank You!

semiono
Posts: 2
Joined: Tue Jan 26, 2010 10:11 pm

Post by semiono » Thu Jul 22, 2010 9:18 pm

You would like never know about fasm and masm or hate Cpp without sharp?
Oh, my nervouses! I don't have .NET in my oldest windows 5.1
:'(


---
Please, update NET C# to 4 ? The four is better and little distro at 50mb size and quickly ;-
Back to top

User avatar
UtCollector
Posts: 464
Joined: Sun Apr 09, 2006 8:31 pm
Contact:

Re: [Tool] Reg2Inf converter v0.46

Post by UtCollector » Sun Mar 26, 2017 12:55 pm

This used to be the program to make a nice reg file for use with true addon. For XP. Is it still working for like Windows 7 and higher? What program would be best to use now for making a nice reg file?

Sorry for bumping a oldddd forum threat.. Sow much changed after 2010..

User avatar
5eraph
Site Admin
Posts: 4621
Joined: Tue Jul 05, 2005 9:38 pm
Location: Riverview, MI USA

Re: [Tool] Reg2Inf converter v0.46

Post by 5eraph » Sun Mar 26, 2017 1:39 pm

I still use this monthly for my addons. But I'm constantly on my XPx64 desktop, and I rarely use my Win7 laptop. YMMV.

Post Reply