Jump to content











Photo
* * * * * 2 votes

[tool] reg2WBS


  • This topic is locked This topic is locked
324 replies to this topic

#26 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 17 August 2007 - 11:19 AM

Peter how smart is your -E switch? :w00t: Will it also work on hex keys?

:loleverybody:


Yes, version 1.0.5

Peter

#27 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 17 August 2007 - 11:24 AM

Have a little Addon.
If one extracts the reg files from a PE and then tries to convert them on a 'normal' machine. The -E switch becomes useless.

Here is now a little bat file which fixes this.

SET SystemRoot=X:\I386

SET ProgramFiles=X:\PROGRAMME

SET SystemDrive=X:

START CMD %CD%

The values after the = have to be replaced by what is used on the system you extracted the reg files from.
Put the bat file into the same folder reg2wbsprg is, then just double click on the bat file and a prompt will open with the environment variables adopted and already set to the current folder.

:loleverybody:

#28 booty#1

booty#1

    Frequent Member

  • .script developer
  • 285 posts
  • Location:Near Frankfurt
  •  
    Germany

Posted 17 August 2007 - 12:46 PM

I delivered a new version with a 'MedEvil special'.

It now can work with non-regedit *.reg files containing hex(02):

Hi Peter,

this tool is quite handy and with hex(2) support it covers most cases. :loleverybody:

I tried it with a captured reg-file (see attached file) and it ended with an EConvertError: '0x' is not a valid integer value.

booty#1

Attached Files



#29 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 17 August 2007 - 01:07 PM

Hi Peter,

this tool is quite handy and with hex(2) support it covers most cases. :loleverybody:

I tried it with a captured reg-file (see attached file) and it ended with an EConvertError: '0x' is not a valid integer value.

booty#1

Thanks for reporting, booty!
It depends on that the regedit4 hex list ends with a comma, while regedit5 doesn't.

I alredy fixed this, but I want to add some additional stuff fr MedEvil's explorer speedup.

Peter

#30 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 17 August 2007 - 01:45 PM

Version 1.0.6 ready for download
  • fixed regedit4 bug reported by booty
  • enhanced -E switch now replaces environment variables also inside the value
    (previously only at begin)
Peter

#31 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 29 August 2007 - 09:22 AM

Version 1.0.7 is ready for download.
  • fixed a bug with -DFL switch
  • added a GUI wrapper
Peter

reg2WBS.gif

#32 booty#1

booty#1

    Frequent Member

  • .script developer
  • 285 posts
  • Location:Near Frankfurt
  •  
    Germany

Posted 29 August 2007 - 09:32 AM

Version 1.0.7 is ready for download.[list]
[*]fixed a bug with -DFL switch
[*]added a GUI wrapper

Thanks Peter, a great improvement :loleverybody:

BTW: Can you read my mind? It was just yesterday as I thought that a GUI for reg2wbs would be great...

booty#1

#33 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 15 September 2007 - 02:50 PM

Hi psc! :w00t:

I "found" this section short time ago :w00t:... and I like it: this is a so fine tool! :loleverybody:
I would like so much if it could be an option to set "Windows" folder (for VistaPE project) instead of "I386" folder...
Do you think that it is possible? :w00t:

Thank you at any rate! :w00t:

#34 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 15 September 2007 - 03:35 PM

I would like so much if it could be an option to set "Windows" folder (for VistaPE project) instead of "I386" folder...

Thanks for your suggestion! :loleverybody:
As known, I'm personally a vista enemy, therefore I never think on vista when developing something..

But within five brasilian minutes you will have a new version of reg2WBS

(search in the forum for Latin or Brazilian minutes)

Currently the weekend starts ...

Peter

#35 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 15 September 2007 - 04:52 PM

I'm personally a vista enemy

Ehhh... One day about Vista almost will be a little like: "You can't live with and you can't live without"... :loleverybody:
[Actually I'm using both Vista & XP Pro SP2]

(search in the forum for Latin or Brazilian minutes)

:w00t: ... and then, we would have to add at list "Italian minutes" too!





btw: do it at your convenience, thank you! :w00t:

#36 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 15 September 2007 - 05:41 PM

:loleverybody: ... and then, we would have to add at list "Italian minutes" too!


'Latin minutes' is first published here by Jaclaz.

And I'm sure that he as Italian included Italian Minutes, too, in this definition :w00t:

Peter :w00t:

#37 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 15 September 2007 - 08:47 PM

'Latin minutes' is first published here by Jaclaz.

And I'm sure that he as Italian included Italian Minutes, too, in this definition :w00t:

Peter :w00t:

Oh, yes! :loleverybody:
But there are Latins (Italians) and Latins (Italians)... and then... minutes and minutes again...! :w00t:




btw: for example, I'am an italian... very latin...! :w00t: :w00t:

#38 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 17 September 2007 - 01:11 PM

Well, the original definition should allow for enough "slack time" for everyone :loleverybody: :
http://www.boot-land...?...1013&st=198
http://www.boot-land...?...1013&st=208

But since even the Swiss are changing:
http://www.boot-land...?...c=2288&st=5

maybe we could change the "double it" in the original definition with "multiply it by an adequate integer no less than 2"

jaclaz

#39 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 17 September 2007 - 01:35 PM

Well, the original definition should allow for enough "slack time" for everyone :w00t: :
http://www.boot-land...?...1013&st=198
http://www.boot-land...?...1013&st=208

But since even the Swiss are changing:
http://www.boot-land...?...c=2288&st=5

maybe we could change the "double it" in the original definition with "multiply it by an adequate integer no less than 2"

jaclaz

Hi jaclaz, thanks for links! :loleverybody:

First of all I apologize to psc for my offtopics! :w00t:

I "must" (really, I wish) say a thing: this is my first not-mother-tongue language community "regular" partecipation (WB and this community are so fine!) and I noted that I am not able to well interpretate humours, jokes and cracks... I would like to do it and I try to do it (to write or to read humours in not-mother-tongue language), but it is too difficult for me and it doesn't succeed well... :w00t:

However I don't surrender, then (assumed that here there is something to smile, as I think) I will read very carefully these posts... :w00t:

#40 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 17 September 2007 - 03:24 PM

Hi psc! :loleverybody:

I would like so much if it could be an option to set "Windows" folder (for VistaPE project) instead of "I386" folder...
Do you think that it is possible? :w00t:

There is a new version available.

It has the option to use the variable %target_win% rather than %TargetDir%\I386.

Peter

#41 online

online

    Silver Member

  • Advanced user
  • 767 posts

Posted 17 September 2007 - 06:36 PM

There is a new version available.

It has the option to use the variable %target_win% rather than %TargetDir%\I386.

Peter

:loleverybody: Very great!!! [May it be said: very? :w00t:]



So very many thanks, psc!!! :w00t:




P. S.: I've just downloaded it! :w00t:

#42 thunn

thunn

    Silver Member

  • .script developer
  • 531 posts
  • Location:Brooklyn, New York
  • Interests:computers<br />mechanics<br />distortion<br /><br />
  •  
    United States

Posted 21 October 2007 - 12:43 AM

Any tool to do a backwards conversion, .script --> .reg ?
I'm going to need that soon. :cheers:

#43 booty#1

booty#1

    Frequent Member

  • .script developer
  • 285 posts
  • Location:Near Frankfurt
  •  
    Germany

Posted 21 October 2007 - 08:55 AM

Any tool to do a backwards conversion, .script --> .reg ?

Well that can be done easily by WinBuilder itself. Just add an ShellExecute command "regedit /E "file.reg" "Regpath to export" to the script before unloading the registry files. And thean a TXTReplace for making replacing WinBuilder specific pathes by the default pathes.

booty#1

#44 Brito

Brito

    Platinum Member

  • .script developer
  • 10616 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 09 March 2008 - 12:16 AM

Peter, is your tool using the API format? :)

:(

#45 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 March 2008 - 08:51 AM

Peter, is your tool using the API format? :)

:(


Was this a question for a new version?

Peter

#46 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 March 2008 - 11:44 AM

Was this a question for a new version?

Peter

The new version 1.2.2 is available at the link of first post.

Command line version: API style is build by additional switch -A
GUI version: API style is build by checking the corresponding CheckBox.

Urgent question to API Experts: Please test!
(I'm API novice!)

Peter

#47 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 09 March 2008 - 05:54 PM

The new version 1.2.2 is available at the link of first post.

Command line version: API style is build by additional switch -A
GUI version: API style is build by checking the corresponding CheckBox.

Urgent question to API Experts: Please test!
(I'm API novice!)

Peter

Hi peter
Very good i was thinking about make a front end for API to use in MakeScript
#$pCommonProgramFiles#$p ==> Good i haven't think to this
Add a checkBox to convert #$pProgramFiles#$p to %PE_Program%
My front end :Reg2WB.jpg Test with your last version:New_psc_Reg2WB.jpg Test with my front end :My_Reg2WB.jpg

#48 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 March 2008 - 06:54 PM

Hi peter
Very good i was thinking about make a front end for API to use in MakeScript
#$pCommonProgramFiles#$p ==> Good i haven't think to this
Add a checkBox to convert #$pProgramFiles#$p to %PE_Program%
My front end :Reg2WB.jpg Test with your last version:New_psc_Reg2WB.jpg Test with my front end :My_Reg2WB.jpg



Hi Pedro :)

Maybe it depends on the time today, or on my age, or on the fact that a French and a German discuss in English:

I do not understand the real sence of your post.

There seem to be some crossings between your work and my work. To continue two separate similar items, would be a waste of effort.

If you already have all of the required functionality, it is the best, if reg2WBS disappears.
If reg2WBS can fullfill some tasks not covered yet by makeScript, it should remain and makeScript should use reg2WBS.
In this case, some options (like replacement options) should be integrated into reg2WBS.

What to do?

Peter

#49 pedrole15

pedrole15

    Silver Member

  • .script developer
  • 731 posts
  •  
    France

Posted 09 March 2008 - 08:43 PM

Hi Pedro :)

Maybe it depends on the time today, or on my age, or on the fact that a French and a German discuss in English:

I do not understand the real sence of your post.

There seem to be some crossings between your work and my work. To continue two separate similar items, would be a waste of effort.

If you already have all of the required functionality, it is the best, if reg2WBS disappears.
If reg2WBS can fullfill some tasks not covered yet by makeScript, it should remain and makeScript should use reg2WBS.
In this case, some options (like replacement options) should be integrated into reg2WBS.

What to do?

Peter

Hi Peter
Of course i have not rewrite the reg2wbs but simply work on the output file
For me the last version is very good :( , i will use it with makescript
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)

#50 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 09 March 2008 - 08:52 PM

Hi Peter
Of course i have not rewrite the reg2wbs but simply work on the output file
For me the last version is very good :( , i will use it with makescript
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)


Change the reg2WBS GUI interface with Paint (just view, no logic behind) and post.

Peter :)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users