Topic: RegCPE (Reg Converter PE)  (Read 21458 times)

0 Members and 1 Guest are viewing this topic.

Re: RegCPE (Reg Converter PE)
« Reply #20 on: June 07, 2011, 05:44:18 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 815
Hi Bluelife,

tiny bug on line 652. Leading space cause "Binary" to fail and RegWrite will only write a string

Code: [Select]
$Return = "$WriteValue =' " & StringMid($Binary, $I, 100) & "'" & @CRLF

should be

Code: [Select]
$Return = "$WriteValue = '" & StringMid($Binary, $I, 100) & "'" & @CRLF

« Last Edit: June 08, 2011, 08:02:32 AM by JFX »

Re: RegCPE (Reg Converter PE)
« Reply #21 on: June 08, 2011, 09:25:10 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Big Thanks to you JFX, both from me and BlueLife    :thumbsup:

Feel full free to make further developments you like  :great:

Re: RegCPE (Reg Converter PE)
« Reply #22 on: June 10, 2011, 11:39:46 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 1911
Updated script is now on the Gena and Win7PE SE servers.

Regards,
Galapo.

Re: RegCPE (Reg Converter PE)
« Reply #23 on: July 13, 2011, 03:58:49 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
RegCPE update to v1.4.2

changes:
+ 1 tiny regnone support  :thumbsup:
+ not upxed to avoid false positives  :thumbsup:

 :cheers:

Re: RegCPE (Reg Converter PE)
« Reply #24 on: July 13, 2011, 11:23:25 PM »

Galapo

  • Gena Baker
  • Grand Chef
  • *****
  • Location: Australia
  • Date Registered: Sep 2010
  • Posts: 1911
Thanks for the update! :grin:

Regards,
Galapo.

Re: RegCPE (Reg Converter PE)
« Reply #25 on: June 04, 2012, 01:00:04 AM »

ordan

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 9
Hi,

 thank you for nice tool.

 Please can you add option:
- don't test version of winbuilder, almost every one use 8x version
- use api

Thank you again

Re: RegCPE (Reg Converter PE)
« Reply #26 on: June 04, 2012, 01:03:21 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Hi ordan,

can you be more clear, maybe with some examples ?
- don't test version of winbuilder, almost every one use 8x version
what do you mean ??


- use api
what do you mean ??

Re: RegCPE (Reg Converter PE)
« Reply #27 on: June 04, 2012, 01:18:04 AM »

ordan

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 9
Hi Lencelot,

 after I converted regfile i can see

Code: [Select]
If,%version%,Smaller,80,RegWrite,HKLM,0x1,Tmp_Software\Classes\Installer\Products\3839BABF4D5EBEF4599D52851A260905\SourceList\Media
Else,RegWrite,HKLM,0x0,Tmp_Software\Classes\Installer\Products\3839BABF4D5EBEF4599D52851A260905\SourceList\Media

I want disable this test because I use version 83 of winbuilder.

API means common API http://reboot.pro/2707/
reg2WBS support this.'

Thank you

Re: RegCPE (Reg Converter PE)
« Reply #28 on: June 04, 2012, 01:46:39 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Hi ordan,

reg2wbs is bugfull, I do not like to talk about that bug-full utility which still fixing its bugs ...  :grin:

api is developed here for some years (I guess 3 or more years I am one of developer) at http://theoven.org/index.php?board=14.0

You miss big picture:
After wb developers Nuno Bruto and Peter Schang (pscex) decide to sabotage active wb-projects with syntax changes,
to get one (their) project only active around (for popularity and commercial goals),
makes many projects unusable,
and trick worked causing many project authors end their projects,
there are only 3 valuable projects left (2 of them being developed at theoven),
Gena use WB77RC2
Win7PE SE use WB80RV3 (+WB82 with only using common WB80RV3)
Leopard use ... I guess 82

For that very reason, to keep bridge between projects, we obviously need to support versions,
yes it looks a bit messy, but it is full wb-developers fault (or goal),
besides it does not matter to end user,
since (s)he will only copy/paste codes of RegCPE  :thumbsup:

*
using api for registry is biiig trouble,
1) Main Reason, it slows down the build time,
wb is quite slow engine when using macros, and using macro to write registry was the very bad decision of former api developers.... As you can see on plugins of 3 projects, and on many plugins since 3 years, such usage %99 depracated  :thumbsup:
relevant lines on api is only to support verrry old plugins made following wrong advices and bad decisions of former developers.
ps: even wb-developers do not use that api usage anymore, they followed our organisations on theoven  :wink:
2) Secondary reason, which in fact not much important after first, Aside incompatibilities, wb have many bugs especially on writing registry via macro, multiplying with incompatibilies it is very messy to keep/convert a stable syntax...


***
Just keep in mind, RegCPE, many Macro Developments (api) and all other stuff we had done for some years are to get stability with bugfull wb,
With sustainable stability on main focus, today (at last) projects are running very smoothly,
Some friends say us "you make a bad engine look good" which is true  :lol:



I hope this gives you a better picture why things made as you see  :cheers:

Aside wide usage of RegCPE , with its sustainable stability no bug reported yet since a year,
still if you find something, let us know  :great:

Re: RegCPE (Reg Converter PE)
« Reply #29 on: June 04, 2012, 02:20:35 AM »

ordan

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 9
Thank you for explanation.

I am not active developer and I did not know about politic behind WB ;)

I agree with your opinion on WB. But I don't like WB script language as well ;o)

I am working with Leopard. It uses WB83 (Leopard v2 SP2).

I will test code from your tool.

Thank you again

PS: is it not time to rewrite WB?  :w00t: :wink:

Re: RegCPE (Reg Converter PE)
« Reply #30 on: June 04, 2012, 09:53:01 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
I am not active developer and I did not know about politic behind WB ;)
when $ involved, there is always politics, makes life harder to people (like us) who like to work on hobies  :showoff:

But I don't like WB script language as well ;o)
You are not the first who do not like  :wink:
Besides, it is a regular/usual comma based batch engine,  I remember popularity at times when delphi/pascal was being used widely by programmers, A better known example is AutoIt v2
http://www.autoitscript.com/site/autoit/autoit-v2/
AutoIt author Jonathan Bennett explains nicely why he changed syntax at AutoIt v3 here
http://www.autoitscript.com/autoit3/docs/faq.htm#1

I am working with Leopard. It uses WB83 (Leopard v2 SP2).
Yes Leopard is good :great:
Keep in mind to use the 83 version Max provides, there are lots of 83 around even breaking compatibilities between each (shooting own legs)....
Good luck to Max since I know he spends a great time struggling with new versions  :great:


I will test code from your tool.
Let us know how it goes  :thumbsup:

PS: is it not time to rewrite WB?  :w00t: :wink:
It is inevitable to rewrite engine, natural result of these incompetent wb-developers (Nuno Bruto and Peter Schang (pscex)),
another builder already published, another one will be published within some months, and one more in a year..

Great Time required for hoby works since hobies do not have big time    :cool:


See you :cheers:
« Last Edit: June 06, 2012, 01:28:37 AM by Lancelot »

Re: RegCPE (Reg Converter PE)
« Reply #31 on: June 05, 2012, 01:47:02 AM »

ordan

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 9
Hi Lencelot,

 I thing RegCPE has problem with attached registry.

 Please can you try it yourself?!

Thank you

Re: RegCPE (Reg Converter PE)
« Reply #32 on: June 05, 2012, 03:00:41 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Hi ordan,

do you use RegEdit or a 3rd party to export registry !!!!!

Suspect:
I see there is a problem with .reg file,
even doubleclicking on it (with loaded hives) do not get entries written to registry  :wink:

**
Sadly I do not have such entries on my windows (xp)
with entries I have on my windows, I exported them both with "REGEDIT4"  and "Windows Registry Editor Version 5.00" format,
http://www.mediafire.com/download.php?43kbwu9sbk3gu5k
both worked nicely with RegCPE

***
so my current main suspect is how you export that reg file  ?????????

Re: RegCPE (Reg Converter PE)
« Reply #33 on: June 05, 2012, 03:00:53 AM »

ChrisR

  • Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2809
Hi Ordan,

I thing RegCPE has problem with attached registry.

Your reg file is already converted.

In my Win7 host, I have a Shlash in addition for \"x86\"
 
[HKEY_LOCAL_MACHINE\WB-HIVE\Classes\Installer\Win32Assemblies\Global]
"Microsoft.VC80.CRT,version=\"8.0.50727.762\",publicKeyToken=\"1fc8b3b9a1e18e3b\",type=\"win32\",processorArchitecture=\"x86""=hex(7):
==>
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Win32Assemblies\Global]
"Microsoft.VC80.CRT,version=\"8.0.50727.762\",publicKeyToken=\"1fc8b3b9a1e18e3b\",type=\"win32\",processorArchitecture=\"x86\""=hex(7):

Edit: I see that Lancelot has also this Shlash  in his nt5 file. Try by adding it  :wink:

:cheers:
« Last Edit: June 05, 2012, 03:30:20 AM by ChrisR »

Re: RegCPE (Reg Converter PE)
« Reply #34 on: June 05, 2012, 04:12:54 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 815
Hi Ordan,

Chris is right your reg files has a problem with quotes.
A name of a regfile value should always be enclosed in qutoes,
all other quotes need to be escaped: \"

So a "" should never be there, if the name is not empty.

But there seems to another problem:
The names contain comma and "=", that currently not possible with RegCPE.

 :cheers:

Re: RegCPE (Reg Converter PE)
« Reply #35 on: June 05, 2012, 05:09:05 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Hi JFX,

The names contain comma and "=", that currently not possible with RegCPE.

As far as I can see, after manual fixing Ordan reg file, I see it does not contain "="  and I guess comma is not a problem since RegCPE worked fine on these files...

Still with being curious, I tested following

[HKEY_CLASSES_ROOT\ 1Key"="]
"Test,\"=\""="123,uc-*"

which resulted nicely
RegWrite,HKLM,0x1,"Tmp_Software\Classes\ 1Key#$q=#$q","Test,#$q=#$q","123,uc-*"

what am I missing, can you provide a mini test reg  :cheers:

Re: RegCPE (Reg Converter PE)
« Reply #36 on: June 05, 2012, 05:57:45 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 815
which resulted nicely
RegWrite,HKLM,0x1,"Tmp_Software\Classes\ 1Key#$q=#$q","Test,#$q=#$q","123,uc-*"

Hmm, maybe it's right, don't know wb syntax.
Just know that 2 others builders don't like the red comma.

RegWrite,HKLM,0x1,"Tmp_Software\Classes\ 1Key#$q=#$q","Test,#$q=#$q","123,uc-*"

About the "=" I'm not fully sure that it always match the right one, but so far I can not find a vaild reg the has a problem  :smile:

 :cheers:

Re: RegCPE (Reg Converter PE)
« Reply #37 on: June 05, 2012, 06:06:35 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Just know that 2 others builders don't like the red comma.
I guess natural result of comma based syntax  :wink:
besides if 2 others use " as main (+optional) splitter, than comma not trouble anymore (and readable) ,
as in AutoIT v2 :thumbsup:

I can not find a vaild reg the has a problem  :smile:
:thumbsup:
I feel Regedit never add "=" in reg file (except section and maybe split value and data) and always add \ when required....
 :smile:
Well you can never know what will be next trouble on reg entries, please input when you find  :thumbsup:

ufff, so as for today, RegCPE no trouble :happy: :dance:
 :cheers:

Re: RegCPE (Reg Converter PE)
« Reply #38 on: June 05, 2012, 12:56:25 PM »

ordan

  • Apprentice
  • *
  • Date Registered: Jun 2012
  • Posts: 9
Thank you guys very much for feedbacks.

Yes used InstallRite for get this reg file.

What do you use yourself?

Thanks

Re: RegCPE (Reg Converter PE)
« Reply #39 on: June 05, 2012, 08:29:51 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6945
Thanks for the info,

InstallRite...   :ohmann:

I use RegShot1 or RegShot2 , depends on my daily mood or requirement  :wink:
(You can easly find their plugins on Gena and Win7PE SE , Apps\System Tools\Registry)

 :cheers:

 

Powered by EzPortal