MSFN Forum: How does the Vista setup extract from install.wim? - MSFN Forum

Jump to content



Windows Vista Forum Rules

If you have questions about customizing Windows Vista that are vLite-specific, please post them in the vLite forum, not here. If you have questions regarding the unattended installation of Windows Vista, please post them in the Unattended Windows Vista/Server 2008 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How does the Vista setup extract from install.wim? Rate Topic: -----

#1 User is offline   dennis123123 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 06-May 05

  Posted 29 June 2008 - 07:30 AM

Hi, I wondered if someone could help me...

I am trying to find out how the vista setup program or dvd extracts files from install.wim without any of the dlls/exes available in the WAIK for doing this.

boot.wim lacks imagex.exe or wimgapi.dll, so it cannot be possible to use these.

My reason for wanting to know is to try and lift the restrictions of needing 7zip or waik files for simply extracting files from WIMs


#2 User is offline   fizban2 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,897
  • Joined: 14-April 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 June 2008 - 09:59 AM

there are callable APIs the Setup.exe uses to select the WIM and extract it from the install.com. take a look at the .chm file in the waik and you will see a help file for theses API calls

#3 User is offline   dennis123123 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 06-May 05

Posted 29 June 2008 - 10:10 AM

Thanks for the reply, however I dont know how it can achieve this without the file Wimgapi.dll which the WAIK documentation refers to. this file is not present on the DVD (well I cant find it!) but it somehow finds a way. Am i overlooking something with regards to this? The API calls look easy enough to use if I can solve the dll issue.

#4 User is offline   fizban2 

  • MSFN Addict
  • Group: Super Moderator
  • Posts: 1,897
  • Joined: 14-April 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 June 2008 - 04:40 PM

View Postdennis123123, on Jun 29 2008, 11:10 AM, said:

Thanks for the reply, however I dont know how it can achieve this without the file Wimgapi.dll which the WAIK documentation refers to. this file is not present on the DVD (well I cant find it!) but it somehow finds a way. Am i overlooking something with regards to this? The API calls look easy enough to use if I can solve the dll issue.


if you are looking to add the functionality to your own app, you will need to grab the
wimgapi.h, wimgapi.lib
files from the WAIK (if they are still in it) if not you will need to grab the Windows SDK as i beleive they are in there

#5 User is offline   dennis123123 

  • Newbie
  • Group: Members
  • Posts: 29
  • Joined: 06-May 05

Posted 29 June 2008 - 05:34 PM

Yes, the header and lib are with the WAIK. "C:\Program Files\Windows AIK\SDKs\WIMGAPI\X86\*.*"

When my program is written including the header file and linking the lib, surely it needs the dll file to be present somewhere to be able to use its functions? What i meant was that dll is not on the vista setup dvd at all, so where on earth does setup.exe find it?! :D

This post has been edited by dennis123123: 29 June 2008 - 05:35 PM


#6 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 6,988
  • Joined: 28-April 06
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 30 June 2008 - 07:57 AM

This seems to be backwards. The actual setup.exe on the install disc doesn't use the WAIK. The WAIK is just one method of doing the same thing. The install DVD would likely use other libraries when it installs. In other words, Microsoft didn't make their install DVDs with the WAIK, they used the WAIK to mimic their install DVDs.

Share this topic:


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

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



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