ricktendo Posted January 18, 2010 Posted January 18, 2010 Created some videos on the topic of Windows AIK/OPK, how I use it to update my image...OLD VideosPart #1 HD 720Part #2 HD 720Part #3 HD 720NEW VideosPreinstalling Applications and Capturing Image HD 1080Others will come in the next few weeks...TutorialsHow to install Windows 7 on a virtual hard disk (VHD)Use Reverse Integration to slipstream Windows Vista SP1 and SP2Windows OPK VideosDefault Windows 7 KeysToolsWindows Automated Installation Kit (AIK)Windows Automated Installation Kit for Windows 7 documentation (May 2010 Update)SoLoR's Hotfix Repository (Recommended)FireGeier Unattended Vista GuideHotfix ExtractorInstallWimTweak & Packages.xls (Optional)GImageX (Optional)GDism (Optional) NIM, TRSyntax, SunLion and 3 others 6 Quote
ricktendo Posted January 19, 2010 Author Posted January 19, 2010 Mount imageDISM /Mount-Wim /WimFile:<dir>:\<path>\<filename>.wim /Index:<#> /MountDir:<dir>:\<path_to_empty_folder>Integrate MSU/CAB updatesDISM /Add-Package /Image:<dir>:\<mounted_image_path> /PackagePath:<dir>:\<folder_with_updates>Integrate multiple driversDISM /Add-Driver /Image:<dir>:\<mounted_image_path> /Driver:<dir>:\<folder_with_drivers> /recurseIntegrate unsigned driverDISM /Add-Driver /Image:<dir>:\<mounted_image_path> /Driver:<dir>:\<folder_with_driver>\<inf_name>.inf /forceunsignedRemove driverDISM /Remove-Driver /Image:<dir>:\<mounted_image_path> /Driver:oem<#>.infTurn off featureDISM /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:%iUnhide packages (optional)install_wim_tweak /p <dir>:\<mounted_image_path> /mRemove packageDISM /Remove-Package /Image:<dir>:\<mounted_image_path> /PackageName:Microsoft-Windows-<example>-Package~31bf3856ad364e35~x86~~6.1.7600.16385Unmount imageDISM /Unmount-Wim /MountDir:<dir>:\<mounted_image_path> /commit [/discard] Makr0sha.man0b, Ali Sahandi, RickSteele and 3 others 6 Quote
Mr_Smartepants Posted January 19, 2010 Posted January 19, 2010 Thanks Rick. Very nice.A picture is worth 1000 words, but a video... Quote
Raoul Posted January 31, 2010 Posted January 31, 2010 Thanks Rick, helps a lot! :thumbsup_anim: Quote
bjfrog Posted January 31, 2010 Posted January 31, 2010 Do u meant add tweaks.inf into unattened.xml and how?, I am not sure understand well about that,cant wait partIII. Quote
ricktendo Posted January 31, 2010 Author Posted January 31, 2010 Its nothing special, I just add a "FirstLogonCommands" to run when I first log in with the followinginfdefaultinstall %WINDIR%\inf\tweaks.infHere 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 1 Quote
ricktendo Posted February 1, 2010 Author Posted February 1, 2010 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 itAlso added links to install_wim_tweak.exe and packages.xls for extreme dism removal RickSteele 1 Quote
Raoul Posted February 2, 2010 Posted February 2, 2010 Thanks Rick, just tell me if you want a mirror, can easily put them in my dropbox. Quote
Rafadecai Posted February 4, 2010 Posted February 4, 2010 Ricks I can't download of the sky drive this is parts Quote
ricktendo Posted February 4, 2010 Author Posted February 4, 2010 Ricks I can't download of the sky drive this is partsTry again at a later time Quote
apex910 Posted February 11, 2010 Posted February 11, 2010 Thanks Rick, your work is always very helpful. Quote
ricktendo Posted February 11, 2010 Author Posted February 11, 2010 QuestionHas 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 1 Quote
Raoul Posted February 11, 2010 Posted February 11, 2010 (edited) QuestionHas 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. Continue doing this, it very good! :thumbsup_anim: Edited February 11, 2010 by Raoul Quote
Rafadecai Posted February 23, 2010 Posted February 23, 2010 (edited) 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 February 23, 2010 by Rafadecai Quote
ricktendo Posted February 23, 2010 Author Posted February 23, 2010 No dism cannot integrate msi or exe installers, for this you have to use WPI Quote
Uncle_Gadget Posted February 24, 2010 Posted February 24, 2010 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 Quote
JurgenDoe Posted February 28, 2010 Posted February 28, 2010 (edited) Nice Videos and you learn a lot :thumbsup_anim: Edited February 28, 2010 by JurgenDoe Quote
Yesnovato Posted March 1, 2010 Posted March 1, 2010 Hi Rick, I'm learning a lot with the videos, they are very good. I have some doubts.1) Can I integrate updates .msu2) The drivers are integrated into boot.wim and also in install.wimThanks in advance for your valuable help Quote
ricktendo Posted March 1, 2010 Author Posted March 1, 2010 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 them2- 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)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 Quote
Yesnovato Posted March 1, 2010 Posted March 1, 2010 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 them2- 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)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 partThanks 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) Quote
Yesnovato Posted March 2, 2010 Posted March 2, 2010 Hi RickI have some doubts regarding the video # 21) What can I copy directly from my windows directory to the windows of my image.2) What can I copy from system32 directory to my image3) Can I directly copy the folders PerfLogs, Program Files, Program Files (x86), Program Data, Users and Windows to my image, that is a clone of my W7. Please let me knowThanks in advanceI going to check the video #3 Quote
ricktendo Posted March 2, 2010 Author Posted March 2, 2010 You can put any file in any folder in your mounted install.wim, I put stuff like this in my system32 folder (mrt.exe, oem bitmaps and some shell extensions that I register with my .xml)oobe (folder with OEM bitmaps)7ZSplit.exeBrowserBack.dllCmdOpen.dllFGCBA.exeFGCBAHandler.exeFileExtToggle.dllGMailFS.chmGMailFS.dllHashCheck.dllHashTab.dllHFExtract.exeHiddenFilesToggle.dllLegitCheckControl.dllMicrosoftUpdateCatalogWebControl.dllmrt.exePEChecksum.exeProcess.exeReg2inf.exeReg2infHandler.cmdSelectAll.dllUpOneLevel.dllI put my Windows Defender and Microsoft Security Essentials updates in the ProgramData folder, I also add some programs to the Program Files folder too//the .lnk shortcuts for these I put in ProgramData\Microsoft\Windows\Start Menu\ProgramsCPU-ZDriverBackupGPU-ZRegshotResource HackerTake ControlVirtualDubWindows Sidebar (I put some gadgets in this one)As for copying settings I dont know exactly how to do that yet but there are commands that you can run with DISM that will copy your current user profile stuff but I have not tried to do that yet. Quote
Rafadecai Posted March 2, 2010 Posted March 2, 2010 Rick hello "when the video for Part 4And I will add when you finish all the captions in Spanish? Quote
Yesnovato Posted March 3, 2010 Posted March 3, 2010 Hello Rick Thanks for reply. I've been playing with the mounted image, I have really integrated the drivers, the updates, and disable a few features, but there are many things that are not very clear for me because I am a total newbie in programming, by now I would like to try my image in the vmware, so I need to do the Iso. could you tell me how to use oscdimg.exe to make the ISO. I've been reading the help in WAIK but I can not achieve anything. Thank you for your usual help. and believe me I've been learning a lot with you.Sorry the language, the english is not my nature language. :sleeping: :sleeping: Quote
Yesnovato Posted March 3, 2010 Posted March 3, 2010 (edited) Hello RickWell, I made the ISO using 7Costumizer(I would like do it with oscdimg for learning)and install it using the VMware image, below is a summary of my imageIncluded:a) drivers (worked perfect) The latest updates from MS, including Windows Defender (OK, but I don't know how to integrated the .exe updates)c) Set-timezone (OK)d) Set-Productkey (I could not activate Windows(3 days) , I do not know how to do it)e) Disable some features, like games (OK, although I do not know about other features, I was reading about .xml, but I don't know how to do it and where to put it and for what)f) My Favorites (did not work, Windows installs the default)g) Changed the user acccount pictures(OK)h) Wallpaper (did not work, I don't know how do it)for me, I had a step forward, it has been for your help and others like you have helped me in other forums.Thank you so much Edited March 3, 2010 by Yesnovato Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.