Jump to content











Photo
- - - - -

WinBuilder077 insists on trying to use WAIK


  • This topic is locked This topic is locked
21 replies to this topic

#1 subl33t

subl33t
  • Members
  • 9 posts
  •  
    Canada

Posted 27 August 2009 - 09:11 PM

WinBuilder077 insists on trying to use WAIK - at least I haven't found a way to tell it not to.

WinBuilder077 RC2 running on Vista Pro SP2, Vista Pro SP2 installation DVD has been copied to the HDD under c:/vista,
downloaded VistaPE Core v.12 (via WinBuilder).

The Source directory (in the Source section under the "Work directories" tab) has been pathed to c:/vista, I also tried setting the PreConfig script path to the same place. I also thought I might have mis-read the instructions and I tried setting both paths to c:/vista/sources.

After pressing Play I always get the error "Please Install the Windows Automated Install Kit (WAIK) and enter the path in the PreConfig script."

I would really rather use my own disc than download something else from MS - can someone tell me what switch I have missed flipping or what meds I should be on?

(Yes I have Googled the issue to no avail and I haven't found anything useful in the forum)

#2 homes32

homes32

    Gold Member

  • .script developer
  • 1035 posts
  • Location:Minnesota
  •  
    United States

Posted 27 August 2009 - 09:48 PM

WinBuilder077 insists on trying to use WAIK - at least I haven't found a way to tell it not to.

WinBuilder077 RC2 running on Vista Pro SP2, Vista Pro SP2 installation DVD has been copied to the HDD under c:/vista,
downloaded VistaPE Core v.12 (via WinBuilder).

The Source directory (in the Source section under the "Work directories" tab) has been pathed to c:/vista, I also tried setting the PreConfig script path to the same place. I also thought I might have mis-read the instructions and I tried setting both paths to c:/vista/sources.

After pressing Play I always get the error "Please Install the Windows Automated Install Kit (WAIK) and enter the path in the PreConfig script."

I would really rather use my own disc than download something else from MS - can someone tell me what switch I have missed flipping or what meds I should be on?

(Yes I have Googled the issue to no avail and I haven't found anything useful in the forum)


it doesn't matter that you are building from a CD source you still need WAIK for imagex.exe, which is used to mount and read the .wim images containing the files needed to build. there is no off. you either have WAIK or you don't build.

#3 subl33t

subl33t
  • Members
  • 9 posts
  •  
    Canada

Posted 27 August 2009 - 10:02 PM

What you say directly contradicts the VistaPE System requirements outlined here:
http://www.vistape.n...quickstart.html

You need a Microsoft Windows Vista DVD OR an installed Windows Automated Installation Kit (WAIK)

(emphasis mine)

...or is that VistaPE doesn't need the WAIK but WinBuilder still does?

#4 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 27 August 2009 - 11:40 PM

winbuilder does not need the waik. Vista / win7 based pe require imagex which only legally comes from the aik. MS does not allow one to redistribute imagex or wimgapi.dll or any components from the aik unless you have paid MS big $ to allow it. The original version of vista pe by Nightman provided illegal downloads of these components hence the statement on the website you referenced that says the aik is optional.

If you follow the rules then the aik is required.

#5 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 27 August 2009 - 11:55 PM

If you follow the rules then the aik is required.

If you actually follows Rules to the letter:
http://www.911cd.net...o...9355&st=132
http://www.911cd.net...o...9355&st=134
you cannot use ImageX.exe, Wimapi.dll and Wimfilter and Package Manager portions of the software, if not for recovering Windows operating system software.

This should be a transitive property, thus the VistaPE cannot be used "if not for recovering Windows operating system software". :frusty:

So, try NOT to get caught by one of MS's guys while playing Solitaire on a booted VistaPE. :rofl:

jaclaz

#6 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 28 August 2009 - 12:05 AM

I know:

1. INSTALLATION AND USE RIGHTS. You may install and use any number of copies of the software on your devices solely for the purpose of deploying or maintaining Windows Server 2003, Windows Server 2008 and Windows Server 2008-R2, Windows Vista or Windows 7 operating system software on your devices.

2. ADDITIONAL LICENSE RIGHTS. In addition to the rights granted in Section 1, certain portions of the software, as described in this Section 2, are provided to you with additional license rights. These additional license rights are conditioned upon your compliance with the license restrictions described in this Section 2 and Section 3.

· Windows Pre-Installation Environment. You may install and use the Windows Pre-Installation Environment for purposes of diagnosing and recovering Windows operating system software. For the avoidance of doubt, you may not use the Windows Pre-Installation Environment for any other purpose, including without limitation as a general operating system, as a thin client or as a remote desktop client.

· ImageX.exe, Wimgapi.dll, Wimfilter and Package Manager. You may install and use the ImageX.exe, Wimgapi.dll and Wimfilter and Package Manager portions of the software for recovering Windows operating system software. For the avoidance of doubt, you may not use these portions of the software for any other purpose, including without limitation for purposes of backing up your Windows operating system.




As long as you are using your vista / win7 pe for a recovery dvd you should be ok even if you are playing solitaire when MS comes knocking.

#7 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 28 August 2009 - 12:12 AM

As long as you are using your vista / win7 pe for a recovery dvd you should be ok even if you are playing solitaire when MS comes knocking.


I think it depends on how picky the MS guy is:

For the avoidance of doubt, you may not use these portions of the software for any other purpose


You may get away with it if playing Solitaire WHILE recovering a Windows System, maybe.

To be on the safe side, you should make an affidavit in advance specifying that the purpose is the recovering, and that the actual (and eventual) playing of Solitaire is a mere "side effect" of the intended procedure......

....or have the nails, planks and mostly important, the hammer of my example handy..... :frusty:


:rofl:

jaclaz

#8 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 28 August 2009 - 12:29 AM

What you say directly contradicts the VistaPE System requirements outlined here:
http://www.vistape.n...quickstart.html

You need a Microsoft Windows Vista DVD OR an installed Windows Automated Installation Kit (WAIK)

(emphasis mine)

The VistaPE system requirements page that you quote is out-of-date, at least for any VistaPE 12 version.

Earlier versions did not need the WAIK because they included a program for manipulating WIMs. It turned out that the included program encapsulated some WAIK programs that Microsoft does not allow to be distributed outside the WAIK. So NightMan removed that program from VistaPE 12. He did not complete the task.

On the main page of VistaPE-CAPI you will find, in bold letters, the statement that the WAIK is required even if you are building from a Vista DVD.

#9 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 28 August 2009 - 12:52 AM

On the main page of VistaPE-CAPI you will find, in bold letters, the statement that the WAIK is required even if you are building from a Vista DVD.


...and where is the "main page of VistaPE-CAPI"? :frusty:

Maybe giving a link to it, in bold letters or not may be useful for the new members....

jaclaz

#10 paraglider

paraglider

    Gold Member

  • .script developer
  • 1743 posts
  • Location:NC,USA
  •  
    United States

Posted 28 August 2009 - 12:23 PM

vistape.winbuilder.net


I am currently documenting the rest of the common api functions and including them in my winbuilder help file.

Current version is here:
www.paraglidernc.com/winbuilder/links/winbuilder.chm





#11 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 28 August 2009 - 02:17 PM

...and where is the "main page of VistaPE-CAPI"? :ermm:

Maybe giving a link to it, in bold letters or not may be useful for the new members....

Sorry, no link.

WAIK.png

#12 subl33t

subl33t
  • Members
  • 9 posts
  •  
    Canada

Posted 28 August 2009 - 02:22 PM

Thanks to all of you!

WAIK downloaded. MS software auditor lookouts have been posted at the perimiter. :ermm:

#13 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 28 August 2009 - 03:03 PM

Current version is here:
www.paraglidernc.com/winbuilder/links/winbuilder.chm


Very nice work. :ermm:

Is it "advertised" somewhere on boot-land? :rofl:

A small typo, just spotted at a first glance, the nativeEx project in the "Project" treeview on the left is spelt NativeX

:frusty:

jaclaz

#14 dera

dera

    Gold Member

  • .script developer
  • 1335 posts
  •  
    Hungary

Posted 28 August 2009 - 03:39 PM

at me the http://vistape.winbu.../script.project currently is version=15
without this bolded "You must install a WAIK even if ..."

#15 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 28 August 2009 - 03:49 PM

Fixed.

#16 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4199 posts

Posted 29 August 2009 - 06:28 PM

Ok! that explains why I had the same error when trying to test the new updates to VistaPe. lol!

#17 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4199 posts

Posted 29 August 2009 - 06:35 PM

Use ImageX without installing WAIK
Can this made into a script that can gab the files and insert them into the script automatically. Instead of having to reinstall Waik again.
http://blogs.technet...lling-waik.aspx



I've heard a few people actually say ImageX.exe is included with Vista. That's not technically accurate. ImageX is most certainly a value add to Vista but it is packaged separately in a download called "WAIK" or Windows Automated Installation Kit. So let's say you want to use ImageX but don't want to run the full WAIK install. You copy imagex to a separate machine and run it. Works, but certain things fail, why? There are a number of other files you'll want to copy in addition to the EXE. To mount a WIM read/write and do other interesting things copy these files (everything in the same folder). Combine their total size is 1.01 MB.

imagex.exe
intlcfg.exe
wimfltr.inf
wimfltr.sys
wimgapi.dll

Ok, now you attempt to mount read/write and you receive an error that imagex was unable to find the file? That's because it needs to load the filter to be able to mount an image stored within the WIM. WIM supports single instance storage and allows appending a new image to an existing file. This considerably saves file size and disk space but does mean you need to install the wimfltr.inf file.

Simply open the folder in Windows Explorer, right click on wimfltr.inf and click "install". Approve the UAC prompt. Done. If you need to script the install or want to run it from the command line, by using the context menu you actually executed the following command.

%SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 <filename.inf>



#18 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 29 August 2009 - 06:43 PM

Use ImageX without installing WAIK
Can this made into a script that can gab the files and insert them into the script automatically. Instead of having to reinstall Waik again.
http://blogs.technet...lling-waik.aspx

There is only one small issue:

The solution in the URL you mention installs something -including imagex.exe- using wimfltr.inf

But wimfltr.inf is packed in a WIM.

And if you do not have imagex.exe, how to extract wimfltr.inf from the WIM ??????

Peter

#19 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 29 August 2009 - 07:21 PM

And if you do not have imagex.exe, how to extract wimfltr.inf from the WIM ??????


You use 7-zip? :frusty:
http://www.7-zip.org/

jaclaz

#20 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 29 August 2009 - 07:25 PM

You use 7-zip? :frusty:
http://www.7-zip.org/

jaclaz

It is my 'home' tool. And your idea sounds ingenious! :ermm:
Let me try!

Peter

#21 JonF

JonF

    Gold Member

  • .script developer
  • 1185 posts
  • Location:Boston, MA
  •  
    United States

Posted 29 August 2009 - 07:43 PM

I looked at that. You still have to download the entire WAIK. You still have to make changes to your system and registry. You would use a little bit less disk space. Given the cost of disk space today, what is the benefit?

But if someone's interested, here are where the most useful files are found in the 1.1 WAIK installer:

wimfltr.inf,wimfltr.sys,wingapi.dll: in x86AIK.cab in waikx86.msi, with OPK_ prepending the names

imagex.exe: in Neutral.cab in waikx86.msi named F1_imagex

peimg.exe, peimg.ini: in Neutral.cab in waikx86.msi with PEIMG_FI_ prepending the names

ABE:

Yuo need to do three levels of extraction: from the ISO, from the MSI, and from the CAB. You may need Universal Extractor to open the MSI. I forget if 7-Zip does MSI.

RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "DebugFlags", "REG_DWORD", 1)RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "DependOnService", "REG_MULTI_SZ", "FltMgr")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "Description", "REG_SZ", "Windows Image Mini-Filter Driver")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "DisplayName", "REG_SZ", "WimFltr")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "ErrorControl", "REG_DWORD", 1)RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "Group", "REG_SZ", "FSFilter Compression")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "ImagePath", "REG_EXPAND_SZ", "system32\DRIVERS\wimfltr.sys")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "Start", "REG_DWORD", 3)RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "Tag", "REG_DWORD", 6)RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr", "Type", "REG_DWORD", 2)RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr\Instances", "DefaultInstance", "REG_SZ", "WimFltr Instance")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr\Instances\WimFltr Instance", "Altitude", "REG_SZ", "170500")RegWrite("HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WimFltr\Instances\WimFltr Instance", "Flags", "REG_DWORD", 0)


#22 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 30 August 2009 - 10:38 AM

@jonF
7-zip "does" MSI, but it doesn't "rename" the contents, so a specific renaming set of commands is needed.

It is my 'home' tool. And your idea sounds ingenious! :frusty:
Let me try!

Peter


It should work allright.

OT, but not much ;), maybe someone could start a "project phoenix" from the ashes (if any) of this:
http://www.boot-land...?showtopic=5308
http://sourceforge.n...tle=Compression

Apart form the above, any news from booty#1? :rofl: It's a bit of time since I have seen him around. :frusty:

Hope everything is allright. :rofl:

jaclaz

P.S. and BTW: and this time completely OFF TOPIC:

BTW: I got to my knowledge that BearWindows is the third person besides you and me using the 'Blue Ribbon'

You might want to appreciate how the trend in the growth of this opinion group is exceptionally promising:
;)

Attached Thumbnails

  • growth_trend.jpeg





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users