Topic: Some Problen with Win7PE  (Read 2398 times)

Some Problen with Win7PE
« on: August 07, 2013, 01:53:52 AM »
  • Date Registered: May 2013
  • Posts: 6
Hi every one
I have one problen with win7pe build from winbuilder, i use latest project http://w7pese.cwcodes.net/Compressed/
And when start winpe, affter start winpeshl.exe the registry was change HKCU, my cursors not work. If not start winpeshl by using pecmd as shell loader, ít work but i have to start winpeshl to use network and audio
Here is my script
Code: [Select]
[Main]
Title=Mouse icon
Selected=True
Level=3
Author=linhhontruongda
Version=000
Date=30-Jul-2013

[Process]
RegHiveLoad,WB-Default,%RegDefault%
RegWrite,HKLM,0x1,"WB-Default\Control Panel\Cursors",,"Direction"
RegWrite,HKLM,0x4,"WB-Default\Control Panel\Cursors","Scheme Source",0x00000001
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",Arrow,"#$pSYSTEMROOT#$p\BCJG\Direction\Arrow.cur"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",Help,"#$pSYSTEMROOT#$p\BCJG\Direction\Help.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",AppStarting,"#$pSYSTEMROOT#$p\BCJG\Direction\AppStarting.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",Wait,"#$pSYSTEMROOT#$p\BCJG\Direction\Wait.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",Crosshair,"#$pSYSTEMROOT#$p\BCJG\Direction\Cross.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",IBeam,"#$pSYSTEMROOT#$p\BCJG\Direction\IBeam.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",NWPen,"#$pSYSTEMROOT#$p\BCJG\Direction\Handwriting.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",No,"#$pSYSTEMROOT#$p\BCJG\Direction\NO.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",SizeNS,"#$pSYSTEMROOT#$p\BCJG\Direction\SizeNS.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",SizeWE,"#$pSYSTEMROOT#$p\BCJG\Direction\SizeWE.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",SizeNWSE,"#$pSYSTEMROOT#$p\BCJG\Direction\SizeNWSE.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",SizeNESW,"#$pSYSTEMROOT#$p\BCJG\Direction\SizeNESW.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",SizeAll,"#$pSYSTEMROOT#$p\BCJG\Direction\SizeAll.ani"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",UpArrow,"#$pSYSTEMROOT#$p\BCJG\Direction\UpArrow.cur"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors",Hand,"#$pSYSTEMROOT#$p\BCJG\Direction\Hand.cur"
RegWrite,HKLM,0x2,"WB-Default\Control Panel\Cursors\Schemes",Direction,"#$pSYSTEMROOT#$p\BCJG\Direction\Arrow.cur#$c#$pSYSTEMROOT#$p\BCJG\Direction\Help.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\AppStarting.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\Wait.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\Cross.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\IBeam.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\Handwriting.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\NO.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\SizeNS.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\SizeWE.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\SizeNWSE.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\SizeNESW.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\SizeAll.ani#$c#$pSYSTEMROOT#$p\BCJG\Direction\UpArrow.cur#$c#$pSYSTEMROOT#$p\BCJG\Direction\Hand.cur"
RegHiveUnLoad,WB-Default
DirCopy,%ScriptDir%\BCJG,%TargetDir%\Windows

Any one could help me. Start winpeshl but not change registry.
PS: i have use some china pe. It work use full. No change from registry. And cursors work.

Thanks all!  :grin:

Re: Some Problen with Win7PE
« Reply #1 on: August 07, 2013, 01:51:55 PM »

Doberman

  • Jr. Chef
  • **
  • Date Registered: Oct 2011
  • Posts: 84
Hi Linh Hồn Tượng Đá! :thumbsup:

You can also add Winpeshl.exe Running from Pecmd.ini:

DISP W1024 H768 B32 F60
EXEC !%SystemRoot%\system32\winpeshl.exe
EXEC =!%CurDir%\Ramdisk.cmd
DEVI %SystemRoot%\inf\battery.inf
DEVI %SystemRoot%\inf\hd*.inf
SHOW -1:-1
EXEC =!%CurDir%\Autorun.exe

Re: Some Problen with Win7PE
« Reply #2 on: August 08, 2013, 09:11:08 AM »
  • Date Registered: May 2013
  • Posts: 6
Thank you, but i want know how to start winpeshl but not change HKCU to default, i also use like you.

Code: [Select]
RegHiveLoad,WB-Setup,%RegSystem%
RegWrite,HKLM,0x1,WB-Setup\Setup,CmdLine,"PECMD.exe#$sMAIN#$s#$pWindir#$p\System32\PECMD.ini"
RegHiveUnLoad,WB-Setup

And my pecmd.ini

Code: [Select]
CALL AUTORUN
CALL OSInit
CALL LoadShell

_SUB AUTORUN
LOGO %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
TEAM EXEC !winpeshl.exe| EXEC !UX.exe
EXEC !@=PE.cmd
EXEC !@=PE.bat
PINT %systemroot%\explorer.exe,TaskBand
_END

_SUB OSInit
DISP W1024 H768 B32 F60
_END

_SUB LoadShell
INIT IU,4000              ` INIT: I - Show Icon PECMD TaskBar U - PlugPlay USB
SHOW -1:-1
wall %SystemRoot%\Web\Wallpaper\Windows\img0.jpg
SHEL %SystemRoot%\explorer.exe
WAIT -1000
TEAM FILE %public%\desktop\desktop.ini|FILE %desktop%\desktop.ini
_END

Re: Some Problen with Win7PE
« Reply #3 on: August 08, 2013, 12:07:38 PM »

was_JFX

  • Code Baker
  • Grand Chef
  • *****
  • Date Registered: Dec 2010
  • Posts: 1074
@Linh Hồn Tượng Đá

it properly the aero theme that reset the cursor.

Try Iniwrite your settings into aero.theme

Re: Some Problen with Win7PE
« Reply #4 on: August 08, 2013, 02:44:31 PM »
  • Date Registered: May 2013
  • Posts: 6
Thank JFX,  :thumbsup:I will try

 

Powered by EzPortal