Jump to content

Minimal WAIK


Recommended Posts

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 :/

Edited by jaclaz
Removed links
Link to comment
Share on other sites


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) :

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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:

cheers.gif

Link to comment
Share on other sites

Would something like this be useful?

http://www.winarchiver.com/virtual-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.codeproject.com/Articles/15397/Cabinet-File-CAB-Compression-and-Extraction

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

Link to comment
Share on other sites

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:

issued form a freshly reboted systems should be perfectly equivalent.

jaclaz

Link to comment
Share on other sites

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.microsoft.com/download/8/E/9/8E9BBC64-E6F8-457C-9B8D-F6C9A16E6D6A/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 :)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

....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:

  1. timotheus had a nice idea :thumbup (but failed in the practical "legal" implementing of it :ph34r: )
  2. now it is about replicating it with using the tools we have already handy
  3. next will be to find a better way for doing #2

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

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).

waik.deploycreate.bat.txt

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

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...