Jump to content











Photo
- - - - -

(Solved) nativeEX Win7 - Finetuning


  • Please log in to reply
25 replies to this topic

#1 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 11 May 2010 - 08:41 AM

Thanks to your help, I've finally finished.
One would just need tips on tuning.

Problems:
1. I still have the English keyboard, although I have the German locale and keyboard.
For example: zzz is yyy, --- is ///
2. Internet is only possible after start of PENetwork.

Opportunities
1. Is it possible desktop shortcuts of programs on the HDD to be produced:
For example: d: \ Other \ firefox \ firefox.exe -> Shortcut to Desktop.
2. For example: Create a Desktop folder "Tools" .
For example: d: \ Other \ firefox \ firefox.exe -> Shortcut to Desktop \ Tools.
3. How can I add Reg entries?
For example, Device Manager in the workplace:
REGEDIT 4

[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager]
@ = "Device Manager"
"SuppressionPolicy" = dword: 4000003c


[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager \ command]
@ = Hex (2): 25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73,79,73,74,65,6 d, 33,32,5 c , 6d, \
6d, 63,2 e, 65,78,65,20,2 f, 73,20,25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73.79, \
73,74,65,6 d, 33,32,5 c, 44,65,76,4 d, 67.6 d, 74.2 e, 6d, 73,63,00

Thank you very much.

regards Klaus

#2 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 11 May 2010 - 08:58 AM

1. I still have the English keyboard, although I have the German locale and keyboard.
For example: zzz is yyy, --- is ///

and your win7 source is also german?
that would be strange because I have no english keyboard with the mentioned settings

2. Internet is only possible after start of PENetwork.

yes, it can't work without network support :(
you can configure your settings:
- hardware detection set to 2
- autostart penetwork on PE start

1. Is it possible desktop shortcuts of programs on the HDD to be produced:
For example: d: \ Other \ firefox \ firefox.exe -> Shortcut to Desktop.
2. For example: Create a Desktop folder "Tools" .
For example: d: \ Other \ firefox \ firefox.exe -> Shortcut to Desktop \ Tools.

the goal of a PE system is to burn it on a cd or copy it on a usb stick and use this PE on every system you want ... why do you want a shortcut from you internal hdd?
You can add portable apps as already explained here:
http://www.boot-land...?...ost&p=98857
http://www.boot-land...?...ost&p=98869
with this method it is no problem to add firefox portable

3. How can I add Reg entries?
For example, Device Manager in the workplace:
REGEDIT 4

[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager]
@ = "Device Manager"
"SuppressionPolicy" = dword: 4000003c


[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager \ command]
@ = Hex (2): 25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73,79,73,74,65,6 d, 33,32,5 c , 6d, \
6d, 63,2 e, 65,78,65,20,2 f, 73,20,25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73.79, \
73,74,65,6 d, 33,32,5 c, 44,65,76,4 d, 67.6 d, 74.2 e, 6d, 73,63,00

look into some scripts of the project ...
and you have a help page
http://winbuilder.ne...ipt_syntax.html

#3 pscEx

pscEx

    Platinum Member

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

Posted 11 May 2010 - 11:07 AM

3. How can I add Reg entries?
For example, Device Manager in the workplace:
REGEDIT 4

[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager]
@ = "Device Manager"
"SuppressionPolicy" = dword: 4000003c


[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager \ command]
@ = Hex (2): 25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73,79,73,74,65,6 d, 33,32,5 c , 6d, \
6d, 63,2 e, 65,78,65,20,2 f, 73,20,25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73.79, \
73,74,65,6 d, 33,32,5 c, 44,65,76,4 d, 67.6 d, 74.2 e, 6d, 73,63,00

I wrote a tool Reg2WBS which converts *.reg lines to WinBuilder script commands.

Peter

#4 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 11 May 2010 - 06:02 PM

@patsch
My Win7 Source is German - Otherwise, all German.
Tomorrow will test a different version

hardware detection - works thank you
"- autostart penetwork on PE start"
Where can I set it ??

've also included some APPs portable with your Script (is there a way to leave it running in Ram?)
I would like to create a folder with 15 links to various drives on the desktop.
Can I copy a folder with existing linking of the desktop?

@psc

This Reg runs without errors
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Systemsteuerung]
@="Systemsteuerung"

[HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\shell\Systemsteuerung\Command]
@="rundll32.exe shell32.dll,Control_RunDLL"


and this one with "Access violation .."
[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager]
@ = "Device Manager"
"SuppressionPolicy" = dword: 4000003c


[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager \ command]
@ = Hex (2): 25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73,79,73,74,65,6 d, 33,32,5 c , 6d, \
6d, 63,2 e, 65,78,65,20,2 f, 73,20,25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73.79, \
73,74,65,6 d, 33,32,5 c, 44,65,76,4 d, 67.6 d, 74.2 e, 6d, 73,63,00

Once again many thanks for your help.

Klaus

#5 pscEx

pscEx

    Platinum Member

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

Posted 11 May 2010 - 06:28 PM

@psc
and this one with "Access violation .."
[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager]
@ = "Device Manager"
"SuppressionPolicy" = dword: 4000003c


[HKEY_CLASSES_ROOT \ CLSID \ (20D04FE0-3AEA-1069-A2D8-08002B30309D) \ shell \ Device Manager \ command]
@ = Hex (2): 25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73,79,73,74,65,6 d, 33,32,5 c , 6d, \
6d, 63,2 e, 65,78,65,20,2 f, 73,20,25,53,79,73,74,65,6 d, 72.6 f, 6f, 74,25,5 c, 73.79, \
73,74,65,6 d, 33,32,5 c, 44,65,76,4 d, 67.6 d, 74.2 e, 6d, 73,63,00

Please PM or e-mail me the *.reg making the troubles.

Peter

#6 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 12 May 2010 - 10:25 AM

@patsch

Unfortunately does not work with the new version. While I can change the keyboard but without effect.
Keybord is still english ??
I tried to change to a arabic keyboard but also without effect.

"- autostart penetwork on PE start" - I found it !! Thanks
I am still for a way to import my Desktop folder. Have you any idea ??

Regards Klaus

#7 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 12 May 2010 - 10:35 AM

Unfortunately does not work with the new version. While I can change the keyboard but without effect.
Keybord is still english ??
I tried to change to a arabic keyboard but also without effect.

sorry, I can't reproduce that ... this morning I did a fresh build of nativeEx (downloaded the winrescuepe.zip and the latest version from nativeEx server) and I have a german keyboard in my build

I am still for a way to import my Desktop folder. Have you any idea ??

not at the moment but I will test some ideas tomorrow

#8 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 12 May 2010 - 01:30 PM

So now I'm finally in the German keyboard
not working:
autoKeyboard.Script, autoLocalization.Script and toggleKeyBoard.Script
but this works
ger.script
http://www.boot-land...?...ost&p=11425

If anyone is interested for the Rescue Stick
http://users.telenet...PortOffExec.htm

regards Klaus

#9 pscEx

pscEx

    Platinum Member

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

Posted 12 May 2010 - 01:34 PM

not working:
autoKeyboard.Script, autoLocalization.Script and toggleKeyBoard.Script
but this works

They cannot work in nativeEx_Win7.

They copy something from the XP source CD!

Therefore they work only in XP based projects.

Peter

#10 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 13 May 2010 - 06:59 AM

I've still got some Questions.
1. How can I copy a Folder and some Files to:
X:\Windows\System32\config\systemprofiles\Desktop\
D:\Programs\
X:\Windows\wincmd.ini
2. @patch
Is ist possible to make the Option "Run in RAM" ?
3. the old Problem still exists:
After starting Windows i have got a DOS Box with fixShortcut.exe
No Media
DEVICE\Harddisk3\DR3
DEVICE\Harddisk3\DR4
DEVICE\Harddisk3\DR5
DEVICE\Harddisk3\DR6
with Cancel Repeat Next

I found something with Google but I dont now what can I do.
http://www.supportne...1/id1454504.asp
http://support.micro...b/244780/EN-US/

@psc
I just tried evry script with "keyboard" - Thanks
Regards Klaus

#11 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 13 May 2010 - 09:00 AM

1. How can I copy a Folder and some Files to:
X:\Windows\System32\config\systemprofiles\Desktop\

that are only links there ... I don't know how to place a folder on a desktop.
http://www.paraglide.../winbuilder.chm
here you have a great help file and the syntax of add_shortcut is explained very detailed. I cannot see a way to only add a folder (but I have not looked too deeply in the exact syntax

D:\Programs\

common, that is exactly what the papps.script does ... all portable apps will be copied into that directory

X:\Windows\wincmd.ini

use instruction "IniWriteTextLine" <-- and an example how to use it is in the papps.script or in the help file linked above

all programs located on x have the option run from ram
all programs located on d have not this option

2. @patch
Is ist possible to make the Option "Run in RAM" ?

no, that is not possible (afair this was also a question in that thread and was answered)
if your portable app runs with this method, you can simply 7z your app and put it into a script ... than your app can run from ram

#12 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 13 May 2010 - 01:15 PM

If anyone is interested

With the win7pe\Addons\Add\add.script it works everything.
On scriptdir must be a folder files.
Windows - copy everything in z:\windows (for Example my old wincmd.ini)
Windows\system32\config\systemprofile\\Desktop\ - copy everything to the Desktop it works also with Links to the HDD
Program Files copy to z:\Program Files

Klaus

#13 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 19 May 2010 - 10:24 AM

How do I get PEnetwork to sign in automatically?

@psc
with the new WB 081 RC1 and your nwe scripts evrything is working fine.

Regards Klaus

#14 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 19 May 2010 - 11:29 AM

How do I get PEnetwork to sign in automatically?

that means "Autostart" or what exactly?

#15 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 19 May 2010 - 01:01 PM

During the boot process starts PENetwork and only after I press OK it goes on.

Regards Klaus

#16 pscEx

pscEx

    Platinum Member

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

Posted 19 May 2010 - 01:20 PM

During the boot process starts PENetwork and only after I press OK it goes on.

Regards Klaus


I tried, too, with the same result.

There currently seems to be no option to do that 'autostart' silently.

Peter

#17 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 19 May 2010 - 01:24 PM

what about this?
http://www.boot-land...?...st&p=100494

#18 pscEx

pscEx

    Platinum Member

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

Posted 19 May 2010 - 04:56 PM

what about this?
http://www.boot-land...?...st&p=100494

Did you have success with it?

If yes, please tell us here your procedere.

Peter :lol:

#19 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 19 May 2010 - 08:10 PM

in Joshua's Win7RescuePE (v.13) project in 'PENetwork Beta V5' script this works for me

in PENetwork WB interface
0.png
and
1.png

in PENetwork Configuration/Profile Editor
2.png

in the script
3.png

#20 patsch

patsch

    Silver Member

  • Advanced user
  • 785 posts
  •  
    Germany

Posted 19 May 2010 - 08:12 PM

for me, too ... also in nativeEx

#21 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 22 May 2010 - 07:32 PM

@dera
've done everything But I still have to press OK.
Should I write something in the PENetwork.ini ?

Regards Klaus

#22 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 22 May 2010 - 07:54 PM

i have profiles defined via the 'PENetwork Configuration/Profile Editor'
and if uncheck those checkboxes
in 'PENetwork.ini' i get this:

[PENetwork]
UseProfileSelect=No
UseProfileCountdown=No
ProfileCountdown=30
ProfileDefault=fix1
[NetProfiles]
fix0=
fix1=
dhcp=
[fix0]
Computername=RESCUEPE++??
Workgroup=WORKGROUP
NetAdapter1.UseDHCP=0
NetAdapter1.IP=192.168.0.100
NetAdapter1.SM=255.255.255.0
NetAdapter1.DG=192.168.0.1
NetAdapter1.DNS=192.168.0.1
NetAdapter1.WINS=
NetAdapter1.MAC=
StartSharing=
ShareAll=
NetPath=
Desc.Line1=FIX0
[fix1]
Computername=RESCUEPE++??
Workgroup=WORKGROUP
NetAdapter1.UseDHCP=0
NetAdapter1.IP=192.168.1.10
NetAdapter1.SM=255.255.255.0
NetAdapter1.DG=192.168.1.1
NetAdapter1.DNS=192.168.1.1
NetAdapter1.WINS=
NetAdapter1.MAC=
StartSharing=No
ShareAll=No
NetPath=
Desc.Line1=FIX1
[dhcp]
Computername=RESCUEPE++??
Workgroup=WORKGROUP
NetAdapter1.UseDHCP=1
NetAdapter1.IP=
NetAdapter1.SM=
NetAdapter1.DG=
NetAdapter1.DNS=
NetAdapter1.WINS=
NetAdapter1.MAC=
StartSharing=
ShareAll=
NetPath=
Desc.Line1=DHCP

#23 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 22 May 2010 - 08:10 PM

@dera
Thanks for your quick answer. Will try it tomorrow and then report.

Klaus

#24 Klaus21

Klaus21

    Frequent Member

  • Advanced user
  • 169 posts
  •  
    Germany

Posted 23 May 2010 - 04:15 PM

[PENetwork]
ProfileDefault=Dynamic IP address
UseProfileSelect=No
UseProfileCountdown=No
ProfileCountdown=30

[NetProfiles]
Dynamic IP address=
Static IP address=

[Static IP address]
Computername=MININT-PE??++
Workgroup=workgroup
NetAdapter1.UseDHCP=0
NetAdapter1.IP=192.168.0.200
NetAdapter1.SM=255.255.255.0
NetAdapter1.DG=192.168.0.1
NetAdapter1.DNS=
NetAdapter1.WINS=
NetAdapter1.MAC=
StartSharing=
ShareAll=
NetPath=
Desc.Line1=IP: 192.168.0.200
Desc.Line2=SM: 255.255.255.0
Desc.Line3=DG: 192.168.0.1
Desc.Line4=Computername: MININT-PE....
Desc.Line5=Workgroup: workgroup

[Dynamic IP address]
Computername=MININT-PE??++
Workgroup=workgroup
NetAdapter1.UseDHCP=1
NetAdapter1.IP=
NetAdapter1.SM=
NetAdapter1.DG=
NetAdapter1.DNS=
NetAdapter1.WINS=
NetAdapter1.MAC=
StartSharing=
ShareAll=
NetPath=
Desc.Line1=IP: DHCP
Desc.Line2=Computername: MININT-PE....
Desc.Line3=Workgroup: workgroup

There is something different - Router Fritz.box 7170
Should I change to the ini-priced yours??

Klaus

#25 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 23 May 2010 - 05:09 PM

i have no more idea why it works for me
and why does not work for you

i think the main point is
to change the script lines in the 'PENetwork.script' in the section [Process-Registry]
from this:
[Process-Registry]
If,%pCheckBox11%,Equal,true,RegWrite,HKLM,0x1,"WB-Software\PENetwork","Debug","1"
If,%pCheckBox11%,Equal,false,RegWrite,HKLM,0x1,"WB-Software\PENetwork","Debug","0"
into this:
[Process-Registry]
RegWrite,"HKLM",0x1,"WB-Software\PENetwork","CloseAfterStartnet","1"
If,%pCheckBox12%,Equal,true,RegWrite,HKLM,0x1,"WB-Software\PENetwork","Debug","1"
If,%pCheckBox12%,Equal,false,RegWrite,HKLM,0x1,"WB-Software\PENetwork","Debug","0"




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users