Help - Search - Members - Calendar
Full Version: Make-PE3 Program to Create Portable Windows 7 PE
The CD Forum > The CD Forum > Windows PE
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9
wimb_2
=

*** Make_PE3 Program to Create Portable Windows 7 PE ***

Make_PE3 can be used in Windows 8/7/XP Multi-Boot environment
Source can be fresh installed Win7 SP0 without Updates or Win7 DVD SP0 or SP1 - x86 or x64 versions

Without AIK you can use Make_PE3 to make in about 4 minutes 7pe_x86.iso
from Winre.wim in Recovery folder and by using Dism.exe of Windows 7 Source Drive
Thanks to tsetya for publishing this easy way to create Windows 7 PE
http://www.boot-land.net/forums/index.php?showtopic=11801

7pe_x86.iso = Win7 Recovery ISO with Windows 7 GUI , and made from Winre.wim or boot.wim and without AIK
pe3_x86.iso = AIK Windows PE 3.0 with Windows 7 GUI , and made from winpe.wim by using AIK

Start once Make_PE3 in Windows 7 Or in environment with Installed Windows 7 AIK to auto-collect AIK_Tools.
AIK_Tools folder in Make_PE3 is the place where used tools as Dism.exe and imagex.exe and oscdimg.exe are collected.

Portable Windows 7 PE is a bootable ISO with size of about 300 MB
The Boot ISO files are made by adding to boot.wim about 700 files and some registry settings of Windows 7
Thanks to JFX for pioneering work on Win7PE_SE which is an important source of info for me
http://www.boot-land.net/forums/index.php?showtopic=10693

BOOT_IMG.exe can be used to install the ISO files as boot option in grub4dos Menu on HDD or USB
Moreover, BOOT_USB.exe of IMG_XP package can be used to create bootable USB-stick with Portable Windows 7 PE
http://www.911cd.net/forums//index.php?showtopic=24424

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

Known issue:
Previous use of WimFltr v.1 by e.g. imagex version 6.0.6001 (e.g. for making BB-7PE or W7PEX)
would result in reg load error when using Make_PE3 programs, but the program will detect and STOP before building 7 PE
It means that when Make_PE3 has mounted boot.wim with Dism, that reg load of PE registry would fail.
Solution: simply Reboot before using Make_PE3 programs to STOP WimFltr v.1

Portable 7 PE x86 has 4 Versions differing in size and functionality:
- MIN and BS Explorer version are booting fast and meant for PC repair purpose (Device and Disk Management available)
- Explorer version has Internet Explorer 8 and Themes and is meant for general purpose
- Media version has Windows Media Player and DirectX and is meant for MultiMedia purpose


Download - Make_PE3

It is required to extract Make_PE3.exe to the root of your drive

- Download VLC Media Player for PStart menu from
http://portableapps.com/apps/music_video/vlc_portable
Run VLCPortable_1.1.4.paf.exe
Browse to your \Make_PE3\MULTI\PStart\Progs folder
Install in your \Make_PE3\MULTI\PStart\Progs\VLCPortable folder

Copy PStart folder and wallpaper.jpg and drv folder with drivers as normal from Make_PE3\MULTI to root of HDD or USB boot drive.




Optimize and Reduce Size
The difference between 7pe and pe3
- 7pe is made without using AIK and is made from Recovery boot image winre.wim on Win 7 drive or from boot.wim on DVD
- pe3 is made using AIK for Win7 and is made from winpe.wim boot image present in AIK
- 7pe contains Recovery software in folder sources which is missing in pe3
- pe3 option NO Reduce of size has /Enable-profiling which allows to make Optimization profile (see WinPE.chm help in WAIK)
This filelist of all used files in PE is saved by command

CODE
wpeutil saveprofile E:\Optimize_Profile.txt "Image Optimization Profile"

Such optimization filelist of NEEDED files can be used to remove files from next build when you want to reduce size of the ISO.
But you need to do first all operations in PE that you want to use and keep .....


Make_PE3_plugins
Adding Programs before building the 7 PE ISO - The easiest way is to make use of plugins for Make_PE3 package.
Make_PE3_Flash_V11.exe - Adobe Flash Player Version 11 - x86 and x64 support for Google Maps and YouTube

The plugin has the same folder structure as Make_PE3 and to insert the plugin you can
Extract Make_PE3_Flash_V11.exe to the same drive as where Make_PE3 folder is located.

The Make_PE3_plugins.exe are selfextracting packages with addons, and containing files, registry and drivers for apps,
and which contain Start Menu and Desktop icons and have similar folder structure as in Make_PE3 and as in 7 PE and Windows 7.
Registry exported from Windows 7 or 7 PE can be used as reg files in the plugins, so that they can be made easily.
The Export registry must be made suitable for import in the from PE3 loaded SYSTEM SOFTWARE and DEFAULT hive and have keys like

[HKEY_LOCAL_MACHINE\PE3-SYSTEM\..........
[HKEY_LOCAL_MACHINE\PE3-SOFTWARE\..........
[HKEY_LOCAL_MACHINE\PE3-USER\..........

In this way we can share and exchange easily plugins packages with addons. thumbup.gif
As exemple you may download Make_PE3_plugins.exe for adding imaging software to Make_PE3 folder to build Portable 7 PE
Run and Extract Make_PE3_plugins.exe in the same way as you did for Make_PE3.exe

The file Readme_plugins_files.txt gives more Info on how to use this (empty) Make_PE3_plugins.exe

Download empty Example for plugins - Make_PE3_plugins


Guide with More Info:
http://www.911cd.net/forums//index.php?sho...21883&st=35
http://www.msfn.org/board/topic/143529-mak...e-windows-7-pe/


Development and historical thread here:
http://www.boot-land.net/forums/index.php?showtopic=10250

=
User Interface of Make_PE3.cmd Batch Program to Create 7pe_x86.iso Boot Image
=
Click to view attachment
=

=
User Interface of Make_PE3.exe Program to Create 7pe_x86.iso Boot Image
=
Click to view attachment
=

Portable Windows 7 PE - Wireless Internet with IE8 and working Audio
=
Click to view attachment
=
davlak
Wonderful tool, thank you! happy62.gif

I can't have my language interface (italian) either using c:\ or dvd as source, but this is really a very little problem.
wimb_2

*** Update of Make_PE3 package to Create Portable Windows 7 PE ***

  • Changed - X:\Program Files in Links was changed to %programfiles% or %programfiles(x86)%
    Thanks to Lancelot for giving this solution to have correct Links fot IE8 and PENetwork
  • Changed - imagex parameters in Make_PE3.exe are now absolute path with surrounding double quotes
    Hopefully this helps to solve problem in x64 environment in some cases
  • Changed - Setting Locale TimeZone is removed in case of winre.wim ,because of long timeout delay
  • Added - Program Version is now visible in running program - latest version is 1.0

wimb_2
QUOTE (davlak @ Jul 5 2010, 09:28 AM) *
Wonderful tool, thank you! happy62.gif

I can't have my language interface (italian) either using c:\ or dvd as source, but this is really a very little problem.

Thanks for your reply thumbup.gif

You mean Setting System Locale in program to Italian does Not work ?
Or do you expect Italian language in Menu's of Windows 7 PE ?
davlak
well I have to make a correction: using dvd as source gave me most of menu into italian, desktop included, and system locale too, but only with the original italian dvd (I mean not an english one with IT language packageg included into the install.wim).
sorry for my previous mistake wink.gif

BTW: it's incredible that my comment is the only one in the thread! this is a very interesting tool and a great job!
thanks again.
CCWorks
Cheers m8, outstanding work. sorcerer.gif This is the FIRST pe maker outside of WAIK that has worked out of the box. drooling.gif thumbsup.gif sorcerer.gif Absolutely nice work! Now, I have a question, how do I modify to add tools and tweak it to what I need for what I do?
wimb_2
QUOTE (CCWorks @ Jul 10 2010, 02:54 AM) *
Cheers m8, outstanding work. sorcerer.gif This is the FIRST pe maker outside of WAIK that has worked out of the box. drooling.gif thumbsup.gif sorcerer.gif Absolutely nice work! Now, I have a question, how do I modify to add tools and tweak it to what I need for what I do?

Thanks for testing and good to know that Make_PE3 is working so well for you. thumbup.gif

In folder PE3_mod you find file Customize_Info.txt with usefull info.

The idea is to keep the ISO small for fast booting and adding portable programs in PStart or ASuite Menu.
On making program changes you don't need to rebuild the ISO
and the same portable programs can be used (from USB-stick) also when not booting with the PE ISO.
Programs that you really want to add to the ISO go in folder PE3_add\x86

More Info in the guide here
http://www.911cd.net/forums//index.php?sho...21883&st=35

wimb_2
*** Update of Make_PE3 package to Create Portable Windows 7 PE ***


This update concerns mostly a lot of improvement for x64 support, especially for making 7pe_amd64.iso

  • Added - Turkish tr-TR as Distribution Language - Thanks to Kullenen_Ask for telling me Turkish was missing.
  • Changed - In Make_PE3.exe xcopy is used instead of DirCopy, needed for copying IE8 and other folders in x64 OS
  • Changed - latest AutoIt3 version 3.3.6.1 was used to compile Make_PE3.exe
  • Added - in Make_PE3.cmd one can Select now AIK Tools folder e.g. on drive not being C:
  • Added - Wireless Internet Support in 7pe_amd64.iso (seen for first time working ?)
  • Added - Wordpad, Paint and Photo Viewer working in 7pe_amd64.iso
  • Changed - x64 Shortcut Links e.g IE8 Icon on Desktop is now working in 7pe_amd64.iso
  • Changed - Program Version - latest version is now 1.1


Known issues in 7pe_amd64.iso and pe3_amd64.iso:
in pe3_amd64.iso only BS Explorer Shell is working selectable via PEShell
No wallpaper support yet in amd64 ISO versions
Audio Fix is not working yet in amd64 ISO versions
Setting Screen Resolution only works via PEShell for amd64 versions

Most interesting x64 build is 314 MB 7pe_amd64.iso made directly from winre.wim on Selected x64 Windows 7 drive
It has Wireless Internet with IE8 and Wordpad, Paint and Photo Viewer working thumbup.gif

CCWorks
Wimb, you have accomplished what I have been trying to do for months, hats off to you m8. I have another question for you. I only want to use explorer as shell, how do I change desktop icons and start menu? I love your work, Keep it up!!!! sorcerer.gif
wimb_2
QUOTE (CCWorks @ Jul 12 2010, 01:09 AM) *
Wimb, you have accomplished what I have been trying to do for months, hats off to you m8. I have another question for you. I only want to use explorer as shell, how do I change desktop icons and start menu? I love your work, Keep it up!!!! sorcerer.gif

Thanks for your reply smile.gif

Using PEShell has the advantage that on crash you fallback into PEShell and can continue.
Also PEShell allows to Set Screen Resolution in amd64 builds.
However, using Explorer Shell only can be set in winpeshl.ini in folder
Make_PE3\PE3_mod\PE3_add\x86\Windows\System32

CODE
[LaunchApps]
"X:\Windows\explorer.exe"
"X:\Windows\system32\startnet.cmd"


Desktop Icons are generated in running 7 PE and then copied to:
Make_PE3\PE3_mod\PE3_add\x86\Windows\System32\config\systemprofile\Desktop

Start Menu is generated in running 7 PE and then copied to:
Make_PE3\PE3_mod\PE3_add\x86\ProgramData\Microsoft\Windows\Start Menu
wimb_2
*** Update of Make_PE3 package to Create Portable Windows 7 PE ***

  • Added - SetACL.exe is used for amd64 ISO version to Set permission for import of CLSID registry in SOFTWARE hive
  • Added - IE8 custom registry settings added in PE3_CUSTOM.reg for amd64 ISO versions
  • Changed - In all Runwait and ShellExecuteWait of Make_PE3.exe
    now parameters have absolute path with surrounding double quotes,
    in order to solve path problem encounterd by Kullenen_Ask
  • Changed - Program Version - latest version is now 1.2


Most interesting x64 build is 312 MB 7pe_amd.iso made directly from winre.wim on Selected x64 Windows 7 drive
It has Wireless Internet with IE8 and Wordpad, Paint and Photo Viewer working

JFX
QUOTE (wimb_2 @ Jul 12 2010, 10:58 AM) *
*** Update of Make_PE3 package to Create Portable Windows 7 PE ***
Nice done clap.gif

QUOTE (wimb_2 @ Jul 12 2010, 10:58 AM) *
[*]Added - SetACL.exe is used for amd64 ISO version to Set permission for import of CLSID registry in SOFTWARE hive

SetACL only for x64 builds hmm.gif What's with restricted_clsid.reg on x86 whistling.gif
wimb_2
QUOTE (JFX @ Jul 12 2010, 05:45 PM) *
Nice done clap.gif


SetACL only for x64 builds hmm.gif What's with restricted_clsid.reg on x86 whistling.gif

Thanks for your reply smile.gif

The restricted_clsid.reg on x86 are imported at runtime and don't give problem than.

trizet did a good job in separating the Classes registry into two parts,
so that it is not needed to use SetACL.exe in case of x86 builds.

For amd64 builds I follow your approach of using SetACL.exe to get permission for import of all Classes into PE SOFTWARE registry hive.
Thanks JFX for all your work on Windows 7 PE . sorcerer.gif
Without your scripts it would not have been possible for me to give support for amd64 ISO versions.

Following your penetwork.script I could not get wireless internet working in 7pe_amd64.iso
Then I decided to use the WLAN HotFix for 64-bits 7 PE and that worked for me.
Can you get wireless internet connection with win7pe_SE and x64 source ?
May be I am missing some file or setting. Can you have a look at it ?
Without using the WLAN HotFix in my amd64 builds made with Make_PE3, then
Wlansvc service is running, but the list of available networks remained empty.

Thanks to trizet we can use now winre.wim of Recovery folder and Dism.exe of drive where Windows 7 is installed,
so that you don't need WAIK and you don't need to mount install.wim of Setup DVD.
Everything is available on the Windows 7 drive and you can use Make_PE3 program to build in 5 minutes
your portable Windows 7 PE ISO of about 200 MB (x86) or 300 MB for x64

Cheers,

wimb
CCWorks
Thanks to all who had input to this project!!!! Awesome work to all. Last question to the group, when I boot from PE,pe sees the windows 7 - 100 MB hidden drive and assigns it C: any way to get c: moved to the right partition? What did you have to do to get explorer working also?
wimb_2
For Explorer Shell in 7 PE you need to get files and registry keys of Windows 7
The Winlogon key of PE must be changed by setting Shell, DefaultUserName and DefaultPassword

Windows 7 Files needed for Explorer Shell see filelist - Make_PE3\PE3_mod\WIN7_add\x86\WIN7_add_explor.txt

Windows 7 Registry Keys needed see - Make_PE3\PE3_mod\PE3_reg\x86\PE3-SOFTWARE_WLAN.reg

CODE
; needed for explorer.exe to be used as Shell

[HKEY_LOCAL_MACHINE\PE3-SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"Shell"="explorer.exe"
"DefaultUserName"="Administrator"
"scremoveoption"="0"
"ShutdownFlags"=dword:00000007
"ForceAutoLogon"=dword:00000001
"DefaultPassword"="1"
"Background"="167 202 240"

; DesktopBackground - Sky=167 202 240 and Sea=10 59 118


; needed for using explorer.exe and control.exe

[HKEY_LOCAL_MACHINE\PE3-SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer]


; Needed - Svchost is general Start of services

[HKEY_LOCAL_MACHINE\PE3-SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost]


I don't know how to prevent hidden partition getting driveletter C: in 7 PE
I don't have hidden partition on my computer .....
JFX
QUOTE (wimb_2 @ Jul 12 2010, 07:03 PM) *
Can you get wireless internet connection with win7pe_SE and x64 source ?

Yes I can connect with WPA2 on all sources the win7 pe se support. Well only have a Ralink RT2860 device (with driver v3.01) to test it.


I tried with your Make_PE3 amd64, but PENetwork/MMC can not install the driver (driver integrated with make_pe3 drivers folder)

To get it install properly i needed to copy wwaninst.dll to system32 dir and vwifibus.sys to Windows\Inf dir???? ermm.gif .

Atfer this I can run PENetwork and it detects my wlan card and can successfully connect to WPA2 encrypted network sorcerer.gif .

Both these files I don't have on 7pe se builds. wacko.gif



BTW: You can save ~15MB space of the x64 wim file, by copying the same imageres.dll that you have in system32 folder to syswow64.

This file has no code in it, only resources so no problem for x86 apps to use it.



Your startnet.cmd checking all drives for pstart.exe, this gives me to error message "No Disk", guess because of card reader.


Also you may want to set the system profile to X:\Users\Default instead of \system32\config\systemprofile

CODE
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFT\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18]
"ProfileImagePath"="X:\\Users\\Default"

This will avoid x64 and x86 apps see a different profile.

Cheers
wimb_2
@JFX

Thanks for testing and giving a lot of interesting info sorcerer.gif

The fact that wireless is working for you in Win7PE_SE for x64 builds without using the WLAN HotFix,
means that I have to search deeper for a solution to do it without the HotFix.

Intersesting your results with Ralink RT2860 in Make_PE3 builds.
Copying vwifibus.sys to the inf folder remembers me to a similar solution I used to get hdaudio working in 7pe_x86 builds.
It means that the system won't let the .inf find the driver unless it is placed next to the inf in the same folder.
I tried several ways but only got the driver installed when the .sys was placed in the inf folder. thumbsup.gif
May be you can try to add DP_WLAN_wnt6-x64_1004\x64\W\Ralink\5\Win7x64
There is a coinstaller given as RaCoInstx.dll
http://driverpacks.net/driverpacks/latest

Cardreader drives indeeed can be troublesome in searching for PStart.
On my computer I don't have the problem and I tried already to use code that limits the problem.
But may be I have got to limit the search for PStart even more.
It is not such a severe problem since you can always press continue.

Changing the system profile location is a nice solution and
copying imageres.dll from the system32 folder is a good idea.

thumbup.gif
jaclaz
QUOTE (wimb_2 @ Jul 14 2010, 08:29 AM) *
It means that the system won't let the .inf find the driver unless it is placed next to the inf in the same folder.
I tried several ways but only got the driver installed when the .sys was placed in the inf folder. thumbsup.gif


As a general rule, that should mean that the .inf needs to be modified, possibly it defaults to current (the one with the .inf) directory since it cannot find the one where the .sys should be (according to info in the .inf). unsure.gif

jaclaz
wimb_2
@JFX

I have on my Medion akoya P6613 also Ralink RT2860 for WLAN and used for testing (first time) 7pe_amd64.iso of Make_PE3.exe
The driver is not installed by PENetwork or MMC unless I also copy wwaninst.dll to system32 dir and vwifibus.sys to Windows\Inf dir
so that vwifibus.sys is present next to netvwifibus.inf
The driver is also installed when vwifibus.sys and netvwifibus.inf are omitted.
So it seems the Virtual WiFi Bus is not needed.

So this confirms your observation. thumbup.gif

@jaclaz
The .inf files expect the drivers to be in system32\drivers folder.
Just placing them there does not work, the Win7 system has to do it for you,
but that process fails, unless the driver vwifibus.sys is placed next to the .inf file in inf folder, so that there is no need to search ....
May be we can solve this also by letting Dism install vwifibus.sys driver in DriverStore\FileRepository
instead of copying vwifibus.sys to inf folder. (Edit: this idea does not work for me)

Dism has made folder netr28x.inf_amd64_neutral_.... in DriverStore\FileRepository for Ralink RT2860
so that is OK and driver is ready for being used.
wimb_2
*** Update of Make_PE3 package to Create Portable Windows 7 PE ***

  • Added - vwifibus.sys is copied to inf folder next to netvwifibus.inf which enables driver install needed for some WLAN - Ralink RT2860
  • Changed - Limited search for PStart and ASuite to avoid cardreader empty drive issue (press Continue)
  • Changed - Set system profile to X:\Users\Default instead of \system32\config\systemprofile
    This determines also the place for Desktop icons and will avoid x64 and x86 apps see a different profile.
  • Changed - Windows Explorer Shortcut such that USB-drives when connected after boot are recognised.
  • Changed - Program Version - latest version is now 1.4

Thanks to JFX for helpful support. thumbup.gif

Most interesting x64 build is 312 MB 7pe_amd.iso made directly from winre.wim on Selected x64 Windows 7 drive
It has Wireless Internet with IE8 and Wordpad, Paint and Photo Viewer working

sanbarrow


Wow - very impressive work - thanks a lot for sharing it.

Best of all - I could start to customize it without reading any instructions - very well done.

Question: I need support for MSI-packages - do you know if this is possible with a 64bit build ?

Ulli
JFX
@Wimb
Thanks this solves error message on start for me.

You can completely avoid error message by using autoit for pstart search,
by hijacking Wallcmd.exe it would not even make the build bigger smile.gif

for x86: "X:\Program Files\wall-cmd\Wallcmd.exe" /AutoIt3ExecuteScript "PStart.au3"
for x64: "X:\Program Files (x86)\wall-cmd\Wallcmd.exe" /AutoIt3ExecuteScript "PStart.au3"

Click to view attachment


Well I tried all possible builds/sources again, win7pe_se and your Make_PE3.
But even if I remove the integration of the WLAN hotfix on x64, it works alright for me.


I noticed a flickering on your Make_PE3 GUI cause by CheckGo() function permanent updating $ComboArch and co.
Here is small change to calm this. Click to view attachment

BTW: imdiskinst.exe in make_pe3 package is outdated http://www.ltr-data.se/files/imdiskinst.exe wink.gif

@CCWORKs
If you boot the MsDart 6.5 it ask to rearrange the drive letter, may this can somehow use for other PE3 too.


@sanbarrow
There is no much difference between x86 and x64.
For win7pe_se you just need to copy msi*.* files to system32 folder and import the service registry key \SYSTEM\ControlSet001\Services\MSIServer.
After a net start MSIServer most msi packages will install correctly.

Make_PE3 has much smaller registry so it may requires more research.
jeffspeff
This helped me out quite a bit. I was attempting to recreate most of that the hard way. I do have a few questions though. I've found a hard way of installing more apps to the image by booting into it (from usb) installing the apps, using 'total uninstaller' to track changes made by apps, manually export all changed reg keys and manually back up all files from x:\ to a folder on a different hard disk; then I reboot back into windows, load the wim with dism manually copy all the files back, load the remote registry hives and import my reg settings back in and then commit my new wim file.

Is there an easier way to perform the above? Like some flag or switch or something to make the wim file commit changes when it shuts down?

Also, on some application installs, i'm getting an error having something to do with 'side by side'. I don't remember exactly, I haven't seen it often, but is there a fix for that?

Thanks for your help and the great tool! Very much appreciated.
jaclaz
QUOTE (jeffspeff @ Jul 21 2010, 07:51 AM) *
Also, on some application installs, i'm getting an error having something to do with 'side by side'. I don't remember exactly, I haven't seen it often, but is there a fix for that?

In a nutshell, most if not all "side by side" related errors mean that you are missing some file (actually folder containing files) in %windir%\WinSXS\ directory.
It means that the app uses not the "standard" windows file (usually a .dll) but rather a "special" version in WinSXS.

jaclaz
Overburn
This is a nice tool. Is there an easy way (or any way) to add your own programs into the build? I'm so used to the old pebuilder wizard with plugins and .inf files.
wimb_2
@JFX
Thanks for your interesting solutions for search of PStart and for the one to avoid GO flickering.
Nice to hear that WLAN on x64 works alright for you also without using the HotFix.
In the next build I will make suitable changes.

@sanbarrow
Thanks for your kind words and your interest in Make_PE3
The files needed for msi installer are already on the WIN7_add_explor.txt list.
I will have have a look at MSIServer registry and may be we can start MSIServer through startnet.cmd


@jeffspeff and @overburn
Yes you can add your own programs to the ISO which is especally useful for imaging software.
Create folder to add files in Make_PE3\PE3_mod\PE3_add\x86\Program Files
Add registry in PE3-SYSTEM_CUSTOM.reg and PE3-SOFTWARE_CUSTOM.reg

For adding programs to earlier build, you can use the Remake Option of Make_PE3
so that you make use of the already collected Windows 7 files.
That is easier than mounting boot.wim and changing registry hives manually.

Read also the given file Customize_Info.txt
In general you would like to keep the ISO small for fast booting and add portable programs to PStart Menu,
so that they are not part of the ISO and can be used on any occasion.

And have a look at work of oriensol which has been added to Make_PE3 package
http://www.boot-land.net/forums/index.php?showtopic=11819


Overburn
Thank you wimb_2.

I actually tried to add my programs through the Remake Option, but the added folders didn't show up in the booted CD. I deleted both .iso files before using the Remake Option. Before I booted the .iso, I remounted the boot.wim to verify that my programs were saved, they were there. But as I stated earlier, when I booted the .iso, they were not there. Strange.
wimb_2
QUOTE (Overburn @ Jul 22 2010, 05:13 PM) *
Thank you wimb_2.

I actually tried to add my programs through the Remake Option, but the added folders didn't show up in the booted CD. I deleted both .iso files before using the Remake Option. Before I booted the .iso, I remounted the boot.wim to verify that my programs were saved, they were there. But as I stated earlier, when I booted the .iso, they were not there. Strange.

May be you added to \WIN7_add\x86\Program Files
instead of to \PE3_add\x86\Program Files

The PE3_add location is meant to add to PE3 your custom folders and files,
whereas the WIN7_add location is used to collect and copy files by the Make_PE3 program
as described in WIN7_add_explor.txt file of needed Windows 7 files.
JFX
QUOTE (jeffspeff @ Jul 21 2010, 06:51 AM) *
Also, on some application installs, i'm getting an error having something to do with 'side by side'. I don't remember exactly, I haven't seen it often, but is there a fix for that?

SxS_7PE_SFX.7z Should solve most Side by Side errors.

Run it after you booted in to your win7PE, do NOT run this in a normal windows installation.
wimb_2
QUOTE (JFX @ Jul 25 2010, 05:26 PM) *
SxS_7PE_SFX.7z Should solve most Side by Side errors.

Run it after you booted in to your win7PE, do NOT run this in a normal windows installation.

Is it advisable to run this fix at PE boottime, or is it meant to be used manually in case needed ?

Then something else:
For PE x64 support in Make_PE3, I miss an important registry part, so that e.g. fileselector of 32-bits programs does not appear.

What I need is a clean [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node] key of x64 Windows 7

I have got such key, but mixed up with a lot of software classes (Office Nero Winamp)
Using this one in Make_PE3 solves already the fileselector problem of 32-bits programs, but it would be better to use a clean one.

Has anyone for me a registry export file of clean [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node] key of x64 Windows 7

MSI Installer is working now for me in 7pe_x86.iso builds.
In 7pe_amd64.iso then the MSI Installer does still complain of being not installed properly,
allthough MSI files and msiserver registry were supplied and MSI Server has Started.
Do you have a solution for MSI Installer in x64 builds ?

By adding some more system32 files I could solve the problem of pictures not appearing in IE8.
Even Google Maps is now running in IE8 (in both pe x86 and x64 builds).

Thanks and Cheers,

wimb
ChinaDragon
Just un-install the AIK English version and download the Simplified Chinese Version

Required AIK for Windows 7 - KB3AIK_CN.ISO - Microsoft - Windows PE 3.0, extract it and install to your machine.


Start Make_PE3.cmd
Choice 0 for change System Locale
Select "c" for zh-CN
Press 4 to Get Windows 7 Files and use AIK to Make pe3_x86.iso

finally, I get a Simplified Chinese version PE3,
like this
KB3AIK_CN


Just un-install the AIK Chinese CN version and download the Traditional Chinese Version

Required AIK for Windows 7 - KB3AIK_TW.ISO - Microsoft - Windows PE 3.0, extract it and install to your machine.


Start Make_PE3.cmd
Choice 0 for change System Locale
Select "w" for zh-TW
Press 4 to Get Windows 7 Files and use AIK to Make pe3_x86.iso

finally, I get a Traditional Chinese version PE3,
like this
KB3AIK_TW
wimb_2
QUOTE (ChinaDragon @ Jul 29 2010, 03:53 PM) *
Just un-install the AIK English version and download the Netherlands Version

Very good, but there is a small typo (2x) Netherlands,
which should be of course Simplified Chinese and Traditional Chinese version respectively thumbsup.gif

Thanks for illustrating here the Chinese versions of Portable Windows 7 PE

thumbup.gif
ChinaDragon
German versions of Portable Windows 7 PE
KB3AIK_DE

wimb_2
QUOTE (ChinaDragon @ Jul 29 2010, 08:35 PM) *
German versions of Portable Windows 7 PE

Very nice illustration of Portable Windows 7 PE with native language user interface.

To make it complete:
The Chinese HK version and the Netherlands version were given earlier by ChinaDragon here:
http://www.911cd.net/forums//index.php?sho...21883&st=72

thumbup.gif
JFX
QUOTE (wimb_2 @ Jul 29 2010, 06:47 AM) *
Is it advisable to run this fix at PE boottime, or is it meant to be used manually in case needed ?
It is needed only for apps that require the visual c++ runtimes from 2005 or 2008.
Would use it on demand (the x64 sfx properly never will be needed).


QUOTE (wimb_2 @ Jul 29 2010, 06:47 AM) *
For PE x64 support in Make_PE3, I miss an important registry part, so that e.g. fileselector of 32-bits programs does not appear.
What I need is a clean [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Wow6432Node] key of x64 Windows 7

Here you have registry file and also included Smss.exe patch - will avoid rare app crash's (VMWare Thinapp packages) on x64 PE's.
This would cause pagefile creation so Win7_NoPageFile.reg is needed.

QUOTE (wimb_2 @ Jul 29 2010, 06:47 AM) *
MSI Installer is working now for me in 7pe_x86.iso builds.
In 7pe_amd64.iso then the MSI Installer does still complain of being not installed properly,
allthough MSI files and msiserver registry were supplied and MSI Server has Started.
Do you have a solution for MSI Installer in x64 builds ?
Depending on the msi package the msi* files must also be present on the syswow64 folder

By adding support for windows installer it will be recommended to increase the WinPECacheThreshold (256MB or 512 MB)



I see you have the error reporting files (wer*.*) present on MakePE3, are they needed for something?

Before i forget please add msvcirt.dll to syswow64 folder.


wimb_2
QUOTE (JFX @ Jul 30 2010, 11:27 AM) *
Here you have registry file and also included Smss.exe patch - will avoid rare app crash's (VMWare Thinapp packages) on x64 PE's.
This would cause pagefile creation so Win7_NoPageFile.reg is needed.

Hi JFX,

Thanks a lot for the Wow6432Node registry files sorcerer.gif

That is really what I needed most to further improve x64 support.

I added already the MSI files to SysWow64 folder, but that did not work yet.
I will try to increase the WinPECacheThreshold

The wer*.* files are may be not needed, but they were the result of using the Dependency Walker

Cheers,

thumbup.gif
ChinaDragon
French versions of Portable Windows 7 PE
KB3AIK_FR



and it is the last......
happy71.gif
ChinaDragon
@Wimb_2

Is it possible to add AIK language detection for the variable Lang and DistLang at the make_pe3 line 75 / 76
CODE
for %%v in (en-US,en-GB,fr-FR,de-DE,it-IT,nl-NL,es-ES,pt-PT,tr-TR,sv-SE,ru-RU,ja-JP,ko-KR,zh-CN,zh-HK,zh-TW) do @if exist !Tools!"\%ARCH%\%%v" set Lang=%%v
SET DistLang=%Lang%
SET bcdLang=%Lang%
IF "%Lang%"=="zh-HK" (
  SET bcdLang=zh-TW
)

user still can change the locale by option '0'

Also add new variable bcdLand that same as Lang / DistLang, it is used to update the bcd file before building the iso files
CODE
::bcdedit /store %PEWork%\ISO\bcd /enum all
bcdedit /store %PEWork%\ISO\bcd /set {default} locale %bcdLang%
bcdedit /store %PEWork%\ISO\bcd /set {bootmgr} locale %bcdLang%
bcdedit /store %PEWork%\ISO\bcd /set {memdiag} locale %bcdLang%


Sorry for my bad English and hope you can understand what I mean...... sweatingbullets.gif
wimb_2
Hi ChinaDragon,

Yes, I will add Auto Seting Language as you proposed thumbsup.gif

Thanks for giving the code, that makes things easier for me to add what you have in mind.
sanbarrow
@ JFX

I tried your VC-runtime patch but unfortunately it does not work for me.
I still have to install vcredist_x64 manually each time I boot.

Does anybody know what maybe the reason that my build imediatly freezes as soon as I try to copy a file to a mapped network-share ?

Anyway - I am making progress - I have Virtualbox running now ... still fighting sidebyside issues with VMware Workstation



@ wimb and JFX thumbup.gif
JFX
@wimb
for windows installer both Wow6432Node regfiles are required.



QUOTE (sanbarrow @ Jul 30 2010, 07:45 PM) *
I tried your VC-runtime patch but unfortunately it does not work for me.
I still have to install vcredist_x64 manually each time I boot.

hmm, ok one problem i fixed - using run64.exe before executing regedit, next time will check it before uploading sweatingbullets.gif

new one: SxS_7PE_SFX.7z

Vmware workstation may requires both sfx's (x86/x64) but comes the installation package not with it own Side by Side files?

I try to get Vmware player to work if i find some time


JFYI Regshot2 (best registry capture tool for x64)
MF Mirror regshot-2.0.1.70.rar

Other thing what you mean by:
QUOTE
Major drawbacks
- system boots X: from a WIM - so stuff like dotnet maybe harder then before with X: on NTFS

You can relocate the Microsoft.NET and the assembly folder, so both don't have to be on drive X:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework]
"InstallRoot"="B:\\NET35\\Microsoft.NET\\Framework\\"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Fusion]
"CacheLocation"="B:\\NET35\\"

ChinaDragon
Korean versions of Portable Windows 7 PE
KB3AIK_KO


Japanese versions of Portable Windows 7 PE
KB3AIK_JA
wimb_2
*** Update of Make_PE3 package to Create Portable Windows 7 PE ***


  • Added - Wow6432Node registry for support of 32-bits programs in 7pe_amd64.iso builds
    Thanks to JFX for making the registry files - Fileselectors work very well now
  • Added - SxS_7PE_SFX_x86.exe added in System32 and made by JFX to solve Side by Side errors - Run manually from System32
  • Added - MSI Installer- working now in x86 and x64 versions
    Thanks to JFX, dera, Kullenen_Ask and Zetup-EXE
  • Changed - Search for PStart and ASuite to avoid cardreader empty drive issue using AutoIt3 routine made by JFX
  • Added - Auto setting of System Locale proposed by ChinaDragon and derived from WAIK if available
  • Added - Picture support in IE8 e.g. Google Maps working now
  • Added - Portable QtWeb Internet Browser and Explorer++ FileManager
  • Added - Wheel Mouse registry - e.g. convenient in Google maps
  • Added - User Pinned Start Menu and Taskbar for Quick Launch of programs
  • Removed - WLAN HotFix for x64 builds - Not needed anymore
  • Changed - Program Version - latest version is now 1.5


The 7pe_amd64.iso version of Portable Windows 7 PE is working now almost perfect, thanks to JFX sorcerer.gif
thumbup.gif

Known issue to be fixed:
In x64 PENetwork - Sharing by Start of Lanman server fails (some missing file ?)

Requirements and Info - See post #1

Future developments:
Optional Removal of IE8 - to reduce size
Moreover, it is better to use instead Portable QtWeb from PStart Menu


wimb_2
QUOTE (ChinaDragon @ Aug 1 2010, 01:22 PM) *
Korean versions of Portable Windows 7 PE

Japanese versions of Portable Windows 7 PE

Hi ChinaDragon,

Thanks for Korean and Japanese version of Portable Windows 7 PE thumbup.gif

On testing Make_PE3.cmd with Chinese HK version,
I discovered that there is a small error in the program at line 1926
You need there in the EXIST test of bcdedit also absolute path like this:

CODE
IF "%bcdLang%" NEQ "en-US" (
  IF EXIST "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" (
    "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {default} locale %bcdLang%
    "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {bootmgr} locale %bcdLang%
    "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {memdiag} locale %bcdLang%
  )
)
ChinaDragon
QUOTE (wimb_2 @ Aug 2 2010, 02:40 PM) *
Hi ChinaDragon,

Thanks for Korean and Japanese version of Portable Windows 7 PE thumbup.gif

On testing Make_PE3.cmd with Chinese HK version,
I discovered that there is a small error in the program at line 1926
You need there in the EXIST test of bcdedit also absolute path like this:

CODE
IF "%bcdLang%" NEQ "en-US" (
  IF EXIST "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" (
    "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {default} locale %bcdLang%
    "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {bootmgr} locale %bcdLang%
    "%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {memdiag} locale %bcdLang%
  )
)


Amended and will test it, thank you laugh.gif
JFX
@wimb

Thanks for new version thumbsup.gif

I sadly don't know what the reason behind net Sharing problem on x64 builds.

Do you know what was the the exact requirement for WLAN for you, to work without hotfix?


On amd64 build the SxS_7PE_SFX_x86.exe will be required for x86 processes too, both sfx could be put outside of the wim file so loading time can be minimized.

For your Pstart.au3 swap lines 26 and 27. The StringLeft has effect on @error


wimb_2
QUOTE (JFX @ Aug 2 2010, 05:05 PM) *
Do you know what was the the exact requirement for WLAN for you, to work without hotfix?

After study of the effect of the HotFix, I concluded there were without HotFix 2 missing files.
I added two files, that were missing in my WIN7_add_explor.txt of version 1.2 of July 12
CODE
\Windows\System32\wbem\l2gpstore.mof
\Windows\System32\wbem\en-US\l2gpstore.mfl

But also I decided to folow your way of launching configdot3svc.cmd with start.cmd
because SkipWaitForNetwork was not set correctly before (to be sure I also added this setting in PE3_CUSTOM.reg)
Anyway it is working now OK.

QUOTE (JFX @ Aug 2 2010, 05:05 PM) *
On amd64 build the SxS_7PE_SFX_x86.exe will be required for x86 processes too, both sfx could be put outside of the wim file so loading time can be minimized.
You mean I can put them in ISO\Windows\System32 folder ?

QUOTE (JFX @ Aug 2 2010, 05:05 PM) *
For your Pstart.au3 swap lines 26 and 27. The StringLeft has effect on @error

Thanks, that will explain the error that Vortex reported about
http://www.boot-land.net/forums/index.php?...1852&st=113

thumbup.gif
ChinaDragon
QUOTE (ChinaDragon @ Aug 2 2010, 07:53 PM) *
Amended and will test it, thank you laugh.gif

@wimb_2

It work fine now, but when I change the source to En for building PE with zh-HK language suport, the bcdLang can not be change!
Start make_pe3.cmd
select 0 for System Locale (default is en-US clap.gif )
choice z for zh-HK language support
select 4 for Get Windows 7 Files and use AIK to Make pe3_x86.iso
Finally it cannot jump into the new routine for change the bcd setting, after adding the dubug message, found the bcdLang keep as es-US, I will try to modify the "Select locale part" for test....

Oo, 3:25 AM here, goto sleep sweatingbullets.gif , Good night everybody

wimb_2
Thank again for your GREAT tools and excellence support .
wimb_2

Quick Fix of PStart.au3 Error - Please Redownload Make_PE3.exe
ChinaDragon
QUOTE (ChinaDragon @ Aug 3 2010, 03:07 AM) *
@wimb_2

It work fine now, but when I change the source to En for building PE with zh-HK language suport, the bcdLang can not be change!
Start make_pe3.cmd
select 0 for System Locale (default is en-US clap.gif )
choice z for zh-HK language support
select 4 for Get Windows 7 Files and use AIK to Make pe3_x86.iso
Finally it cannot jump into the new routine for change the bcd setting, after adding the dubug message, found the bcdLang keep as es-US, I will try to modify the "Select locale part" for test....

Oo, 3:25 AM here, goto sleep sweatingbullets.gif , Good night everybody

wimb_2
Thank again for your GREAT tools and excellence support .


Finally I modify a bit for including the "set bcdLang=..." start from Line 359
QUOTE
IF "!Lang!"=="" (
SET Lang=en-US
echo.
echo Language Letter is NOT Valid - Use Default = !Lang!
echo.
pause
) else (
SET DistLang=%Lang%
SET bcdLang=%Lang%
IF "%Lang%" == "zh-HK" (
SET bcdLang=zh-TW
)
)
goto _main


Test Ok for both KB3AIK_EN and KB3AIK_HK,
Start make_pe3.cmd
select 0 for System Locale (default is en-US and zh-TW:clap: )
choice z for zh-HK language support
select 4 for Get Windows 7 Files and use AIK to Make pe3_x86.iso
Finally, setting the bcd's locale to zh-TW with regional setting for Hong Kong is fine for me, happy68.gif .

at the other hand, I still studying to include the language support for the boot screen (the running bar), give me some time for test and will report the result later
QUOTE
if exist "%Tools%\%PARCH%\%bcdLang%" xcopy "%Tools%\%PARCH%\%bcdLang%\*.*" "%PEWork%\ISO\boot\%bcdLang%\"
"%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {default} locale %bcdLang%
"%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {bootmgr} locale %bcdLang%
"%TP%\AIK_Tools\%PARCH%\bcdedit.exe" /store "%PEWork%\ISO\boot\bcd" /set {memdiag} locale %bcdLang%

have fun and sorry for my bad English ......

happy71.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.