MSFN Forum: Minimal WAIK - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Minimal WAIK 115MB or thereabouts

#1 User is offline   timotheus 

  • Group: Members
  • Posts: 7
  • Joined: 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 05 October 2012 - 03:45 AM

As WAIK is 1.7GB, I have created a minimal (115MB) x86 WAIK for those
who want to download a functional x86 winPE on limited bandwidth. I've
used this to create my own XP rescue stick to allow me to re-install
both XP and XP64 in case of emergency.
See waik.winpe_3.0.7z in Link Removed

All the necessary files were extracted from KB3AIK_EN.iso, so this is WAIK 3.0 not 3.1
File list at the end of this post...

There's also a minimal ximage archive for those that want to roll their own boot.wim
(which was much easier than I had imagined).
See wimmount.7z in Link Removed

I'm bound to have forgotten to mention something, so just ask.

----------------------------------------------------------------------------------------------------------------------------------------------------
copy the following files from the KB3AIK_EN.iso into a directory structure rooted at waik_3.0\
do this by opening up the iso in 7-zip and extracting the following files, manually renaming them as you go

KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F1_BOOTMGR -> waik_3.0\bootmgr
KB3AIK_EN.iso\WinPE.cab\F1_WINPE.WIM -> waik_3.0\sources\boot.wim

KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_bcd -> waik_3.0\boot\bcd
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_bcd_efi -> waik_3.0\efi\microsoft\boot\bcd
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_boot.sdi -> waik_3.0\boot\boot.sdi
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_chs_boot.ttf -> waik_3.0\boot\fonts\chs_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_chs_boot.ttf_efi -> waik_3.0\efi\microsoft\boot\fonts\chs_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_cht_boot.ttf -> waik_3.0\boot\fonts\cht_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_cht_boot.ttf_efi -> waik_3.0\efi\microsoft\boot\fonts\cht_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_etfsboot.com -> waik_3.0\boot\etfsboot.com
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_jpn_boot.ttf -> waik_3.0\boot\fonts\jpn_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_jpn_boot.ttf_efi -> waik_3.0\efi\microsoft\boot\fonts\jpn_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_kor_boot.ttf -> waik_3.0\boot\fonts\kor_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_kor_boot.ttf_efi -> waik_3.0\efi\microsoft\boot\fonts\kor_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_wgl4_boot.ttf -> waik_3.0\boot\fonts\wgl4_boot.ttf
KB3AIK_EN.iso\wAIKX86.msi\x86AIK.cab\F_WINPE_X86_wgl4_boot.ttf_efi -> waik_3.0\efi\microsoft\boot\fonts\wgl4_boot.ttf

KB3AIK_EN.iso\WinPE_LangPacks\x86\en-us\winpe-srt_en-us.cab\ <<<< yes, this is a line break here; intra-ISO path is very loooong!
x86_microsoft-windows-b..d-bootfix.resources_31bf3856ad364e35_6.1.7600.16385_en-us_f5f9d5f8c8d6c6f6\bootfix.bin -> waik_3.0\boot\bootfix.bin

used archive searcher to find bootfix.bin file, it wasn't obvious :/

This post has been edited by jaclaz: 05 October 2012 - 05:34 AM
Reason for edit: Removed links



#2 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,444
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 05 October 2012 - 05:33 AM

UNfortunately the Microsoft WAIK files, to the best of my knowledge, are not redistributable and you must download them from MS (or from a licensed third party). :ph34r:

But your idea/approach is very nice :thumbup , maybe you could expand on the instructions on how to build it and we could make use of httpdisk, see:
http://reboot.pro/13049/
and/or of the nice tool by JFX (which may possibly be "adapted" to the specific chore) :
http://www.msfn.org/...-the-huge-isos/

jaclaz

This post has been edited by jaclaz: 05 October 2012 - 05:35 AM


#3 User is offline   timotheus 

  • Group: Members
  • Posts: 7
  • Joined: 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 05 October 2012 - 10:32 AM

I've tried GetWaikTools (GWT) and httpdisk but I'm having problems.
I would like GWT to fetch the files specified in my original post. JFX - does this mean you would have to modify GWT to do this?
I tried httpdisk on both w2k and xp32 but there's something about the syntax I'm not grasping I think.
Does the mount directory need to exist first (a la imagex.exe)? If so, I get the error, "D:: The requested resource is in use."
If the mountpoint is created (seems odd) then the error is "Q:: The system cannot find the path specified."
If you're thinking, "Timotheus, you just don't get it, do you?" Well, you're absolutely right :)

#4 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,444
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 05 October 2012 - 10:59 AM

I think that GWT needs to be modified by JFX :unsure:
httpdisk should work allright.
Post the EXACT command line you attempted issueing.
There is NO mount directory at all, a new drive letter is used.
If the image is a disk image you need not any parameter, if it is a .iso you need the /cd one, examples:
httpdisk /mount  0 http://server.domain.com/path/diskimage.img d:
httpdisk /mount  1 http://server.domain.com/path/cdimage.iso /cd e:

Do check the given link:
http://reboot.pro/13049/

jaclaz

#5 User is offline   JFX 

  • Member
  • PipPip
  • Group: Members
  • Posts: 262
  • Joined: 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 05 October 2012 - 12:00 PM

View Posttimotheus, on 05 October 2012 - 10:32 AM, said:

I would like GWT to fetch the files specified in my original post. JFX - does this mean you would have to modify GWT to do this?

Yes, this would require quite some modifications. But the download for these files would not be smaller than 600 MB, just for x86 files.

There is still the idea to reverse compression with tiny delta patches, which could reduce required download very much.
But the legal situation is unclear :unsure:

Posted Image

#6 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,444
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 05 October 2012 - 12:14 PM

Would something like this be useful?
http://www.winarchiv...rtual-drive.htm
http://www.pismotechnic.com/pfm/

I don't think so, as - if I get it right - the issue is the size of the actual "archive" that needs to be fully downloaded to extract from it a few files :unsure:
But there is this:
http://www.codeproje...-and-Extraction

Quote

Version History
Since version Jan 2007 Msvcp70/71/80.DLL is not required anymore.
Since version Apr 2008
you can extract CAB files directly from a server, (URL extraction from HTTP(S) / FTP)
you can even extract only specific files out of a CAB on a server without downloading the entire CAB file, (partial download)
you can also abuse this library to only download a file (MP3, AVI,..) from the internet to disk without CAB extraction.


jaclaz

#7 User is offline   timotheus 

  • Group: Members
  • Posts: 7
  • Joined: 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 05 October 2012 - 12:24 PM

Thank you for the hint about the EXACT cmdline, jaclaz. I needed /mount 1 not /mount 0. I'll wait until the WAIK download page has stabilised.

#8 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,444
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 05 October 2012 - 12:34 PM

View Posttimotheus, on 05 October 2012 - 12:24 PM, said:

Thank you for the hint about the EXACT cmdline, jaclaz. I needed /mount 1 not /mount 0. I'll wait until the WAIK download page has stabilised.

Yes/no. :unsure:
Meaning that the the 0,1,2 etc. are httpdisk (virtual) "device" numbers, if the "0" is "busy" it should mean that you have another instance of httpdisk running/making the device busy.
these two:

Quote



Quote


issued form a freshly reboted systems should be perfectly equivalent.

jaclaz

#9 User is offline   timotheus 

  • Group: Members
  • Posts: 7
  • Joined: 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 05 October 2012 - 01:55 PM

OK, problem resolved, using win7, httpdisk seems to work fine - cannot tell whether it is the OS or the internet connection, but that's another task.

It's very slow though. About 10KB/s over a 3G connection.

P:\fp_utils\tw_remote\bin.httpdisk\httpdisk.exe /mount 0 http://download.micr...A/KB3AIK_EN.iso /cd J:

I'll work out how to use 7z from the cmdline to extract the necessary files and drop a script back here - no time frame :)

#10 User is offline   Sp0iLedBrAt 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,710
  • Joined: 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 06 October 2012 - 06:00 AM

I have to go along with jaclaz on this one and confirm that httpdisk (ever since I discovered it on reboot.pro) works well on 32-bit versions of XP and Win7 both for the Vista and Win7 AIK. As long as you fix the registry with the given file (as explained), use SC from a Command Prompt window and don't forget the /umount parameter so you don't get another busy error, you'll be up and running in no time. Another good idea would be not to copy/paste the command line in Command Prompt, but rather type it; it will save you some nerves.

Cheers

#11 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,444
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 06 October 2012 - 06:13 AM

View PostSp0iLedBrAt, on 06 October 2012 - 06:00 AM, said:

....you'll be up and running in no time. Another good idea would be not to copy/paste the command line in Command Prompt, but rather type it; it will save you some nerves.
.

I thought that was exactly why batches were invented :whistle: ;)

But, as we have seen httpdisk is a good "generic" solution, whilst GWT is amuch better specific one (much less actual download).
The idea (mine) is to enhance GWT (or get some other programmer involved in making a tool capable of making use of the linked to library) giving it "partial CAB download features" :).

If you prefer, it is a three stage thing:
  • timotheus had a nice idea :thumbup (but failed in the practical "legal" implementing of it :ph34r: )
  • now it is about replicating it with using the tools we have already handy
  • next will be to find a better way for doing #2


jaclaz

This post has been edited by jaclaz: 06 October 2012 - 06:16 AM


#12 User is offline   timotheus 

  • Group: Members
  • Posts: 7
  • Joined: 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 07 October 2012 - 03:52 AM

The attached script should be named waik.deploy[create].bat but has been altered to allow uploading.
I just don't seem to be able to get httpdisk running under w2k or XP, but it works like a charm under w7, so the script hasn't been tested in its entirety (the local_cp skip is a bit of a giveaway), the aspects of the script to do with downloading just the needed parts of WAIK are from notes I made during the httpdisk phase on my w7 tablet.
I've also developed a script to build my XP32/64 USB bootdisk (actually an SDHC card in a USB adapter) from this minimal WAIK; if that is of interest I'll upload that too, but bear in mind that it contains tools specific to the way I the use the bootdisk (AWK, and WIL scripts, etc).

Attached File(s)



#13 User is offline   timotheus 

  • Group: Members
  • Posts: 7
  • Joined: 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag

Posted 07 October 2012 - 04:02 AM

Oh, one more thing.
I asked on the 7-zip forum if nested archive extraction could be added to the 7z.exe command line. It's something the developer has plans for, but of course, no time frame :)
If anyone comes across a tool that does allow nested archive extraction from the command line, it would be good to know.
My ideal solution would be a modified GWT.
I haven't tried the XP tricks to get httpdisk working, but I will if time allows.
Thank you jaclaz, JFX and Sp0iLedBrAt.

#14 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,082
  • Joined: 12-May 07

Posted 07 October 2012 - 04:52 AM

View Posttimotheus, on 07 October 2012 - 03:52 AM, said:

I've also developed a script to build my XP32/64 USB bootdisk (actually an SDHC card in a USB adapter) from this minimal WAIK; if that is of interest I'll upload that too, but bear in mind that it contains tools specific to the way I the use the bootdisk (AWK, and WIL scripts, etc).



Sure. Even if there are things to be changed, at least it will be an example that works for somebody.

Cheers and Regards

#15 User is online   jaclaz 

  • The Finder
  • Group: Developers
  • Posts: 11,444
  • Joined: 23-July 04
  • OS:none specified
  • Country: Country Flag

Posted 07 October 2012 - 09:23 AM

View Postbphlpt, on 07 October 2012 - 04:52 AM, said:

View Posttimotheus, on 07 October 2012 - 03:52 AM, said:

I've also developed a script to build my XP32/64 USB bootdisk (actually an SDHC card in a USB adapter) from this minimal WAIK; if that is of interest I'll upload that too, but bear in mind that it contains tools specific to the way I the use the bootdisk (AWK, and WIL scripts, etc).



Sure. Even if there are things to be changed, at least it will be an example that works for somebody.

Cheers and Regards

:thumbup
And that is the good thing about batch/scripts, no need for fancy compilers/build enviroments/SDK's and what not, a few changes in Notepad and everything can be modified and tested. :)

jaclaz

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy