How To Slipstream Drivers And Updates In A Custom Windows ISO –

Blog

Using DISM to install Windows Update packages ^

Start by creating a folder in the root of C:\. Name the folder Mount. Next, launch an administrative command prompt (WIN + X, A for Windows 8+ machines) and execute DISM to see the list of available options and the proper syntax. If you have ADK installed, you can launch the Deployment and Imaging Tools Environment shortcut as an administrator. This is my preferred method.

Getting help with DISM is made easier with command prompt examples.

Your first step is to mount your OS install.wim file. If you are using MDT, this file is located in your DeploymentShare under Operating Systems\OS Name\sources\. At your administrative command prompt, type the following:

When the WIM is mounted, you should be able to browse to C:\Mount and view the contents.

A mounted WIM within Windows Explorer. An OS within an OS.

To add a Windows update, type the following command:

Adding updates with the above command is almost as tedious as watching 150 of them install. In the past, I would head to the Windows Update catalog and download every update that was needed. Although I will still do this for some single updates, I use a faster method now.

Video

Procedure 1: Basic slipstream steps

Follow the following steps to create a slipstream drop that you can use for installing the original media and a service pack at the same time.

  1. Install the following prerequisites for SQL Server 2008.

    • .NET Framework 2.0 SP2 for SQL Server 2008 Express Edition

    • .NET Framework 3.5 SP1 for other editions

      To download and install the .NET Framework 3.5 SP1, see Microsoft .NET Framework 3.5 Service Pack 1.

    • Windows Installer 4.5

      To download and install Windows Installer 4.5, visit the following Microsoft Web site:

  2. Download the service pack package that matches you system architecture. For example, download the x64 package of SQL Server 2008 Service Pack 1 if your system is an x64-based system.

  3. Extract the service pack by running the command: SQLServer2008SP1-KB968369-x64-ENU.exe /x:C:\SP1.

  4. Run the service pack to install Setup files on the computer. You will receive a Setup Support Files dialog box if the Setup support files have not been installed. You can also run the following file to install the setup support files: C:\SP1\x64\setup\1033\sqlsupport.msi.

  5. Run the Setup.exe file from the SQL Server 2008 source media by specifying the /PCUSource parameter. For example: Setup.exe /PCUSource=C:\SP1.

Do you find our site helpful?

We pay over $250/mo out of pocket to keep DCT going. If you would like to help keep Daves Computer Tips FREE click the PayPal logo below. Your donations are greatly appreciated!

Option 2: Update the original media files

This option is best for running a patched setup on many computers, large deployments, or when an administrator wants to make available this patched setup to users. It is important to follow these steps carefully and fully test before making this option available to others.

  1. Download the hotfix that includes the updated SQL Server 2008 Setup support files that you want to use to update the original media files. You must download the hotfixes for x86, x64, and IA-64 platforms because the original media contains the files for each platform.

  2. At a command prompt, type the following command, and then press ENTER to extract the contents of the package: hotfix_package_name/x:c:\kb _number_of_hotfix package\architecture.

    The architecture placeholder represents the different hardware platforms. For example, it can represent one of the following folders:

    • x86
    • x64
    • IA64

    The following examples represent how you can use this command:

    • SQLServer2008-KB956717-IA64.exe /x:c:\kb956717\ia64
    • SQLServer2008-KB956717-x64.exe /x:c:\kb956717\x64
    • SQLServer2008-KB956717-x86.exe /x:c:\kb956717\x86
  3. Copy the contents of the SQL Server 2008 DVD to the local hard disk.

  4. Copy the following files:

    • Copy the Setup.exe and Setup.rll files from the C:\kb_number_of_hotfix package\folder to the Folder that contains the local copy of media\ folder.

    • Copy all files (not the subfolders) in the architecture folder, except the Microsoft.SQL.Chainer.PackageData.dll file, from the C:\kb_number_of_hotfix package\architecture\architecture\ folder to the Folder that contains the local copy of media\architecture\ folder.

  5. Start the Setup program from the local folder.

Note

Due to schema changes that have been introduced in RTM based-cumulative update packages for SQL Server 2008 that start with Cumulative Update Package 8, you may receive the following error message when you run the Setup program. You may receive the following error message after you update the Setup support files by using the procedure that is described in option 2:

2010-01-14 15:34:36 Slp: Exception type: Microsoft.SqlServer.Chainer.Infrastructure.ChainerInfrastructureException

2010-01-14 15:34:36 Slp: Message:

2010-01-14 15:34:36 Slp: The ‘Path’ attribute is not declared.

To avoid this validation issue, we recommend that you copy the Microsoft.SQL.Chainer.PackageData.dll file from the RTM media and keep the original Microsoft.SQL.Chainer.Package.dll file in the same location as the Microsoft.SQL.Chainer.Package.Package.xsd file. Do this to make sure that the two .dll files are in sync. This combination of .dll files will install the RTM version of SqlSupport.msi (10.00.1600.22). To benefit from the bug fixes that are present in the cumulative update, use one of the following methods:

  • Method 1

    Manually install the SQL Support .msi file for the particular architecture from the following cumulative update package extraction location: CU8\<CPU>\setup\sqlsupport.msi.

  • Method 2

    In addition to the files that are listed in step 4 in option 2, the files that are described in the following steps should be copied before you start setup from a local folder. To copy the files, following these steps.

    1. Copy the Microsoft.SQL.Chainer.Package.dll file from the RTM folder to the local copy of the <media>\<architecture folder> folder.

    2. Copy the Sqlsupport.msi file. Of the following locations, copy the file from the first location to the local copy of the second location:

      • C:\<kb_number_of_hotfix package>\<architecture>\setup\Sqlsupport.msi
      • <media>\<architecture folder>\setup\

Install Updates

We now have the install1.wim file mounted to c:\wincd\dismmount. Now we just need to install the updates to the mounted folder.

You can use wsusoffline to download all available updates, or you can pre-select a few. I HIGHLY recommend adding kb3021910 which fixes windows update.

Single Package: dism /image:C:\wincd\dismmount /Add-Package /PackagePath:C:\wincd\updates\windows8.1-kb3021910-x64_e291c0c339586e79c36ebfc0211678df91656c3d.msu Folder of Packages: dism /image:C:\wincd\dismmount /Add-Package /PackagePath:C:\wincd\wsuso ffline\client\w63-x64\glb

2.Download all availableWindows 10 Hotfixes / Patches / Security Updates

Usually Windows 10 updates and installs all hotfixes / patches / security updates automatically. But to slipstream Windows 10 you need the single installation files for those updates.

One great tool to obtain them is WHDownloader which can be downloaded here. It does not require installation and can be run just by clicking the WHDownloader executable.

After starting WHDownloader click the upper left a

After starting WHDownloader click the upper left arrow to download a list of all available Windows 10 updates.

Then choose your Windows 10 version, either Window

Then choose your Windows 10 version, either Windows 10 x64 for 64 bit or Windows 10 x86 for the 32 bit version. You will see a list of all available Windows 10 updates. Select all of them and then click Download on the bottom of the window. They will be stored in a subfolder  called Windows 10 of WHDownloader.

Here you can check if all available updates have been found. In our example we see more upgrades as Windows 10 got upgraded from an earlier Windows 10 Technical Preview build.

A powerful alternative to WHDownloader is WSU

A powerful alternative to WHDownloader is WSUS Offline Update which does the same job but offers more options. One major advantage of  WSUS Offline Update is that it does not rely on handcrafted lists of available updates and therefore is automatically up to date. Update lists of WHDownloader in comparison are updated by developers and supporters of that tool which may result in delays.

If you use WSUS Offline Update to download all updates to slipstream Windows 10, just select Windows 10 and define a folder where you want the updates to be safed.

Step 4 – Mount the WIM File

To add the update package to windows 10 media, we must first mount the install.wim file. Create a folder anywhere on your drive and name it as mount.

Run the command to mount the install.wim file.

Explore the install.wim

type the following: dism /get-imageinfo /imagefile:c:\wincd\install.wim You should see something like this:

As you can see, my iso includes 2 indexes; Win 8.1 Pro & Win 8.1. I don’t actually need to have the Win 8.1 included, so i’m going to extract the first index from install.wim into install1.wim. dism /export-image /sourceimagefile:c:\wincd\install.wim /destinationimagefile:c:\wincd\install1.wim /sourceindex:1

Closing words

Some people might find it easier to download a whole new version of Windows 10 ISO image than to update an existing ISO file. However, if you do not have the time to download an entire image or frequently need to change to an image with the latest updates, this method is for you.

With lesser download volume and the latest feature updates, updating an existing ISO image can be speedy, and it eliminates the headache of updating each separate computer later on.

Also see:

4. NTLite: Open and loadWindows 10 ISO data files

In the next step we use the free version of the tool NTLite which can be downloaded here. Open it and choose Add > Image folder in the upper left corner.

Then select the folder where you copied to the extracted Windows 10 ISO files.

In the details window of NTLite go to Image h

In the details window of NTLite go to Image history and find your attached Windows 10 ISO. Right click on it an select Load. This will open the original Windows 10 ISO for transformation.

Step 2 Download Cumulative Update from Microsoft Update catalog

I have seen some sites offering cumulative update downloads. However I would suggest not to download the updates from any of those sites. Download cumulative updates or any updates only from Microsoft Update Catalog site.

Visit the Microsoft update catalog site, in the search box type you Windows 10 version and click Search. From the list of updates, sort the results by Last Updated column.

Look for the cumulative update for your Windows 10 version. Before you download it, click on the update title.

The update details window shows detailed information of this update. Click Package Details tab and notice the updates that this update replaces.

So from the below screenshot one can understand that this cumulative update is the latest one and replaces the previous months updates.

Download the cumulative update for Windows 10. The update always ends with .msu extension. Save the update file to a separate folder.

NTLite

NTLite is here to make our lives easier. It allows us to perform slipstreaming through a straightforward graphic interface. The best part? It’s free.

There are, however, a few paid versions with addit

There are, however, a few paid versions with additional options.

For more information about the paid options, we ca

For more information about the paid options, we can have a look at the application’s official page.

NTLite gives us a significant advantage compared to other similar applications since it is compatible with all the newest Windows versions. In fact, it gets constant updates so that it can support even the latest Windows 10 updates, such as the Fall Creators Update.

Of course, it does not support older versions such

Of course, it does not support older versions such as XP and Vista.

Download and Install

To download the application, we will have to go to its official page.

As we can see, there are two versions: stable and beta.

For this guide, we chose to use the beta version,

For this guide, we chose to use the beta version, but you can use whichever you like. The process we will follow is the same for the stable version as well.

To download our preferred version, all we have to do is click on “Download,” depending on the Windows version installed on our computer (32-bit or 64-bit).

We then run the installation file and accept the t

We then run the installation file and accept the terms of use.

We select an install location and press “Next.”

We select an install location and press “Next.”

In the next window, we can check Portable Mode, in

In the next window, we can check Portable Mode, in case we don’t want a full installation.

After the install is complete, we can open the program. The first time we run NTLite, it will ask us to select the license type of our preference.

For the free version, we check the “Free (limited, non-commercial)” field, and press OK.

The install is complete, so we are ready to create

The install is complete, so we are ready to create a Windows ISO tailored to our needs. Below, we will demonstrate the process for an ISO in Windows 10. The procedure for the other Windows versions is identical.

Comments

If you have any problems with this or have any questions at all, please use our comments system below.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you! Let us improve this post! Tell us how we can improve this post?

2,882

WHY NOT SUBSCRIBE TO OUR NEWSLETTER?

Get great content like this delivered to your inbox!

It’s free, convenient, and delivered right to your inbox! We do not spam and we will not share your address. Period!

Tags