Digg this topic Add to my del.icio.us Submit to SlashDot 5 Pages V  < 1 2 3 4 5 >  
Reply to this topicStart new topic
> [tool] reg2WBS, .Script lines from .Reg files
psc
post Aug 15 2007, 11:06 AM
Post #21


Guru
***

Group: .script developer
Posts: 3,190
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (MedEvil @ Aug 15 2007, 12:53 PM) *
@Peter
Am i right to assume that, if i want to use the -E switch with a reg file from a PE, i would need to modify the Environment varibles first?

(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)


No and yes!

If a .reg entry made on your system, contains a path wich starts with your local values of one of the three EnvVars, than this value is replaced by the %...%

If you have a German system, you cannot use -e with English .regs

Peter
Go to the top of the page
 
+Quote Post
MedEvil
post Aug 15 2007, 11:50 AM
Post #22


Advanced Member
***

Group: .script developer
Posts: 1,314
Joined: 29-December 06
Member No.: 2,192



QUOTE (psc @ Aug 15 2007, 01:06 PM) *
No and yes!

If a .reg entry made on your system, contains a path wich starts with your local values of one of the three EnvVars, than this value is replaced by the %...%

If you have a German system, you cannot use -e with English .regs

Peter

I was more getting at the point that a local install is usually C: while PE is usually X:, but i guess the same rules apply as for your german/english example.

(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
psc
post Aug 15 2007, 12:02 PM
Post #23


Guru
***

Group: .script developer
Posts: 3,190
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (MedEvil @ Aug 15 2007, 01:50 PM) *
I was more getting at the point that a local install is usually C: while PE is usually X:, but i guess the same rules apply as for your german/english example.

(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)

Crazy idea:
What about to perform reg2WBS in the PE machine?

Peter
Go to the top of the page
 
+Quote Post
psc
post Aug 17 2007, 10:21 AM
Post #24


Guru
***

Group: .script developer
Posts: 3,190
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


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

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

Peter
Go to the top of the page
 
+Quote Post
MedEvil
post Aug 17 2007, 10:54 AM
Post #25


Advanced Member
***

Group: .script developer
Posts: 1,314
Joined: 29-December 06
Member No.: 2,192



Peter how smart is your -E switch? (IMG:http://www.boot-land.net/forums/style_emoticons/default/wink.gif) Will it also work on hex keys?

(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
psc
post Aug 17 2007, 11:19 AM
Post #26


Guru
***

Group: .script developer
Posts: 3,190
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (MedEvil @ Aug 17 2007, 12:54 PM) *


Yes, version 1.0.5

Peter
Go to the top of the page
 
+Quote Post
MedEvil
post Aug 17 2007, 11:24 AM
Post #27


Advanced Member
***

Group: .script developer
Posts: 1,314
Joined: 29-December 06
Member No.: 2,192



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.

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

(IMG:http://www.boot-land.net/forums/style_emoticons/default/cheers.gif)
Go to the top of the page
 
+Quote Post
booty#1
post Aug 17 2007, 12:46 PM
Post #28


Advanced Member
***

Group: .script developer
Posts: 197
Joined: 30-March 07
From: Near Frankfurt
Member No.: 4,830


Germany


QUOTE (psc @ Aug 17 2007, 12:21 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. (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbsup.gif)

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 File(s)
Attached File  test.reg.txt ( 4.13K ) Number of downloads: 6
 
Go to the top of the page
 
+Quote Post
psc
post Aug 17 2007, 01:07 PM
Post #29


Guru
***

Group: .script developer
Posts: 3,190
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


QUOTE (booty#1 @ Aug 17 2007, 02:46 PM) *
Hi Peter,

this tool is quite handy and with hex(2) support it covers most cases. (IMG:http://www.boot-land.net/forums/style_emoticons/default/thumbsup.gif)

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
Go to the top of the page
 
+Quote Post
psc
post Aug 17 2007, 01:45 PM
Post #30


Guru
***

Group: .script developer
Posts: 3,190
Joined: 14-July 06
From: Korschenbroich, Germany
Member No.: 3


Germany


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
Go to the top of the page
 
+Quote Post
« Next Oldest · Submit your program · Next Newest »
 

5 Pages V  < 1 2 3 4 5 >
Fast ReplyReply to this topicStart new topic

Members Who Viewed Topic Today ()

 

Display Mode: Standard · Switch to: Linear+ · Switch to: Outline

Track this topic · Email this topic · Print this topic · Subscribe to this forum

RSS Lo-Fi Version Time is now: 2nd November 2007 - 11:43 PM

MKPortal ©2003-2006 mkportal.it