Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Portable Windows 7 build from Winpe 3.0

- - - - -

  • Please log in to reply
224 replies to this topic

#76
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

Hi Kullenen_Ask :hello:

@ xnbya : Can you provide a full file list of what you have added from install.wim or files that you can delete please?
It's a very good question :thumbup
Kulenen, can you compare your files/directory from finalPE.wim with Boot.wim ?

Good to seen WMP12 play Video :yes:
Have you register DLL, ACX or ACM files; and if So/Yes, which precisely ?
Thanks


Kulenen, can you compare your files/directory from finalPE.wim with Boot.wim ?
i dont understand compare with what?

Have you register DLL, ACX or ACM files; and if So/Yes, which precisely ?
i didnt any. use classes.hiv as i did. maybe i can register xvid codecs only manually and backup classes.hiv.

read post #74 IMPORTANT UPDATE

Edited by Kullenen_Ask, 26 May 2010 - 06:07 AM.



How to remove advertisement from MSFN

#77
ludo

ludo

    Newbie

  • Member
  • 35 posts
  • Joined 21-April 10
  • OS:Windows 7 x86
  • Country: Country Flag
Kulenen, can you compare your files/directory from finalPE.wim with Boot.wim ?
i dont understand compare with what?

Difference between Boot.wim (Original from Microsoft) and your WIN7PE.WIM (Your final Creation)
Thanks

#78
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

Kulenen, can you compare your files/directory from finalPE.wim with Boot.wim ?
i dont understand compare with what?

Difference between Boot.wim (Original from Microsoft) and your WIN7PE.WIM (Your final Creation)
Thanks


how can i compare all the files and show all difference? maybe can be for system32 folder only. if optimization.txt usefull can attach it. i think nobody finds optimizatin files usefull. there is no feedback about them.

Edited by Kullenen_Ask, 26 May 2010 - 09:40 AM.


#79
ludo

ludo

    Newbie

  • Member
  • 35 posts
  • Joined 21-April 10
  • OS:Windows 7 x86
  • Country: Country Flag
how can i compare all the files and show difference? maybe can be for system32 folder only. if optimization.txt usefull can attach it.

Personnaly, i use JdirPrint in the goal to have all the listing of all the directory
After, i use Notepad++ (With Compare Plugin) and compare the two TXT files create by JdirPrint(Directory Listing of Original Boot.wim and Win7PE.wim).
maybe can be for system32 ?
If you can to be in root directory, it's better :}

Edited by ludo, 26 May 2010 - 09:42 AM.


#80
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

how can i compare all the files and show difference? maybe can be for system32 folder only. if optimization.txt usefull can attach it.

Personnaly, i use JdirPrint in the goal to have all the listing of all the directory
After, i use Notepad++ (With Compare Plugin) and compare the two TXT files create by JdirPrint(Directory Listing of Original Boot.wim and Win7PE.wim).
maybe can be for system32 ?
If you can to be in root directory, it's better :}


i couldnt succeded at notepad++ part. also optimization will get it difficult. you can compare.

Edited by Kullenen_Ask, 30 September 2010 - 09:49 AM.


#81
Lancelot_Real

Lancelot_Real

    Junior

  • Member
  • Pip
  • 99 posts
  • Joined 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag
Hi Küllenen Aşk,
For compare, my favorite (which is also portable)
http://winmerge.org/
use WinMergeU.exe

To demonstrate usage I compared xpsp2 to xpsp3:

To have a "quick" compare
Edit-->Options-->Compare==> File Compare Method: Modified Date
http://img109.images...10/75422850.png

Drag and Drop 2 folders (here I use H:\XPSP2_Enu\ and H:\XPSP3_Enu\)
and do not forget to enable "subfolder" checkbox
http://img28.imagesh...18/22909495.png
and Click OK

After list created, I clicked "Comparison Result" to get different files list at top. (which most needs I guess :whistle: )
http://img85.imagesh...00/58370256.png

Than Click "Tools-->Generate Report"
http://img101.images...95/76324054.png
I used "Tab-seperated list"
http://img72.imagesh...20/62378262.png

Result is: http://lancelot.winb...enenasktest.rar

To open, I use spread32 (free)
http://www.byedesign.co.uk/
File of Type: choose --> Tab delimeted text
http://img269.images...51/19976417.png
after a simple resize on columns one will get a nice list.....
http://img190.images...66/44793815.png


I hope you like, keep good work. :thumbup

#82
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
we don't look for hash comparation. at least not now. we only look for extra files. i don't need to compare anything i only try to help for everyone can do it on his own and to find exact files. if you work on the files i gave and tell us the results it will be more helpfull. also i can share my knowledge and mix all.

#83
Lancelot_Real

Lancelot_Real

    Junior

  • Member
  • Pip
  • 99 posts
  • Joined 14-November 07
  • OS:XP Pro x64
  • Country: Country Flag

we don't look for hash comparation.

I know, neither did i

To have a "quick" compare
Edit-->Options-->Compare==> File Compare Method: Modified Date
http://img109.images...10/75422850.png

anyway, it was just an idea to show an easy way (once practiced you will see) about providing difference between Boot.wim and your WIN7PE.WIM. Rest is up to you.

#84
ludo

ludo

    Newbie

  • Member
  • 35 posts
  • Joined 21-April 10
  • OS:Windows 7 x86
  • Country: Country Flag
Hi Küllenen Aşk :hello: ,

Can you share; again; optimized 186mb wim built from base wim and your base wim with integrated. srt,wds,wmi,hta,scripting packages. no pppoe and wireless package, without size, attribute, date Time in Display Tab of JdirPrint (It's more easy for me to extract ;) )
Thanks you very much :thumbup

#85
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
i think your dreams getting reality ludo. maybe i am lucky about winpe. wish i can be lucky at life too.

here you go. working some msi installers. don't ask about framework anymore. don't think to work on it any. maybe only about embedded framework 2 package.

Posted Image

tested
MSDownloadManager.msi
HijackThis.msi
Orca.Msi

very easy. i don't know how it couldnt succeeded by anyone yet. i couldn't before too.

System32 folder with mui:
msi.dll
msiexec.exe
msihnd.dll
msimsg.dll
msisip.dll
msiltcfg.dll

wbem folder:
en-US\msi.mfl
msi.mof
msiprov.dll

register files in system32 folder. some doesn't don't care. only bad part working meebo web site doesn't work anymore after optimization. when i try messenger i took "not enough space" error. 32mb scratch space not enough. maybe i should increase it to 64mb. when i fix it now it gives strange error with numbers.

Tricks:
*If you optimize your wim always put X:\Windows\inf\*.inf and X:\Windows\System32\drivers\*.sys files back to your wim. They won't take much space then a few Mb's in your wim. It will be universal for most of hardwares.
*Before optimization run all the command tools you want to keep (exp:ipconfig,chkdsk,netstat,format,...) or add them back to your wim after optimization.
*ntshrui.dll - need for right click properties file sharing tab
shpafact.dll - need for right click properties file sharing tab advanced
aclui.dll - need for right click properties security ownership tab
asycfilt.dll - need for malwarebytes antimalware to work in your pe

added msi files, all inf files, all sys files, mfc40.dll,mfc42.dll,msvbvm60.dll,msvcp60.dll, and some other. now meebo working (no need for msn or else if it works for me). msi working. portable msn 7.5 working. web cam not works and doesn't show missing file (probably classes reg some dll file register issue). wim size 193mb. only missing is explorer doesnt mount usb drives after optimization.

04:17Am :(

Edited by Kullenen_Ask, 30 September 2010 - 09:49 AM.


#86
supalerk

supalerk
  • Member
  • 1 posts
  • Joined 08-June 10
  • OS:Windows 7 x86
  • Country: Country Flag
Oh so good
thank.

#87
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
you are wellcome

#88
ludo

ludo

    Newbie

  • Member
  • 35 posts
  • Joined 21-April 10
  • OS:Windows 7 x86
  • Country: Country Flag
hi Kullenen_Ask :hello:

Sorry for my late reply, but i can now, with your help to have aero classic theme s:thumbup
My link

i think your dreams getting reality ludo :yes:
And good result with your MSI Tips, i can install all the package ;) :D and net framework V2 work also; but NetFramework is a big update of 100Mo, for boot.wim


*ntshrui.dll - need for right click properties file sharing tab
shpafact.dll - need for right click properties file sharing tab advanced
aclui.dll - need for right click properties security ownership tab
asycfilt.dll - need for malwarebytes antimalware to work in your pe

And

twext.dll - need for right click properties file Previous Version tab

I can't to have Video in my Windows Media Player 12 :huh: , but i don't have DirectX functional
Can you help me to have Video and DirectX in my PE :huh:

Edited by ludo, 14 June 2010 - 02:32 PM.


#89
ludo

ludo

    Newbie

  • Member
  • 35 posts
  • Joined 21-April 10
  • OS:Windows 7 x86
  • Country: Country Flag
hi Kullenen_Ask :hello:

Sorry for my late reply, but i can now, with your help to have aero classic theme s:thumbup
Posted Image

i think your dreams getting reality ludo :yes:
And good result with your MSI Tips, i can install all the package ;) :D and net framework V2 work also; but NetFramework is a big update of 100Mo, for boot.wim


*ntshrui.dll - need for right click properties file sharing tab
shpafact.dll - need for right click properties file sharing tab advanced
aclui.dll - need for right click properties security ownership tab
asycfilt.dll - need for malwarebytes antimalware to work in your pe

And

twext.dll - need for right click properties file Previous Version tab

I can't to have Video in my Windows Media Player 12 :huh: , but i don't have DirectX functional
Can you help me to have Video and DirectX in my PE :huh:

#90
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
aero in system user or administrator? how do you know directx functional or not? if dxdiag works is it means directx works too? did you do post 74 IMPORTANT UPDATE part and it doesnt work? shouldn't be directx problem. i don't do anything for to have directx fucntionality then adding only software directx related keys. (they have in name not difficult to understand. at root tree) it is probably classes hiv problem. did you put xvid files too?

Edited by Kullenen_Ask, 14 June 2010 - 03:17 PM.


#91
ludo

ludo

    Newbie

  • Member
  • 35 posts
  • Joined 21-April 10
  • OS:Windows 7 x86
  • Country: Country Flag
Hi Kullenen_Ask :hello:
aero in system user or administrator?
In Administrator mode as you ;)

how do you know directx functional or not? if dxdiag works is it means directx works too?
Test with Windows Seven Screensaver, if the screensaver is display it's good for DirectX :thumbup

Have you progress with Windows Embedded Standard 2011 ?

#92
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
if you install .net framework after capture ramdisk as image and use as pe with .net functionality. with mounting images and working, copying thousands of files my hdd coming end of its life. i stopped working on it now. if movies plays i don't need screensaver. i had only one working embedded pe. main difference is it works only with 5 or 6 processes and works more fast from windows 7 based image with same functionality. as packages integrated they looks working more stable and looks more like installed system then manually editing. this wim was made from install.wim after packages installed and winpe registry and files used mix. my target is a winpe serviceable as install.wim and dism should see it as install.wim and capable of adding packages. i think it should be possible but need hard work. and probably it wont install every package.

This is where i stop until i feel i need more stuff. 196mb windows files+ 53mb software=249mbwim. Flash player integrated. If watch carefully can see playing online videos from internet explorer(sound works too). And other shells can be seen too. No need for a micro edition if explorer shell will be used and the difference is only 15mb. micro died. i didnt try any of builds in real system except this. this tested in 2 complately different system without problem. i dont think any of it will have problem in real systems.



Edit: Just some improvements.
*system32\iedkcs32.dll gives a better ie support.
***Open command shell in your pe. use "netsh" command and add the listed missing files to your pe. they are nearly 2.5mb and will give you better networking support. when you open your network cards properties you will have more tabs and settings. Also there was registry keys in system.hiv that call networking helper dll files.

if you want a service in your winpe. easiest way is

on your working windows 7 operating system.
1-)download process monitor. (procmon. systernals)
2-)run it. clean all events.
3-)open service manager
4-)go to the service you want.
5-)disable if it is working.
6-)run procmon.
7-)without loosing time try to run the service
8-)when it say it started again without loosing time stop procmon.
9-)you will have the list of registry keys and files that service need to run.
10-)in winpe be sure about services file paths
\systemroot\system32\.... ----->False
systemroot\system32\.... ------>True

You should be sure about all paths on all keys registry of course not only services ;)

Edited by Kullenen_Ask, 30 September 2010 - 09:50 AM.


#93
carenot

carenot
  • Member
  • 4 posts
  • Joined 30-June 10
  • OS:none specified
  • Country: Country Flag

hi Kullenen_Ask :hello:

Sorry for my late reply, but i can now, with your help to have aero classic theme s:thumbup
Posted Image

i think your dreams getting reality ludo :yes:
And good result with your MSI Tips, i can install all the package ;) :D and net framework V2 work also; but NetFramework is a big update of 100Mo, for boot.wim


*ntshrui.dll - need for right click properties file sharing tab
shpafact.dll - need for right click properties file sharing tab advanced
aclui.dll - need for right click properties security ownership tab
asycfilt.dll - need for malwarebytes antimalware to work in your pe

And

twext.dll - need for right click properties file Previous Version tab

I can't to have Video in my Windows Media Player 12 :huh: , but i don't have DirectX functional
Can you help me to have Video and DirectX in my PE :huh:


could you give me any tips on what is required for aero theme

#94
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
it is not works with system user as far as we know for now. When you will boot your winpe it will be system user after boot. as i understand all sessions are terminal service sessions. maybe system user is not because log off button works in administrator user only. only working button in explorer start menu is change user button as system user. do you have a winpe that explorer enabled? my latest experiments i saw that you will need userenv.dll,logoncli.* and logonui.exe files in system32 folder for change user(not sure other need files but sure about theese). you need sessionenv, themes and seclogon(maybe not really need but prefered)service to work. also dwmcore.dll need for aero. registry keys for user profiles is below, you need to add it too. this keys will tell the system that there are administrator, guest ... users exist and their profile paths is ... I can advise a few more files to add too. UIAutomationCore.dll, themecpl.dll, themeservice.dll, themeui.dll, thumbcache.dll

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\ProfileList]
"ProfilesDirectory"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,\
  00,69,00,76,00,65,00,25,00,5c,00,55,00,73,00,65,00,72,00,73,00,00,00
"Default"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,\
  76,00,65,00,25,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,44,00,65,00,66,\
  00,61,00,75,00,6c,00,74,00,00,00
"Public"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,00,76,\
  00,65,00,25,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,00,50,00,75,00,62,00,\
  6c,00,69,00,63,00,00,00
"ProgramData"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,44,00,72,00,69,\
  00,76,00,65,00,25,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,44,00,\
  61,00,74,00,61,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18]
"Flags"=dword:0000000c
"State"=dword:00000000
"RefCount"=dword:00000001
"Sid"=hex:01,01,00,00,00,00,00,05,12,00,00,00
"ProfileImagePath"=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,63,00,6f,00,6e,00,66,00,69,00,67,00,5c,00,73,00,79,00,73,00,74,00,65,\
  00,6d,00,70,00,72,00,6f,00,66,00,69,00,6c,00,65,00,00,00

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19]
"ProfileImagePath"=hex(2):58,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,\
  00,73,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,50,00,72,00,6f,00,\
  66,00,69,00,6c,00,65,00,73,00,5c,00,4c,00,6f,00,63,00,61,00,6c,00,53,00,65,\
  00,72,00,76,00,69,00,63,00,65,00,00,00
"Flags"=dword:00000000
"State"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20]
"ProfileImagePath"=hex(2):58,00,3a,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,\
  00,73,00,5c,00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,50,00,72,00,6f,00,\
  66,00,69,00,6c,00,65,00,73,00,5c,00,4e,00,65,00,74,00,77,00,6f,00,72,00,6b,\
  00,53,00,65,00,72,00,76,00,69,00,63,00,65,00,00,00
"Flags"=dword:00000000
"State"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE_00\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-3149542145-3322839065-4058237693-500]
"ProfileImagePath"=hex(2):58,00,3a,00,5c,00,55,00,73,00,65,00,72,00,73,00,5c,\
  00,41,00,64,00,6d,00,69,00,6e,00,69,00,73,00,74,00,72,00,61,00,74,00,6f,00,\
  72,00,00,00
"Flags"=dword:00000000
"State"=dword:00000304
"Sid"=hex:01,05,00,00,00,00,00,05,15,00,00,00,01,33,ba,bb,19,80,0e,c6,fd,ca,e3,\
  f1,f4,01,00,00
"ProfileLoadTimeLow"=dword:00000000
"ProfileLoadTimeHigh"=dword:00000000
"RefCount"=dword:00000001

at my latest post i gave a link about whats going on at change user process. explore it and add files in there.

Change user process log file in a winpe. It is very usefull for people who knows to use it. Can see which files and what keys used. Opening,closing session and login.
Usage: Procmon.exe /OpenLog Logfile.PML
http://hotfile.com/d...ogfile.rar.html 

Note: Make_pe3 was supporting change user at latest version. Only need to get themes service to work for get aero.

Edited by Kullenen_Ask, 15 July 2010 - 03:38 AM.


#95
chadbeckner

chadbeckner
  • Member
  • 1 posts
  • Joined 01-April 10
  • OS:Windows 7 x64
  • Country: Country Flag
Can someone help me out on a few things, I would greatly appreciate it. I am using Virtual PC on Windows 7 x64 to test the .iso, but the Windows 7 x86 disk as my base.

1. How can I integrate the drivers necessary for video, lan, etc. (Specifically for Virtual PC)?
2. I have seen many posts (specifically on this site) saying that you have .NET 2.0 working, but with all the posts, I'm not sure what to do. I already have a working version using WinPE 2.0, but can't seem to figure out *exactly* what to do with WinPE 3.0 and Make_PE.
3. When I bring up Google using IE 8, it displays very weird and doesn't show images. Some other sites do display the images.
4. How do I integrate Flash?
5. Using the "My Computer" desktop shortcut, when I format my attached virtual drive, and create it as a C:, it doesn't show. It only shows when I use the "Explorer" shortcuts.

I am used to using WinBuilder, and am trying out Make_PE so I'm a little on the learning curve here. I am not using this only for myself, but for my co-workers and anything I can do to make their lives easier is my primary goal.

Thank you.

Edited by chadbeckner, 18 July 2010 - 10:34 PM.


#96
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag

Can someone help me out on a few things, I would greatly appreciate it. I am using Virtual PC on Windows 7 x64 to test the .iso, but the Windows 7 x86 disk as my base.

1. How can I integrate the drivers necessary for video, lan, etc. (Specifically for Virtual PC)?
2. I have seen many posts (specifically on this site) saying that you have .NET 2.0 working, but with all the posts, I'm not sure what to do. I already have a working version using WinPE 2.0, but can't seem to figure out *exactly* what to do with WinPE 3.0 and Make_PE.
3. When I bring up Google using IE 8, it displays very weird and doesn't show images. Some other sites do display the images.
4. How do I integrate Flash?
5. Using the "My Computer" desktop shortcut, when I format my attached virtual drive, and create it as a C:, it doesn't show. It only shows when I use the "Explorer" shortcuts.

I am used to using WinBuilder, and am trying out Make_PE so I'm a little on the learning curve here. I am not using this only for myself, but for my co-workers and anything I can do to make their lives easier is my primary goal.

Thank you.


Wooow. You listed all mutual problems that everybody wants to fix in such a short questionare. I want to explaine all i can from my side of vision.

1. How can I integrate the drivers necessary for video, lan, etc. (Specifically for Virtual PC)?
- Previously i was integrating with dism. I saw that it creates some increasing number folder structure in windows folder and puts drivers in it (Maybe only for scsi drivers or maybe all type of drivers.) Probably adds drivers paths to registry for search for too. It's advantage is drivers will be different folders that you can see seperately. For me disadvantage is if you add many drivers folder number increase too many. Here is microsoft page explain how to add drivers to an offline wim. http://technet.micro...289(WS.10).aspx If you search from internet you can find better explanations to use dism to inject drivers also with automized batch files. http://www.msfn.org/...drivers-failed/
Now i don't use dism to integrate drivers. Just the time of writing also i am working on some wireless driver problems too. The way i use i manually put inf files to inf folder, sys files to sys folder, some dll stuff if it exist to system32 folder. For cat files you can put in inf folder or catroot folder. In Setupapi.dev.log it writes for catalog files that "Driver package does not contain a catalog file, but error is ignored in WinPE." i think it means no need for cat files.

Setupapi.dev.log file is the main place for to check driver related problems. It is in inf folder after you boot in your Winpe. It will say you which files absent and can understand all driver load process.

In winpe drivers can be in windows\inf,system32\drivers folder distributed AND Windows\System32\DriverStore\FileRepository folder in folder collected. Same drivers i think so will not take double space. Also in winsxs folder there are such driver folders but i belive they are not used in winpe.

Driver loading secuence is it reads the inf file copies driver files to folders they should be and adds registry stuff from inf file. In our winpe all drivers will be in it's folders. Here is some code from my Setupapi.dev.log

SourcePath   - [X:\windows\TEMP\{15cd5da9-6090-4975-e04d-1b242890a82e}]
     flq:                               SourceFile   - [netrasa.inf]
     flq:                               Flags        - 0x00000000
     flq:                          {_commit_copyfile}
     flq:                               CopyFile: 'X:\windows\TEMP\{15cd5da9-6090-4975-e04d-1b242890a82e}\netrasa.inf'
     flq:                                     to: 'X:\windows\System32\DriverStore\Temp\{3a598889-617c-3343-4ec0-d046c162df77}\SET7722.tmp'
     flq:                               MoveFile: 'X:\windows\System32\DriverStore\Temp\{3a598889-617c-3343-4ec0-d046c162df77}\SET7722.tmp'
     flq:                                     to: 'X:\windows\System32\DriverStore\Temp\{3a598889-617c-3343-4ec0-d046c162df77}\netrasa.inf'
     flq:                          {_commit_copyfile exit OK}
     flq:                     {_commit_copy_subqueue exit OK}
     flq:                {_commit_file_queue exit OK}

     dvi: Set selected driver complete.
     dvi: {Plug and Play Service: Device Install for ROOT\MS_NDISWANBH\0000}
     ump:      Creating Install Process: DrvInst.exe 15:47:53.564
     ndv:      Infpath=X:\windows\INF\oem0.inf
     ndv:      DriverNodeName=netrasa.inf:Msft.NTx86:Ndi-Mp-Bh:6.1.7600.16385:ms_ndiswanbh
     ndv:      DriverStorepath=X:\windows\System32\DriverStore\FileRepository\netrasa.inf_x86_neutral_096721844805d01f\netrasa.inf
     ndv:      Building driver list from driver node strong name...

From my very past experinces that years before from the time of pebuilder and windows xp i was using infcachebuild.exe to fix copy files sections. it removes all copy lines and temp folder don't get used also driver load process time decreases. From that time to now vista and windows 7 entered to our life and i don't know driver inf's chnaged and infcachebuild.exe works complately ok in windows 7 drivers. When used on all windows\inf folder "i think" not works fully ok with all inf's but doesn't give problem too. Also FileRepository folder infs should be changed with same infs.

I couldn't get video drivers to load in winpe else then standart vga. I got
Error:
dispci.dll: OnInstallDevice: Not allowing install of video device.

For other drivers i should say that i don't know the exact way of integrating drivers. also when you don't use the infcachebuild it doesn't effects to much. I also use vmware to test all and never get need to add vmware specific drivers in build. After i get more experience about wireless drivers on my friends 2 netbooks i can share my findings.

As the wimb suggested in it's build to copy vwifibus.sys to inf folder i succesfully get work a broadcom wireless card to work after i copy a sys file to in inf folder. Strange part i fixed it's inf file with infcachebuild. It should't try to copy from inf folder to drivers folder but it wants. Maybe need more manual modification at inf file. At my real system tests wireless and hdaudio drivers wants to be in inf folder. other most of the other drivers loaded successfully. Need more real systems to test. Also i saw that battery icon in system tray work fully ok in netbook.

Andddd. Infcache builder only puts ";" front of "copyfiles" sections. but when you look inside inf files there are
[SourceDisksNames]
3426=windows cd

[SourceDisksFiles]
hdaudio.sys         = 3426
when you comment them off with ";" or remove it,it doesn't want sys fle in inf folder and loads ok.

2. I have seen many posts (specifically on this site) saying that you have .NET 2.0 working, but with all the posts, I'm not sure what to do. I already have a working version using WinPE 2.0, but can't seem to figure out *exactly* what to do with WinPE 3.0 and Make_PE.
-.Net is complately useless from my side and my experiences was only for to see if i can get it work or not. I manually copied related files and registry settings. Get related servives to work but i can not say it fully works. i didn't check with different kinds of software. Best way if you need it do as ludo did. Get msi service to work and install from setup in winpe. You will need a big strach space. I can't say anything about other scripts because i didn't used any of them

3. When I bring up Google using IE 8, it displays very weird and doesn't show images. Some other sites do display the images.
-From my opinion it is because they use custom made classes.reg. i described many times how to make full classes.hiv manually exactly same of windows 7 classes registry key. shared my opinions about it with developers but i can't force anybody to use my way. Also developers wants to have multilanguage support. I think to have full classes not allow to get it multilanguage. I used same turkish classes on english build and didn't see a problem but maybe can be it is very big key.

4. How do I integrate Flash?
-Install flash player inside of your winpe from offline installer. Backup your classes.hiv. Import offline.

for 3 and 4 the main approach for them is to register needed dll files at boot time with commanline. "also for ie to register ieproxy.dll." it is very time consuming and the way i don't suggest ever. Boot process should be very clean that only should be explorer as shell and no more. also user shouldn't need to register any dll manually after boot. Should be a single classes.hiv that has every dll registered in it.

5. Using the "My Computer" desktop shortcut, when I format my attached virtual drive, and create it as a C:, it doesn't show. It only shows when I use the "Explorer" shortcuts.
-It is the easiest to solve. if you have right HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer key it will always automatically mount also can use my computer icon for browse.

Edited by Kullenen_Ask, 30 September 2010 - 09:51 AM.


#97
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
I found a way to keep tracking of dism package installation process with all regitry and file changes. It can give opportunity to have most of thing to get work in winpe environments.

Posted Image

it is different from joakims pull registry entries from manifest files method. This method gives all changes when a package integrated with dism. good part it gives as reg files. ;)

I don't have time for test now but advanced users can try with given.

Edited by Kullenen_Ask, 30 September 2010 - 09:51 AM.


#98
joakim

joakim

    Member

  • Member
  • PipPip
  • 154 posts
  • Joined 18-November 09
  • OS:none specified
  • Country: Country Flag
So I assume you are capturing the changes when installing packages in the Windows 7 Embedded environment. I tried that some time ago, but always got errors. Thought about raising the question in the embedded forums, but forgot about it.. So can you install & uninstall packages on an embedded 7 "machine" with dism? What tool are you capturing with?

Joakim

#99
Kullenen_Ask

Kullenen_Ask

    Advanced Member

  • Member
  • PipPipPip
  • 326 posts
  • Joined 10-September 04
  • OS:XP Pro x86
  • Country: Country Flag
i found a very old software that doesn't developed anymore. name is "Tracker" http://www.evansprog...com/tracker.asp Of course will need modifications as changing D:\ values to X:\ values and such changes. Of course i can use dism to integrate packages. what you mean with it?

HKEY_LOCAL_MACHINE\COMPONENTS means components.hiv root

all will need manual fixes that will take 5 min only. can be seperated to different hives reg files.

also all new file and folder structure can easly be copied with all files.

how kind of errors you get?

i used dism in windows 7 enterprise dvd sources folder to integrate package. not embedded. all hve changes can be backed up. i manually selected important hives in example not all of them but all can be backed up.

Edited by Kullenen_Ask, 23 July 2010 - 10:47 AM.


#100
joakim

joakim

    Member

  • Member
  • PipPip
  • 154 posts
  • Joined 18-November 09
  • OS:none specified
  • Country: Country Flag
I am a little bit confused.. What kind of packages are you working with and to what kind of host are they installed/uninstalled?

Joakim




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users