Jump to content

Portable Windows 7 build from Winpe 3.0


Kullenen_Ask

Recommended Posts


Yes i solved but i don't know how. Now i have a 321mb base iso. It has all the files from 120mb base boot.wim plus all the files for wireless,networking,explorer shell etc... I didn't delete anything from boot.wim because i want it stay optimizable. Now this 321mb base wim is optimizable. It means i can add as much as want, boot, run the desired feature, take the profilling list and have the minimal file list for that function. From this 321mb wim i added .net2.0 +intel,nvdia,ati drivers, directx/opengl (game functionality) and nearly all mmc stuff and it is 380mb now.

i didn't do anything for iefix & wmvfix. just it was working. When you boot you will see my network error. Maybe you can solve and find the reason :)

Edited by Kullenen_Ask
Link to comment
Share on other sites

I see by your screenshot that you can access the internet (and use flash) in x64 WinPE. I'm not too concerned with IE, but can yours have the ability to view SVG files in IE? I've tried working on this (presumably if SVG can work in IE, then it can work in MSHTA) however the DLL that is used is 32bit and cannot be registered. Or is there perhaps another source besides Adobe to be able to view SVG in IE?

FWIW, IE needs a plug-in for SVG files that are interactive. As far as I know, other browsers like Firefox (haven't tested Chrome) do not fully support interactive SVGs, although that may change once more adoption of HTML5 and IE9 hits RTM.

Link to comment
Share on other sites

I arrenged everything to work x64bit only. Also x64 bit of mediaplayer works and default player. Program Files x86 complately empty. For flash support i installed flashplayer_square_p2_64bit_activex_092710.exe. I don't know what you mean with SVG? What is it's long name or meaning?

It was very difficult way for me to build everything x64. Because when you investigate registry deeply also you see that Microsoft doesn't support x64 environment much. It is designed to use iex86 and mpx86 mostly. I think it is a middle operating sytem between x86 to x64 transpassing until everybody decide to use x64 environments and x64 software supoort gets enough level. If i decided to build on x86 programs it would be much easy. I am not used to use x64 operating systems.

Before i decide i thought "If i build x64 why not everything be x64?" Maybe it could get me rid of lots of x86 files and smaller size. Because when i use iex86 and mpx86 i will need to put all mediafoundation, image system, codecs of x86 inside it too. Also now forexample media player uses some files from x86 folder but i think enough less amount. But understand that when somebody wants to use mostly x86 programs in a x64 winpe he should better prefer to use x86 winpe.

I think only aim of the people that desire to use x64 winpe is they want to get rid of more then 4gb ram limitation. For such people better thing is to use core x64 files and design winpe to work on x86 files mostly. But if somebody needs only specific x64 programs to run under winpe it is better to have full x64 support one.

In this winpe forexample i can not see eula screens. First i thouht i have got some missing x86 msthml.dll, mshta.dll, vbscript, jscript, ... files but i get bored to work only for it.

There is twice of everything in x64 environment. As well as files also there is a complate mirror of registry for x86 bit. Probably also 2 regsvr files should exist. One of it should be under system32 folder and other one should be under syswow64 folder. If you write regsvr32 probably it will use x64 one default and it will not let you register a x86 file. Did you try to write regsvr command with path spesific? Foreample "X:\windows\syswow64\regsvr32.exe file.ocx" But you should know that also x86 Flash.ocx can not be registered under x86 environment. Flash.ocx do not accept to be registered manually. Because of that i use installer always.

Maybe you can use a way i use sometimes. Install or register what you want on your own machine, track registry difference and add your winpe manually.

Edited by Kullenen_Ask
Link to comment
Share on other sites

I haven't had a problem with Flash so far but, now that I think of it, I never used it in x64. Flash for me in WinPE was in x86 and using Projector. Not sure if I have ever tried to make an x64 Projector or if it is possible. Currently, I do not have the resources to do WinPE testing like I used to, since my dev environment has changed radically. My only testing option is WinPE x64. The only reason why I am concentrating on x64 is becuase it can handle everything concerning deployments, with very few exceptions (such as creating recovery partitions with MBR.exe) so naturally I want to be able to do everything in x64.

SVG is Scalable Vector Graphics. It was something I worked on back in 2003 or so, building regular graphics and also interactive graphics. I had found in the IE9 platform previews that SVG is making a comeback. The reason why this is cool (and a good competitor for Flash) is that it is written as XML files. Originally, you could only use SVG files in IE using the Adobe SVG Viewer Plug-in/ActiveX control. In recent years, SVG has been viewable without a plugin in newer IE (I think 8, not sure about 7) and Firefox and Chrome. The problem is that you still need the plugin in IE to use interactive SVGs but in FF they will remain mostly static! I had originally written a website that was all XML and had no pictures except for SVG. I ended up killing that site because it only worked in IE with the plugin, so it wasn't a viable option. Even with today's browsers it doesn't display properly or at all in anything but IE.

The answer to this may lie in the IE9 beta for x64 but I don't have a system to try that on.

I have uploaded an example of an SVG I made earlier this year for fun (also to show off to a guy at work who was trying to out dev me lol) :sneaky:

http://tripredacus.net/test/svgtest.html

You can see the differences in this between IE and Firefox, so even using Firefox files to render SVGs is not an option, and there is no x64 SVG Viewer plugin from Adobe.

Wikipedia uses SVG a lot as well, especially for any articles with maps for countries, cities, etc. Their page is here:

http://en.wikipedia.org/wiki/Svg

Link to comment
Share on other sites

I tested and it doesn't show your web page. As wiki says

As of April 2010[update], Internet Explorer, up to and including IE8, the latest release, is the only current major browser not to provide native SVG support, although native support is partially available in Internet Explorer 9 Platform Preview[53]: Current IE versions require a plug-in to render SVG content.

I didn't try to download and install a plug-in. It can not show also nature ie8 doesn't support it without using 3rd party plug-ins.

Edited by Kullenen_Ask
Link to comment
Share on other sites

  • 3 weeks later...

I didn't put search functionality in my builds ever. Because when i was put it also i was puting searchindexing. As i understand search indexing gets winpe unstable (as much as i know) It try to search all locations and try to index files. I saw in a friends winpe and it was working and decided to see what can i do. I have put theese files only

noise.dat

tquery.dll

mssrch.dll

naturallanguage6.dll

WindowsSearchComponent-ppdlic.xrm-ms

and it works. I advise disable searchindexing . Probably when you don't put WSearch it will work too. Also do not put

searchindexer.exe


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\services\WSearch]
"Start"=dword:00000004

For registry stuff it will need

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows Search]

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ContentIndex]

full branches.

I have WSearchIdxPi service but i guess it doesn't need too. Because i do not have performance ini files in my inf folder.

Edited by Kullenen_Ask
Link to comment
Share on other sites

  • 3 weeks later...

Windows 7 SP1 RTM 7601.17514.101119-1850 prerelease. Build all from sp1 files and registry. It is very difficult because i believe sp1 is NOT released yet. It can be seen from files and registry. Drivers inf's are not complated. It could be better i worked on after microsoft formally release. Difficult part finished and remaning will be finish a few days i think.

th_asdsdf.jpg

unfortunately microsoft did not release a proper sp1 integrated build (in my opinion) as you can see from original iso. Because that it will be difficult and timeconsuming to work on a sp1 winpe. I stop working on it.

th_notsame.jpg

Edited by Kullenen_Ask
Link to comment
Share on other sites

i don not know. Just i want to do that. There will be new usb3.0 support and remotefx. If i can get remote drivers to work. 2 remote video save drivers makes bluescreen now (RDPENCDD,RDPREFMP).


RemoteFX is a new set of technologies that will be integrated into the Remote Desktop Protocol (RDP) to improve the remote end-user experience by building on the improvements Windows 7 and Windows Server 2008 R2 made related to bi-directional audio, Windows Media Player playback redirection to the client, and desktop composition (enabling remote Aero).

Edited by Kullenen_Ask
Link to comment
Share on other sites

  • 3 months later...

Hi guys, excellent work!

I trying to make a minimal WinPE to run especific programs, but i have 2 problems.

1) i cant get Windows Installer to work.

2) i cant get VB2008/2005 redistributable to install

about the 2nd once i know its work because using "make PE3" msi installer does work, but it cant install.

Thi is the scritp to generate the winpe i got so far... what i need to add to "register" the msiexec and his service?

call copype.cmd x86 c:\winpe_x862

copy c:\winpe_x862\winpe.wim c:\winpe_x862\ISO\sources\boot.wim

DISM /Mount-Wim /WimFile:C:\winpe_x862\winpe.wim /index:1 /MountDir:C:\winpe_x862\mount

DISM /image:C:\winpe_x862\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-wmi.cab"

DISM /image:C:\winpe_x862\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\en-us\winpe-wmi_en-us.cab"

DISM /image:C:\winpe_x862\mount /Add-Package /PackagePath:"C:\Program Files\Windows AIK\Tools\PETools\x86\WinPE_FPs\winpe-hta.cab"

DISM /image:c:\winpe_x862\mount /Add-Driver /driver:%OLDDIR%\Basic_Drivers\ /recurse

xcopy /y %olddir%\network.bat C:\winpe_x862\mount\Windows\System32\

xcopy /y %olddir%\startnet.cmd C:\winpe_x862\mount\Windows\System32\

xcopy /y C:\Windows\System32\msihnd.dll C:\winpe_x862\mount\Windows\System32\

xcopy /y C:\Windows\System32\msiexec.exe C:\winpe_x862\mount\Windows\System32\

xcopy /y C:\Windows\System32\msisip.dll C:\winpe_x862\mount\Windows\System32\

xcopy /y C:\Windows\System32\msimsg.dll C:\winpe_x862\mount\Windows\System32\

xcopy /y C:\Windows\System32\msiltcfg.dll C:\winpe_x862\mount\Windows\System32\

xcopy /y C:\Windows\System32\msi.dll C:\winpe_x862\mount\Windows\System32\

xcopy /y /i C:\Windows\System32\wbem\msi.mof C:\winpe_x862\mount\Windows\System32\wbem\

xcopy /y /i C:\Windows\System32\wbem\msiprov.dll C:\winpe_x862\mount\Windows\System32\wbem\

xcopy /y /i C:\Windows\System32\wbem\en-us\msi.mfl C:\winpe_x862\mount\Windows\System32\wbem\en-us\

xcopy /y /i C:\Windows\System32\wbem\es-ES\msi.mfl C:\winpe_x862\mount\Windows\System32\wbem\en-us\

reg load HKLM\_WinPE_SYSTEM c:\winpe_x862\mount\windows\system32\config\system

reg.exe add "HKLM\_WinPE_SYSTEM\ControlSet001\Services\FBWF" /v "WinPECacheThreshold" /t REG_DWORD /d "512" /f

reg unload HKLM\_WinPE_SYSTEM

Dism /Unmount-Wim /MountDir:C:\winpe_x862\mount\ /Commit

copy c:\winpe_x862\winpe.wim c:\winpe_x862\ISO\sources\boot.wim /Y

Link to comment
Share on other sites

Try these


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\services\TrustedInstaller]
"BlockTime"=dword:00002a30
"BlockTimeIncrement"=dword:00000384
"PreshutdownTimeout"=dword:0036ee80
"DisplayName"="@%SystemRoot%\\servicing\\TrustedInstaller.exe,-100"
"Group"="ProfSvc_Group"
"ImagePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,65,00,72,00,76,00,69,00,63,00,69,00,6e,00,67,00,5c,\
00,54,00,72,00,75,00,73,00,74,00,65,00,64,00,49,00,6e,00,73,00,74,00,61,00,\
6c,00,6c,00,65,00,72,00,2e,00,65,00,78,00,65,00,00,00
"Description"="@%SystemRoot%\\servicing\\TrustedInstaller.exe,-101"
"ObjectName"="localSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000010
"ServiceSidType"=dword:00000001
"FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\services\TrustedInstaller\Security]
"Security"=hex:01,00,14,80,90,00,00,00,a0,00,00,00,14,00,00,00,34,00,00,00,02,\
00,20,00,01,00,00,00,02,c0,18,00,00,00,0c,00,01,02,00,00,00,00,00,05,20,00,\
00,00,20,02,00,00,02,00,5c,00,04,00,00,00,00,02,14,00,ff,01,0f,00,01,01,00,\
00,00,00,00,05,12,00,00,00,00,00,18,00,ff,01,02,00,01,02,00,00,00,00,00,05,\
20,00,00,00,20,02,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,04,\
00,00,00,00,00,14,00,8d,01,02,00,01,01,00,00,00,00,00,05,06,00,00,00,01,02,\
00,00,00,00,00,05,20,00,00,00,20,02,00,00,01,02,00,00,00,00,00,05,20,00,00,\
00,20,02,00,00

[HKEY_LOCAL_MACHINE\SYSTEM_00\ControlSet001\services\msiserver]
"DisplayName"="@%SystemRoot%\\system32\\msimsg.dll,-27"
"ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\
00,73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,\
56,00,00,00
"Description"="@%SystemRoot%\\system32\\msimsg.dll,-32"
"ObjectName"="LocalSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000010
"DependOnService"=hex(7):72,00,70,00,63,00,73,00,73,00,00,00,00,00
"ServiceSidType"=dword:00000001
"RequiredPrivileges"=hex(7):53,00,65,00,54,00,63,00,62,00,50,00,72,00,69,00,76,\
00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,\
74,00,65,00,50,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,50,00,72,00,69,\
00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,00,6f,00,63,00,\
6b,00,4d,00,65,00,6d,00,6f,00,72,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,\
00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,\
73,00,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00,6f,00,72,00,69,00,74,\
00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,\
65,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,\
00,65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\
00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,\
00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,\
69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\
00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,\
66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,\
00,65,00,50,00,72,00,6f,00,66,00,69,00,6c,00,65,00,53,00,69,00,6e,00,67,00,\
6c,00,65,00,50,00,72,00,6f,00,63,00,65,00,73,00,73,00,50,00,72,00,69,00,76,\
00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,\
72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,\
00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,\
47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\
00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,\
72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,\
00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,\
73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\
00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,00,65,00,\
51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\
00,65,00,00,00,53,00,65,00,53,00,68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,\
50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,\
00,61,00,6b,00,65,00,4f,00,77,00,6e,00,65,00,72,00,73,00,68,00,69,00,70,00,\
50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,\
00,6f,00,61,00,64,00,44,00,72,00,69,00,76,00,65,00,72,00,50,00,72,00,69,00,\
76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
"FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\
00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\MsiCorruptedFileRecovery]

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\MsiCorruptedFileRecovery\CorruptedFiles]
"SameIdMax"=dword:00000001
"AnyIdMax"=dword:00000014
"TimeWindowMinutes"=dword:000005a0

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows\CurrentVersion\Installer]
"InstallerLocation"="X:\\Windows\\system32\\"

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...