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

Minimal WAIK


  • Please log in to reply
14 replies to this topic

#1
timotheus

timotheus
  • Member
  • 7 posts
  • Joined 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag
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, 05 October 2012 - 05:34 AM.
Removed links

Do not regret growing older. It is a privilege denied to many.


How to remove advertisement from MSFN

#2
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
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

Edited by jaclaz, 05 October 2012 - 05:35 AM.


#3
timotheus

timotheus
  • Member
  • 7 posts
  • Joined 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag
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 :)
Do not regret growing older. It is a privilege denied to many.

#4
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
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
JFX

JFX

    Advanced Member

  • Member
  • PipPipPip
  • 473 posts
  • Joined 17-January 11
  • OS:Windows 7 x64
  • Country: Country Flag

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
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag
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

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
timotheus

timotheus
  • Member
  • 7 posts
  • Joined 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag
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.
Do not regret growing older. It is a privilege denied to many.

#8
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

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:

httpdisk /mount 0 http://server.domain...ath/cdimage.iso /cd e:


httpdisk /mount 1 http://server.domain...ath/cdimage.iso /cd e:

issued form a freshly reboted systems should be perfectly equivalent.

jaclaz

#9
timotheus

timotheus
  • Member
  • 7 posts
  • Joined 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag
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 :)
Do not regret growing older. It is a privilege denied to many.

#10
Sp0iLedBrAt

Sp0iLedBrAt

    MSFN Addict

  • MSFN Sponsor
  • 1,727 posts
  • Joined 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag
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
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

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

Edited by jaclaz, 06 October 2012 - 06:16 AM.


#12
timotheus

timotheus
  • Member
  • 7 posts
  • Joined 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag
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 Files


Do not regret growing older. It is a privilege denied to many.

#13
timotheus

timotheus
  • Member
  • 7 posts
  • Joined 29-September 12
  • OS:Windows 2000 Professional
  • Country: Country Flag
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.
Do not regret growing older. It is a privilege denied to many.

#14
bphlpt

bphlpt

    MSFN Addict

  • Member
  • PipPipPipPipPipPipPip
  • 1,798 posts
  • Joined 12-May 07
  • OS:none specified
  • Country: Country Flag

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

Posted Image


#15
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,593 posts
  • Joined 23-July 04
  • OS:none specified
  • Country: Country Flag

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users