Jump to content


Photo

[Video] Windows 7 AIK/OPK deployment 101 (Updated)


  • Please log in to reply
156 replies to this topic

#1 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 18 January 2010 - 10:29 PM

Created some videos on the topic of Windows AIK/OPK, how I use it to update my image...

OLD Videos
Part #1 HD 720
Part #2 HD 720
Part #3 HD 720
NEW Videos
Preinstalling Applications and Capturing Image HD 1080
Others will come in the next few weeks...

Tutorials
How to install Windows 7 on a virtual hard disk (VHD)
Use Reverse Integration to slipstream Windows Vista SP1 and SP2
Windows OPK Videos
Default Windows 7 Keys

Tools
Windows Automated Installation Kit (AIK)
Windows Automated Installation Kit for Windows 7 documentation (May 2010 Update)
SoLoR's Hotfix Repository (Recommended)
FireGeier Unattended Vista Guide
Hotfix Extractor
InstallWimTweak & Packages.xls (Optional)
GImageX (Optional)
GDism (Optional)
  • NIM, RickSteele, stellvia12 and 1 other like this

#2 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 19 January 2010 - 02:56 AM

Mount image
DISM /Mount-Wim /WimFile:<dir>:\<path>\<filename>.wim /Index:<#> /MountDir:<dir>:\<path_to_empty_folder>

Integrate MSU/CAB updates
DISM  /Add-Package /Image:<dir>:\<mounted_image_path> /PackagePath:<dir>:\<folder_with_updates>

Integrate multiple drivers
DISM  /Add-Driver /Image:<dir>:\<mounted_image_path> /Driver:<dir>:\<folder_with_drivers> /recurse

Integrate unsigned driver
DISM  /Add-Driver /Image:<dir>:\<mounted_image_path> /Driver:<dir>:\<folder_with_driver>\<inf_name>.inf /forceunsigned

Remove driver
DISM /Remove-Driver /Image:<dir>:\<mounted_image_path> /Driver:oem<#>.inf

Turn off feature
DISM  /Disable-Feature /Image:<dir>:\<mounted_image_path> /FeatureName:<feature_name>

Turn off features (multi)
FOR %i IN (<featurename1> "<feature name 2>" <feature-name-3>) DO DISM  /Disable-Feature /Image:<dir>:\<mounted_image_path> /FeatureName:%i

Unhide packages (optional)
install_wim_tweak /p <dir>:\<mounted_image_path> /m

Remove package
DISM  /Remove-Package /Image:<dir>:\<mounted_image_path> /PackageName:Microsoft-Windows-<example>-Package~31bf3856ad364e35~x86~~6.1.7600.16385

Unmount image
DISM /Unmount-Wim /MountDir:<dir>:\<mounted_image_path> /commit [/discard]

  • NIM, RickSteele, stellvia12 and 1 other like this

#3 Mr_Smartepants

Mr_Smartepants

    DriverPacks.net Administrator

  • Members
  • PipPipPipPipPipPip
  • 814 posts
  • Location:Cambridgeshire
  • OS:Windows 7

Posted 19 January 2010 - 09:00 AM

Thanks Rick. Very nice.
A picture is worth 1000 words, but a video... ;)

#4 Raoul

Raoul

    WinCert Friend

  • Members
  • PipPipPipPip
  • 274 posts
  • Location:The Netherlands
  • OS:Windows 7

Posted 31 January 2010 - 01:01 PM

Thanks Rick, helps a lot! :thumbsup_anim:

#5 bjfrog

bjfrog

    WinCert Friend

  • Members
  • PipPipPipPip
  • 238 posts
  • Location:100086
  • OS:Windows 7

Posted 31 January 2010 - 05:47 PM

Do u meant add tweaks.inf into unattened.xml and how?, I am not sure understand well about that,cant wait partIII.

#6 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 31 January 2010 - 06:12 PM

Its nothing special, I just add a "FirstLogonCommands" to run when I first log in with the following

infdefaultinstall %WINDIR%\inf\tweaks.inf

Here is what it looks like in the Autounattend.xml

<SynchronousCommand wcm:action="add">
    <CommandLine>infdefaultinstall %WINDIR%\inf\tweaks.inf</CommandLine>
    <Description>Registry Tweaks</Description>
    <Order>8</Order>
    <RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>

InfDefaultInstall.exe comes with Windows 7 in the system32 folder, its what I use to launch my INF instead of rundll32
  • RickSteele likes this

#7 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 01 February 2010 - 11:18 PM

Added part 3 (need to dl and merge file.001 and file.002 with 7zip because skydrive files can only be 50 MB max)

I discuss how to turn off features, remove packages (including how to unhide packages for extreme removal) and integrate unsigned driver then I show how to remove it

Also added links to install_wim_tweak.exe and packages.xls for extreme dism removal
  • RickSteele likes this

#8 Raoul

Raoul

    WinCert Friend

  • Members
  • PipPipPipPip
  • 274 posts
  • Location:The Netherlands
  • OS:Windows 7

Posted 02 February 2010 - 05:09 PM

Thanks Rick, just tell me if you want a mirror, can easily put them in my dropbox. :)

#9 Rafadecai

Rafadecai

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 365 posts
  • OS:Windows 7

Posted 04 February 2010 - 08:19 PM

Ricks I can't download of the sky drive this is parts

#10 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 04 February 2010 - 08:46 PM

Ricks I can't download of the sky drive this is parts

Try again at a later time

#11 apex910

apex910

    Lurker

  • Members
  • Pip
  • 5 posts
  • OS:Windows XP Pro

Posted 11 February 2010 - 06:22 PM

Thanks Rick, your work is always very helpful.

#12 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 11 February 2010 - 07:29 PM

Question

Has this helped anybody who previously thought that WAIK is too complicated to realize its not as bad as one thought, it does not take a pro, that you too can do it?
  • RickSteele likes this

#13 Raoul

Raoul

    WinCert Friend

  • Members
  • PipPipPipPip
  • 274 posts
  • Location:The Netherlands
  • OS:Windows 7

Posted 11 February 2010 - 10:32 PM

Question

Has this helped anybody who previously thought that WAIK is too complicated to realize its not as bad as one thought, it does not take a pro, that you too can do it?


The vids definitly helped a lot, its just so much easier to watch a video about how to use WAIK, and after watching it you can try it yourself, when you are stuck, you just start the vid again and watch it again, and after a while I just knew the commands. So much better then reading all the stuff. :P

Continue doing this, it very good! :thumbsup_anim:

Edited by Raoul, 11 February 2010 - 10:33 PM.


#14 Rafadecai

Rafadecai

    WinCert Pro

  • Members
  • PipPipPipPipPip
  • 365 posts
  • OS:Windows 7

Posted 23 February 2010 - 06:03 AM

Ricktendo If I understand correctly the DISM the method can not be integrated in the image install.wim updates with the extension
.msi and .exe

Edited by Rafadecai, 23 February 2010 - 06:05 AM.


#15 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 23 February 2010 - 03:56 PM

No dism cannot integrate msi or exe installers, for this you have to use WPI

#16 Uncle_Gadget

Uncle_Gadget

    Advanced Member

  • Members
  • PipPipPip
  • 69 posts
  • Location:U.S.A. - Georgia
  • OS:Windows 7 x64

Posted 24 February 2010 - 10:21 PM

Has this helped anybody who previously thought that WAIK is too complicated to realize its not as bad as one thought, it does not take a pro, that you too can do it?

I've just begun sticking my toes in the water on Win 7 unattended and yours was the perfect place to start! Thanks for the hard work i I know it's appreciated by many!

Uncle_Gadget


#17 JurgenDoe

JurgenDoe

    Digital Artist

  • Members
  • PipPipPipPipPipPip
  • 511 posts
  • Location:Germany / USA
  • OS:Windows 7

Posted 28 February 2010 - 02:58 AM

Nice Videos and you learn a lot :thumbsup_anim:

Edited by JurgenDoe, 28 February 2010 - 03:03 AM.


#18 Yesnovato

Yesnovato

    Member

  • Members
  • PipPip
  • 13 posts
  • OS:Windows 7 x64

Posted 01 March 2010 - 12:17 AM

Hi Rick, I'm learning a lot with the videos, they are very good. I have some doubts.
1) Can I integrate updates .msu
2) The drivers are integrated into boot.wim and also in install.wim
Thanks in advance for your valuable help

#19 ricktendo

ricktendo

    Group: Banned

  • Global Mods
  • 8,422 posts
  • Location:La Ceiba
  • OS:Windows 8 x64

Posted 01 March 2010 - 12:31 AM

1- Yes you can integrate .msu same as the extracted .cab (its a matter of preference), if you get any errors integrating .msu files try extracting the cabs from them

2- No you DONT have to integrate any drivers into boot.wim only install.wim (I only do because my raid drives are not included in Windows 7, I have to hit Load Driver and browse for my raid drivers on a CD or USB stick in order to see my HDD)

Posted Image

I was just showing you how to integrate your mass storage drivers if your drives are not recognized by the setup, if they are then you can skip boot.wim part

#20 Yesnovato

Yesnovato

    Member

  • Members
  • PipPip
  • 13 posts
  • OS:Windows 7 x64

Posted 01 March 2010 - 01:00 AM

1- Yes you can integrate .msu same as the extracted .cab (its a matter of preference), if you get any errors integrating .msu files try extracting the cabs from them

2- No you DONT have to integrate any drivers into boot.wim only install.wim (I only do because my raid drives are not included in Windows 7, I have to hit Load Driver and browse for my raid drivers on a CD or USB stick in order to see my HDD)

Posted Image

I was just showing you how to integrate your mass storage drivers if your drives are not recognized by the setup, if they are then you can skip boot.wim part

Thanks for your reply. Now drivers and updates are clear to me. I'm trying to understand from the 2nd video the changes that are made directly on the mounted image(install.wim)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users