Jump to content











Photo
- - - - -

Wireless support on PE 2.x/3.x


  • Please log in to reply
135 replies to this topic

#76 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 March 2010 - 03:41 PM

Is there a way to add debugging information to autoit? There is for example source in sources_au3, maybe to add debugging lines (WinMessageBox-like) to track it? I can have autoit3 compiler if needed.
In the mean time, as autoit3 adds only a GUI, could I use the plain old working batch file .cmd provided to run the new version ?

Yes, Copy the files in \makebt\au3scr\sources_au3 to the main Make_PE3 folder.

Then you can use and run the earlier made batch version Make_PE3.cmd

Download and Install also AutoIt3
This will allow you to run in AutoIt3 the Make_PE3.au3 source file with F5
Then you can see what is causing the Error and if possible correct the problem.

Let me know what is causing this strange error :exclamation:

#77 ktp

ktp

    Silver Member

  • Advanced user
  • 773 posts

Posted 03 March 2010 - 04:07 PM

@wimb

I download the latest autoit3 version 3.3.4.0 and run it with the mentioned make_pe3.au3.
I got this error message :
Posted Image

I am running XP SP3 32-bit when executing make_pe3.au3. My Windows 7 is also 32-bit.

#78 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 March 2010 - 04:18 PM

I see what is the problem:

In line 340 and 344 there is an ampersand missing between @CRLF and " Get Files ....

It should be:

& @OSArch & @CRLF & @CRLF & " Get Files

But the fact that you run into this WARNING means may be also
that you have Architecture Mismatch ....

#79 ktp

ktp

    Silver Member

  • Advanced user
  • 773 posts

Posted 03 March 2010 - 04:28 PM

I correct lines 340/340 and run autoit3: got the predicted error message:
Posted Image

But how does your autoit3 script make_pe3.au3 detect architecture problem, while your batch file make_pe3.cmd
is running well for me without changing anything?

#80 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 03 March 2010 - 05:42 PM

But how does your autoit3 script make_pe3.au3 detect architecture problem, while your batch file make_pe3.cmd
is running well for me without changing anything?

The batch file has no check for Architecture Mismatch.

May be Adding 64-bits files to x86 boot.wim is not such a problem :exclamation:
but the reverse will certainly give problems.

Anyway I think that it is better when Architecture of Windows 7 System corresponds to
the running OS where Make_PE3.exe is used.
So both should be x86 or x64.

#81 ktp

ktp

    Silver Member

  • Advanced user
  • 773 posts

Posted 03 March 2010 - 06:17 PM

Anyway I think that it is better when Architecture of Windows 7 System corresponds to
the running OS where Make_PE3.exe is used.
So both should be x86 or x64.


As I stated in my previous post, my both OSes (Windows 7, and XP where make_pe3.exe is used) are 32-bit. The SysWOw64 directory is present even on 32-bit Windows 7, I check it (and with control panel). So maybe your test for architecture mismatch would use more pertinent criteria.

#82 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 03 March 2010 - 07:03 PM

The SysWOw64 directory is present even on 32-bit Windows 7

strange
on my x86 Windows 7 there is no such folder

#83 ktp

ktp

    Silver Member

  • Advanced user
  • 773 posts

Posted 04 March 2010 - 08:50 AM

Maybe this is a clue: long time ago I applied the language localization pack to my 32-bit Windows 7. This pack is generic and is applicable to both 32 and 64-bit OS. So maybe the Syswow64 drectory is created? I can see that it contains mostly *.mui files.

So one can probably use more specific criteria (like dll files in syswow64) and not only the presence of this directory to detect architecture. Or better use other system-provided environment variables (by typing 'set' command from command prompt):

PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=1706

The PROCESSOR_ARCHITECTURE environment variable seems to be the right candidate.

#84 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 04 March 2010 - 09:08 AM

The PROCESSOR_ARCHITECTURE environment variable seems to be the right candidate.

Not in your case where you use x86 XP OS and mounted SnapShot Image of Windows 7.
Then PROCESSOR_ARCHITECTURE environment variable is related to XP OS and not to Windows 7.

I have changed the program so that it just will make a WARNING,
but user can select to Continue in making pe3.iso Boot Image file.

Later this day I will announce the Update .....

#85 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 04 March 2010 - 10:01 AM

Update of AutoIt3 Program Make_PE3.exe to Create and Install Windows PE 3.0 ISO Boot Image.

Download - Make-PE3 - mirror

More Info:
http://www.911cd.net...o...21883&st=35

@rocketero and @ ktp
I have tried to solve your x64 related issues.
Please report if the present program Make_PE3.exe is OK for you.

#86 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 05 March 2010 - 03:48 PM

Update of Make_PE3 package to Create Windows PE 3.0 + GUI - ISO Boot Image

Some more Windows 7 files are added to Windows PE 3.0 for Support of e.g. Calculator and System Info.

Disk Management creates now partitions with the more compatible XP type Alignment with 63 Hidden Sectors.

Custom Registry file PE3_CUSTOM.reg giving XP type Partitioning Alignment with 63 Hidden Sectors
Windows Registry Editor Version 5.00



; Partitioning with 63 Hidden Sectors like used in XP - Alignment 7e00 = 63 * 512 bytes



[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\services\vds\Alignment]

@="Alignment Settings in Bytes"

"Between4_8GB"=dword:00007e00

"Between8_32GB"=dword:00007e00

"GreaterThan32GB"=dword:00007e00

"LessThan4GB"=dword:00007e00


Download - Make-PE3 - mirror

Guide with More Info:
http://www.911cd.net...o...21883&st=35

=
Windows PE 3.0 + GUI with Extra Windows 7 and Portable Programs
=
Posted Image
=

#87 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 09 March 2010 - 04:38 PM

*** Update of Make_PE3 package to Create Windows PE 3.0 + GUI ISO Boot Image ***

Some more Windows 7 files are added to Windows PE 3.0 for Support of e.g. Date and Time and Region and Language.
Parts of the Windows 7 registry are collected in folder WIN7_reg as raw material to make the PE3-SYSTEM and PE3-SOFTWARE reg files.

After boot Windows PE 3.0 + GUI (and Win7PE and Win7RescuePE) can further be improved by Install of PnP Hardware.

HWPnP of paraglider was found to be very useful and added to support Install of PnP Hardware

http://www.paraglide...ugins/hwpnp.htm

Running HWPnP to Install All Hardware followed by Scan for Hardware Changes in Device Manager will Install almost all PnP Hardware.
Only HD Audio and VGA remain visible as Devices which need driver update.

Download - Make-PE3 - mirror

Guide with More Info:
http://www.911cd.net...o...21883&st=35

=
Windows PE 3.0 + GUI - Install of Hardware is needed
=
Posted Image
=

=
After Install of All Hardware with HWPnP and Scan for Hardware Changes
=
Posted Image
=

#88 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 19 March 2010 - 01:52 PM


*** Update of Make_PE3 package to Create Windows PE 3.0 + GUI ISO Boot Image ***



Required AIK for Windows 7 - KB3AIK_EN.iso - Microsoft - Windows PE 3.0
http://www.microsoft...;displaylang=en
Dism.exe of AIK must be version 6.1.7600.16385 (earlier version 7000 gives Errors)

Download - Make-PE3 - mirror

Guide with More Info:
http://www.911cd.net...o...21883&st=35

=
User Interface of Make_PE3.exe Program to Create pe3_x86.iso Boot Image
=
Posted Image
=
=

Windows PE 3.0 with Wireless Internet and PStart Menu for Portable Programs
=
Posted Image
=

#89 rocketero

rocketero

    Frequent Member

  • Advanced user
  • 155 posts
  •  
    United States

Posted 19 March 2010 - 05:00 PM

I"m still not getting any luck with an x64 system.

This last make_pe3 update runs fine, and when I load the ISO file into Vmware it starts booting, it reaches the screen with the spinning logo and a few seconds longer than before, but at the end I get this BOSD (in blue background instead of black like before):

Posted Image


I did export the REG keys from the registry. I did however find the software_clid.reg and software_clid2.reg like redundant as they contain HKLM_Software_Class_CLID entries and I just got the whole CLID key exported to the first software_clid.reg key.
I hope you find an x64 machine to play around to see what could be the problem. (PS: the x64 iso file is 240MB in size so I thing it's the right size after the process).

#90 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 19 March 2010 - 05:14 PM

VMWare might be the problem.
Can you test pe3_amd64.iso launched from GRUB4DOS menu on real machine e.g. drive C:\ or from USB-stick.

Let Make_PE3.exe use the provided PE3-SOFTWARE_CLID.reg
It is derived from x64 Windows 7 registry and contains the necessary changes.
All occurrences of C:\ have been replaced by X:\
And besides all 43,00,3a,00,5c,00 are replaced by 58,00,3a,00,5c,00 (means in fact also C becomes X)

That is important, so don't add anything for the registry ....

There should not be any PE3-SOFTWARE_CLID2.reg anymore, it is not part of the download.
Please extract not to old folder.

Optimize Profile as given is only valid for x86 version.
For x64 one can generate with the full pe3_amd64.iso version a new Optimize_profile.txt file.
So first use without Optimize in case of x64

#91 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 19 March 2010 - 09:16 PM

Hi wimb,

some problems on x64 peshell can't start.

x86 winsxs files are missing (look [SxS] section of wow64 script)

MUI name seems hardcoded to en-us.

:wodoo:

#92 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 20 March 2010 - 06:55 AM

Hi JFX,

If you can boot with cmd window, can you try to launch BSExplorer from X:\Program Files (x86)\BSExplorer
Can you launch any othe 32-bits exe or is it a general failure to launch 32-bits programs ?
In the last case, are there essential SYSWOW64 or System32 files missing,
or does the registry need more entries ?

The 15 required x86 winsxs files are in the list to be copied. Are these files missing in winsxs ?

MUI filecopy is at the moment hardcoded to en-US but you can add Windows\SysWow64\de-DE\*.*
to file WIN7_add_files.txt in Make_PE3\PE3_mod\WIN7_add\amd64 folder

I hope you can find out what is missing and can be added to make pe3_amd64.iso get working as it should be.

Thanks for your help.

wimb

:wodoo:

#93 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 20 March 2010 - 04:54 PM

File WIN7_add\amd64\WIN7_add_files.txt contains now Windows\Winsxs\x86_microsoft.... and Windows\Winsxs\Manifests\x86_microsoft... filename entries.

We can try to add the similar Windows\Winsxs\amd64_microsoft.... and Windows\Winsxs\Manifests\amd64_microsoft... filename entries.
I saw that these \amd64_ files occur in the Optimize_Profile.txt filelist as essential files for MicroPE x64 of Xiaopang


File PE3_reg\amd64\PE3-SOFTWARE_SxS.reg contains now only ...\SideBySide\Winners\x86_microsoft... and ...\SMI\WinSxS Settings\x86_microsoft... registry entries.

We can try to add also the similar amd64 registry entries ...\SideBySide\Winners\amd64_microsoft... and ...\SMI\WinSxS Settings\amd64_microsoft...


These critical winsxs files and registry entries seem to play an important role.

Adding to Windows PE 3.0 the x86 variants is may be not sufficient.
Adding to Windows PE 3.0 also the amd64 files and registry entries might help. <_<

In this respect using Windows PE 3.0 as source might require extra update not needed when using Windows 7 DVD as source. :wodoo:


What do you think about it ?

#94 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 20 March 2010 - 05:36 PM

Seems only the winsxs x86 files from the winpe are copied.

So essential windows.common-controls, which only available from full source are missing, but required for (all) gui apps.

Wow6432Node are missing.

:wodoo:

PS. I look at it next week currently low on time.

#95 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 24 March 2010 - 12:21 PM

Just to inform ....

The first 64-bits version pe3_amd64.iso made with Make_PE3.exe is booting now with GUI interface.

32-bits Programs as PEShell and BS Explorer and FreeCommander are running,
but there is still a lot to be fixed .....

It will take some time, but anyway it is hopefull now.


:wodoo:

#96 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 27 March 2010 - 04:50 PM

*** Update of Make_PE3 package to Create Windows PE 3.0 + GUI ISO Boot Image ***

  • Added Japanese, Korean and Chinese FontSupport and Setting of TimeZone
    Thanks to ChinaDragon for taking initiative and doing preliminary tests.
  • Improved the program to Make pe3_amd64.iso with files and registry entries from x64 Windows 7
Booting with pe3_amd64.iso was tested by me and allows to Run 32-bits programs in x64 PE Environment.
After Install Hardware with PnPutil I could use PENetwork and use Internet with Portable Opera.

Allthough there is still a lot to be improved in pe3_amd64.iso , I think this result is worthwhile to share.

Required AIK for Windows 7 - KB3AIK_EN.iso - Microsoft - Windows PE 3.0
http://www.microsoft...;displaylang=en
Dism.exe of AIK must be version 6.1.7600.16385 (earlier version 7000 gives Errors)

Download - Make-PE3 - mirror

Guide with More Info:
http://www.911cd.net...o...21883&st=35

#97 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 17 April 2010 - 06:06 AM

*** Update of Make_PE3 package to Create Windows PE 3.0 + GUI ISO Boot Image ***

  • Added Explorer Shell with Program Menu
    Thanks to JFX and vvurat for help with needed registry settings
    http://www.boot-land...?...10862&st=57
    http://www.msfn.org/...pe-t143241.html
  • Added IME support which allows to write in Opera browser with Japanese, Korean or Chinese characters
    Thanks to ChinaDragon for making Input Method Editor (IME) support for Make_PE3
  • Source of Windows 7 files can be Drive or Path containing Windows folder
    or Path containing sources folder with file install.wim of Setup DVD
  • Filelist WIN7_add_files.txt has now leading backslash to allow easy comparison with Optimize_Profile.txt list
  • Optimization is only applied to 4 folders: winsxs fonts servicing and system32\wbem
    In this way we can keep all drivers and keyboard files and have a Universal pe3_x86.iso file of 160 MB
  • Solved a bug in GUI version of Make_PE3.exe which made program hang on second and next run in Windows 7 OS

x64 support to make pe3_amd64.iso needs still to be improved (mmc and explorer shell are not working yet),
but I miss the en-US 64-bit version of Windows 7 to collect the needed registry settings.
May be someone else can help me to improve x64 support.


Required AIK for Windows 7 - KB3AIK_EN.iso - Microsoft - Windows PE 3.0
http://www.microsoft...;displaylang=en
Dism.exe of AIK must be version 6.1.7600.16385 (earlier version 7000 gives Errors)

Download - Make-PE3 - mirror

Guide with More Info:
http://www.911cd.net...o...21883&st=35

=
Windows PE 3.0 with Explorer Shell and PStart Menu for Portable Programs
=
Posted Image
=
=

Windows PE 3.0 with Chinese Font and IME support for browsing Internet
=
Posted Image
=

#98 was_JFX

was_JFX

    Frequent Member

  • Advanced user
  • 483 posts
  •  
    Germany

Posted 20 April 2010 - 07:26 PM

x64 support to make pe3_amd64.iso needs still to be improved (mmc and explorer shell are not working yet),

MMC actually works nice ;)
For explorer shell you can take the registry files from Win7PE SE.
Minor thing: there are no shutdown shortcuts :ranting2:

For BSexplorer:

ExeName=X:\windows\Sysnative\mmc.exe
CmdParam=/b %SystemRoot%\Sysnative\diskmgmt.msc

Sysnative is okay for running x64 app from x86 bsexplorer
But the x64 app which receive command line (CmdParam) will not understand that Sysnative. just take system32 as usually.

:cheers:

BTW. Can you add following to MAKEPE3 waik detection
ElseIf FileExists&#40;EnvGet&#40;&#39;ProgramW6432&#39;&#41; & &#39;\Windows AIK\Tools&#39;&#41; Then

$AIK_Tools = EnvGet&#40;&#39;ProgramW6432&#39;&#41; & &#39;\Windows AIK\Tools&#39;


#99 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 21 April 2010 - 09:20 AM

MMC actually works nice :ranting2:
For explorer shell you can take the registry files from Win7PE SE.
Minor thing: there are no shutdown shortcuts :ranting2:


Thanks JFX for your help. :ranting2:

I will try to make it work.

:cheers:

#100 ktp

ktp

    Silver Member

  • Advanced user
  • 773 posts

Posted 23 April 2010 - 08:06 AM

How can I get support for screen resolution 1024x600 (netbook) ? Currently I have to use 800x600 resolution on such netbook, which is really painful.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users