I would like, but link in first post is empty (file not found)...Please test
[tool] reg2WBS
#51
Posted 23 March 2008 - 08:19 PM
#52
Posted 27 May 2008 - 08:34 PM
Super idea for new api can choose with Api Style Checkbox.
Thanks a lot this good software
@Nuno Brito
Can the reg2WBS.exe be added to the WinBuilder like part of Tools\convert ?
#53
Posted 31 May 2008 - 03:34 PM
Peter,If you already have all of the required functionality, it is the best, if reg2WBS disappears.
If reg2WBS can fulfill some tasks not covered yet by makeScript, it should remain and makeScript should use reg2WBS.
May I just say that your reg2WBS is one of the most important tools we have and you shouldn't even think of it disappearing! Only think of how to make the best even better! Like having the app open centered on the desktop! or adding version numbers to the header!
Seriously, for a long time I didn't use this great tool because their was a horrible bug that output HKCU keys as HKU and there was no way to tell from the application or even the file that it had been updated. Version 1.0.0.0 Just tried it again recently (out of desperation) and works beautifully! Thank you for this awesome tool and, please, keep developing and making even better!
#54
Posted 20 June 2008 - 01:55 PM
Input:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\UnlockerShellExtension]@="{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\UnlockerShellExtension]@="{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\UnlockerShellExtension]@="{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved]"{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"="UnlockerShellExtension"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}]@="UnlockerShellExtension"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}\InProcServer32]@="C:\\Program Files\\Unlocker\\UnlockerCOM.dll""ThreadingModel"="Apartment"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Unlocker.exe]@="C:\\Program Files\\Unlocker\\Unlocker.exe"Output, with "API Style" checked:
Hive_Load,HKCUreg_add,0x1,"%reg%\Classes\Folder\shellex\ContextMenuHandlers\UnlockerShellExtension",,"{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"reg_add,0x1,"%reg%\Classes\CLSID\UnlockerShellExtension",,"{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"reg_add,0x1,"%reg%\Classes\AllFilesystemObjects\shellex\ContextMenuHandlers\UnlockerShellExtension",,"{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}"reg_add,0x1,"%reg%\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved","{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}","UnlockerShellExtension"reg_add,0x1,"%reg%\Classes\CLSID\{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}",,"UnlockerShellExtension"reg_add,0x2,"%reg%\Classes\CLSID\{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}\InProcServer32",,"#$pProgramFiles#$p\Unlocker\UnlockerCOM.dll"reg_add,0x1,"%reg%\Classes\CLSID\{DDE4BEEB-DDE6-48fd-8EB5-035C09923F83}\InProcServer32","ThreadingModel","Apartment"reg_add,0x2,"%reg%\Microsoft\Windows\CurrentVersion\App Paths\Unlocker.exe",,"#$pProgramFiles#$p\Unlocker\Unlocker.exe"Hive_Unload,HKCUEr, HKCU is not the correct hive, HKU is.
HKCU -> HKCU
HKU -> HKLM\Software (who came up with that one!)
HKLM -> HKLM\System
#55
Posted 20 June 2008 - 02:20 PM
The new api also accepts more 'logical' names User, Default, Machine, System.I love Reg2WBS .. except it gets the hives wrong for the new API and I always have to look up the correct hive.
HKCU -> HKCU
HKU -> HKLM\Software (who came up with that one!)
HKLM -> HKLM\System
I'll change the app to use them.
Peter
BTW: Can you please break the long lines or use codebox to hold the topic readable?
#56
Posted 20 June 2008 - 03:13 PM
Will be looking forward to the new update! Thanks PeterThe new api also accepts more 'logical' names User, Default, Machine, System.
I'll change the app to use them.
Peter
BTW: Can you please break the long lines or use codebox to hold the topic readable?
#58
Posted 20 June 2008 - 10:19 PM
Pardon to intruding and stuff but i think he wants reg files in Scripts to get the correct path inside the compilation because Vistape can make program references in the registry to two diferent places "CD drive programs " and "Ram Drive program files" hence #$pCDDrive#$p\Programs and #$pProgramFiles#$p but %PE_Program% variable covers them. I think he wants some option to Change #$pProgramFiles#$p for PE_Program so we can have the same SCRIPT usable for BOTH Cases without having to "manualy" edit the script or have "two copies" of the same items.Just suggest you to add a checkbox for convert #$pProgramFiles#$p to %PE_Program%
Because in VistaPE :
%PE_Programs%=#$pCDDrive#$p\Programs
or %PE_Programs%=#$pProgramFiles#$p
so the application can run in the two mode (Normal and In Ram)
Sorry again if this was solved allready
#59
Posted 18 October 2008 - 01:08 PM
I fixed a bug reported here
The app crashed with a single root key like [HKEY_CLASSES_ROOT]
Reason: Reg2WBS could not decide to which WinBuilder Hive this key should be written.
Now an message about that is written at the end of the script.
Peter
#60
Posted 18 October 2008 - 06:22 PM
- Thank you Peter! I love this little gem of yours and I'm glad to see it further improved.Version 1.2.3 is available (Link in first post)
I fixed a bug reported here
The app crashed with a single root key like [HKEY_CLASSES_ROOT]
Reason: Reg2WBS could not decide to which WinBuilder Hive this key should be written.
Now an message about that is written at the end of the script.
Peter
#61
Posted 20 October 2008 - 05:22 PM
Sorry, sometimes I'm a bit slow.I think he wants some option to Change #$pProgramFiles#$p for PE_Program so we can have the same SCRIPT usable for BOTH Cases without having to "manualy" edit the script or have "two copies" of the same items.
I made a new version 1.2.4 wich covers that (link in first post).
Please test and report.
Peter
EDIT:
Maybe I revove the -P / %PE_Program% switch again.
API style REQUIRES that!
#62
Posted 20 October 2008 - 07:29 PM
Thought this was resolved (it is on the version I'm using), should be removed from post.Remarks:
reg2WBS does not resolve HKU entries.
Use HKCU instead.
#63
Posted 20 October 2008 - 08:04 PM
Sorry, small uc/lc issue (server is case sensitive!)Link on first post is bad (last few hours)
I fixed that
Peter
#64
Posted 20 October 2008 - 08:09 PM
#65
Posted 20 October 2008 - 08:20 PM
I think, output should be %PE_program% rather than #$pPE_program#$p
reg_add,0x2,"%reg%\ALWIL Software\Avast\4.0","Avast4DataFolder","%PE_Program%\Alwil Software\Avast4\DATA"
Peter
#66
Posted 20 October 2008 - 08:51 PM
I agree about the escapes but why isn't it %PE_Programs%I changed again to version 1.2.5
I think, output should be %PE_program% rather than #$pPE_program#$p
Peter
#67
Posted 20 October 2008 - 09:05 PM
I agree about the escapes but why isn't it %PE_Programs%
See post v#61!
Or is that a typo?
Peter
#68
Posted 20 October 2008 - 09:27 PM
I vote for typoSee post v#61!
Or is that a typo?
Peter
#69
Posted 21 October 2008 - 09:08 AM
Version 1.2.6 ready for download!I agree about the escapes but why isn't it %PE_Programs%
Peter
#70
Posted 21 October 2008 - 12:33 PM
"%SystemRoot%\Media\Schemes\Glass\Windows Ding.wav" does not get converted to "#$pSystemRoot#$p\Media\Schemes\Glass\Windows Ding.wav"
Also noticed that long hex(7) values that contain embedded 0A ( newline values ) get totally ignored i.e. the value gets deleted. However there is probably no way that this can be converted as there is no escape character for a newline character in a string.
#71
Posted 21 October 2008 - 12:53 PM
THanks!"ipc://ACE.IPC.2564/Communications" gets converted to "ip#$pSystemDrive#$p//ACE.IPC.2564/Communications"
"%SystemRoot%\Media\Schemes\Glass\Windows Ding.wav" does not get converted to "#$pSystemRoot#$p\Media\Schemes\Glass\Windows Ding.wav"
Also noticed that long hex(7) values that contain embedded 0A ( newline values ) get totally ignored i.e. the value gets deleted. However there is probably no way that this can be converted as there is no escape character for a newline character in a string.
Strange (and rarely occurring) issues, but reality!
I'l try to find fixes.
For the hex(0a), i cannot understand. Should work.
Can you post a line that fails?
Peter
#72
Posted 21 October 2008 - 01:14 PM
Input
Result (line braks mnanually by me for readability)Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Control Panel\Appearance\Schemes]
"Windows-Standard"=hex:02,00,00,00,f4,01,00,00,01,00,00,00,10,00,00,00,10,00,\
00,00,12,00,00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
00,bc,02,00,00,00,00,00,00,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,0c,00,00,00,0c,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
00,bc,02,00,00,00,00,00,00,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,12,00,00,00,12,00,00,00,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,\
00,90,01,00,00,00,00,00,00,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,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,\
00,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,f5,ff,ff,ff,00,00,\
00,00,00,00,00,00,00,00,00,00,90,01,00,00,00,00,00,00,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,f5,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,\
00,00,90,01,00,00,00,00,00,00,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,d4,d0,c8,00,3a,6e,a5,00,0a,24,6a,00,80,80,80,00,d4,d0,c8,00,ff,ff,\
ff,00,00,00,00,00,00,00,00,00,00,00,00,00,ff,ff,ff,00,d4,d0,c8,00,d4,d0,c8,\
00,80,80,80,00,0a,24,6a,00,ff,ff,ff,00,d4,d0,c8,00,80,80,80,00,80,80,80,00,\
00,00,00,00,d4,d0,c8,00,ff,ff,ff,00,40,40,40,00,d4,d0,c8,00,00,00,00,00,ff,\
ff,e1,00,b5,b5,b5,00,00,00,80,00,a6,ca,f0,00,c0,c0,c0,00
Hive_Load,Default
reg_add,0x3,"%reg%\Control Panel\Appearance\Schemes","Windows-Standard","02","00","00","00","f4","01","00","00","01",
"00","00","00","10","00","00","00","10","00","00","00","12","00","00","00","12","00","00","00","f5","ff","ff","ff",
"00","00","00","00","00","00","00","00","00","00","00","00","bc","02","00","00","00","00","00","00","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","0c","00","00","00",
"0c","00","00","00","f5","ff","ff","ff","00","00","00","00","00","00","00","00","00","00","00","00","bc","02","00",
"00","00","00","00","00","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","12","00","00","00","12","00","00","00","f5","ff","ff","ff","00","00","00","00","00","00","00",
"00","00","00","00","00","90","01","00","00","00","00","00","00","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","f5","ff","ff","ff","00","00","00","00","00","00","00",
"00","00","00","00","00","90","01","00","00","00","00","00","00","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","f5","ff","ff","ff","00","00","00","00","00","00","00",
"00","00","00","00","00","90","01","00","00","00","00","00","00","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","f5","ff","ff","ff","00","00","00","00","00","00","00",
"00","00","00","00","00","90","01","00","00","00","00","00","00","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","d4","d0","c8","00","3a","6e","a5","00","0a","24","6a",
"00","80","80","80","00","d4","d0","c8","00","ff","ff","ff","00","00","00","00","00","00","00","00","00","00","00",
"00","00","ff","ff","ff","00","d4","d0","c8","00","d4","d0","c8","00","80","80","80","00","0a","24","6a","00","ff",
"ff","ff","00","d4","d0","c8","00","80","80","80","00","80","80","80","00","00","00","00","00","d4","d0","c8","00",
"ff","ff","ff","00","40","40","40","00","d4","d0","c8","00","00","00","00","00","ff","ff","e1","00","b5","b5","b5",
"00","00","00","80","00","a6","ca","f0","00","c0","c0","c0","00"
Hive_Unload,Default
Unfortunatelly in my system I did not find a line break in a 0x7 (multiple strings) entry.
Peter
#73
Posted 21 October 2008 - 02:03 PM
Both fixed"ipc://ACE.IPC.2564/Communications" gets converted to "ip#$pSystemDrive#$p//ACE.IPC.2564/Communications"
"%SystemRoot%\Media\Schemes\Glass\Windows Ding.wav" does not get converted to "#$pSystemRoot#$p\Media\Schemes\Glass\Windows Ding.wav"
Version 1.2.7
Peter
#74
Posted 22 October 2008 - 03:00 AM
#75
Posted 22 October 2008 - 09:24 AM
Here is a reg file that does not convert correctly:
http://www.paraglide...temp/bridge.zip
Fixed!
Version 1.2.8
There has been an string lenght limit of 32768 bytes for one reg entry.
But your sample has a length of more than 1.2 MByte.
Inspite I have doubts:
The WB syntax for this type of registry key is:
RegWrite,HKLM,0x7,Section,Key(MultiString),value1,value2,...
It is not very probable that Winbuilder processes a value with a line break inside.
For this situation i think it will be the best
I agree and accept that this special 1 of 10.000 registry lines cannot be brought into a WinBuilder PE using the 'standard' way. I'll do a reg import
Peter
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users