Topic: Get WAIK Tools w/o loading the hugh ISO's  (Read 159253 times)

Get WAIK Tools w/o loading the hugh ISO's
« on: May 30, 2012, 12:28:17 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Most of us don't really need/use the WAIK to build our custom WinPE's.

So there were always a problem to get the few tools like wimgapi, imagex or the WIM filter drivers.

Attempts were made to use httpdisk to download files from inside the WAIK iso,
but it was not a good solution as you still need to load hundreds of MB and it requires to install an unsigned driver.
You even had to set your x64 Windows in testmode ...


But now we came with a good solution:
Our tool uses cURL winhttp functions provided by Homes32 to download only the needed bytes for the hugh WAIK ISO's.
There is no need for admin rights and you only need to download 4-6 MB per choosen WAIK.

GetWaikTools.zip

 :cheers:
« Last Edit: November 22, 2015, 03:41:52 AM by JFX »

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #1 on: May 30, 2012, 04:56:38 AM »

ChrisR

  • Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2520
Great, Very usefull tool :1st:  :bravo:

I have downloaded Win7, Vista Waik files and Win8 ADK files in less than 30 seconds  :happy: 

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #2 on: May 30, 2012, 05:20:56 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6233
You are The One JFX

 :djparty: :bbq:

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #3 on: May 31, 2012, 12:58:46 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Updated to version 1.1

-cURL.exe no longer needed, Thanks to Homes32 :thumbup:

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #4 on: May 31, 2012, 03:33:54 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6233
 :thumbsup:
-cURL.exe no longer needed, Thanks to Homes32 :thumbup:
so you can update first post information  :wink:

**
You may be waiting this now  :whistling:
can we have download options for:
boot.sdi
fbwf.sys
fbwflib.dll
ramdisk.sys
wimfsf.sys

you know above all for Gena-WimBoot,
but also fbwf.sys alone for Gena-CreateISO option  :cool:

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #5 on: May 31, 2012, 05:35:17 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Hmm, there is a problem WimBoot files.

we need the complete F1_WINPE.WIM (174 MB) that is inside winpe.cab (626 MB)
M$ guy's were so smart to compress these already compressed WIM files inside winpe.cab

Also setupldr.bin needed by BootDI and WimBoot is not download able ...

There would be a possibility to use delta patches (xdelta or bsdiff)

example:

 - we download setupldr.exe from W2k3 Sp1
 - and download setupldr.bin from W2k3 Sp2

 - create a franken-setupldr.bin (16-bit stub from SP2, exe from SP1
 - create a tiny delta patch ~1KB, that contains only the differences between franken and clean sp1 setupldr.bin

Similar could be done with F1_WINPE.WIM.

But someone should clarify the legal situation first!

 :cheers:

« Last Edit: May 31, 2012, 05:36:33 AM by JFX »

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #6 on: May 31, 2012, 06:10:25 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6233
Yes setupldr.bin still requires 300 mb dl, but first things first....

I feel I understand you.....

I guess the best solution would be,
a possible way to recover files from wim+cab , like you did with iso...
This would lead any options possible for any similar situation...
Till that day, I am still happy with current get waik files, Thanks a lot  :thumbsup:
Still I can use with Gena-WimPack and Other similar Places  :wink:


Cosmetic Catches During Download:
+
Download screen stays at top (which cause any other program yes-no gui invisible-behind.....)
+
rookie touch to taskbar-icon will stop (pause ;)) download  :wink:
 :cheers:

edit:
above cosmetic catches with  "-Win7 -Vista -Silent"
+ since download screen not touchable  (one can not move gui from one place to another or minimize) and "always at top" one need to be smart (like me ;) but sadly not always) to think another window (s)he is looking for can be behind....
« Last Edit: May 31, 2012, 06:28:41 AM by Lancelot »

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #7 on: May 31, 2012, 06:35:47 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
hmm, was a good idea to choose dropbox, considering how often i need to fix something  :w00t:

Removed OnTop flag an tray icon, the window should be movable actually.

 :cheers:
« Last Edit: May 31, 2012, 06:36:10 AM by JFX »

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #8 on: May 31, 2012, 07:55:09 AM »

Homes32

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Dec 2010
  • Posts: 98
Removed OnTop flag an tray icon, the window should be movable actually.
you would need to set a bitwise 16 on ProgressOn() to make the window moveable. or 18 for moveable & not on top. I didn't do this on my version of the download UI.

personally I like the always on top as it will stay above the winbuilder window. It would be nice to be able move it but it probably isn't a big deal since with today's internet connections and small size the download shouldn't take  more than a minute or 2.

additionally, for automated usage it might be nice to specify a download location via command line.
« Last Edit: May 31, 2012, 08:24:14 AM by Homes32 »

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #9 on: May 31, 2012, 10:58:54 PM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Have added some command line options:

GetWaikTools -win7 -win8 -vista -silent -cURL:0 -ontop:0 -folder{dir}

%ErrorLevel% will be nonzero if any error occurs.

 :cheers:

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #10 on: June 01, 2012, 04:16:39 AM »

Homes32

  • Code Baker
  • Jr. Chef
  • **
  • Date Registered: Dec 2010
  • Posts: 98
great work!  :thumbsup:


a small cosmetic thing: for the unpack progress/message the percent done is above the progress bar in bold and the description txt below. should probably be switched around to be consistent.

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #11 on: June 10, 2012, 11:15:54 PM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
hmm, i never got to see the unpack progress, on my main PC  :grin:

Should look better now

 :cheers:

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #12 on: July 25, 2012, 01:00:02 PM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 161
Hi,

It might be easier to get the wims from the waik supplement.

It doesn't look as if they are packed up.

hxxp://download.microsoft.com/download/0/4/C/04C805CC-4C04-4D76-BE80-7D67B951CF73/waik_supplement_en-us.iso

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #13 on: July 25, 2012, 10:03:58 PM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Hi SIW2,

Yes, it properly would be possible to get WIM files form this ISO.
But the tool is only thought to get wim drivers and tools to manipulate WIM files.

 :cheers:

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #14 on: July 26, 2012, 02:01:37 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 161
Hiya JFX,

Thanks for the reply.

It would be useful to be able to d/l just the wims for some purpose.

Would you be good enough to explain to me how that can done.

I could try doing it with Curl, but I cannot understand the instructions on the Curl site.

What would be the relevant Curl command ?

Many thanks

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #15 on: July 26, 2012, 03:34:11 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Would you be good enough to explain to me how that can done.

Easies way is to open the iso in WinHex and use Specialist --> Interpret Image File As Disk
Then you can browse the File system and Select the wanted File.

You now can get the offset (be carefully you need to click on it to switch between decimal and hexadecimal) : 336336896

Double click on the WinPE.wim inside winhex file browser to get background window.
Now add file size to starting offset: 336336896 + 114336823 - 1 = 450673718
So the range is: 336336896-450673718

waiks.png

What would be the relevant Curl command ?

Code: [Select]
curl -o"X:\WinPE_x64.wim" -r 1548288-137012334 http://download.microsoft.com/download/0/4/C/04C805CC-4C04-4D76-BE80-7D67B951CF73/waik_supplement_en-us.iso
curl -o"X:\WinPE_x86.wim" -r 336336896-450673718 http://download.microsoft.com/download/0/4/C/04C805CC-4C04-4D76-BE80-7D67B951CF73/waik_supplement_en-us.iso

 :cheers:
« Last Edit: July 26, 2012, 03:35:12 AM by JFX »

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #16 on: July 26, 2012, 04:08:28 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 161
Thanks very much.

Wiil give that a try.

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #17 on: July 26, 2012, 04:14:12 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 161
Must have done something wrong

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Wa
rning: Failed to create the file X:\WinPE_x86.wim: No such file or directory
  0  109M    0  3472    0     0  12312      0  2:34:46 --:--:--  2:34:46 13888
curl: (23) Failed writing body (0 != 3472)


Do I need to specify a download directory?

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #18 on: July 26, 2012, 04:24:27 AM »

SIW2

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jul 2012
  • Posts: 161
Ooops!  I made a mistake with the spacing.

Works great - Thanks!

Re: Get WAIK Tools w/o loading the hugh ISO's
« Reply #19 on: August 08, 2012, 02:03:35 AM »

JFX

  • Code Baker
  • Sr. Chef
  • ****
  • Date Registered: Dec 2010
  • Posts: 751
Updated for Windows 8 RTM ADK !

 :cheers:

 

Powered by EzPortal