Getting Started

Download the hydration kit, and extract the contents of the .zip file to a storage location with plenty of free space. The kit will download a number of prerequisites and install them. Additionally, you will need to provide media for each operating system on which you plan to use the App-V sequencer. If you choose to download the full Windows Assessment and Deployment Kit, you will be downloading over 3 GB of prerequisites alone.

User-Provided Prerequisites

This kit does require you to download a few items in addition to the kit itself.
  • KB2533623 if you are going to be sequencing on the Windows 7 family of operating systems. You need to download this update yourself, because it requires validation of your copy of Windows.
  • The setup file for the App-V 5 Sequencer.

When you extract the contents of the .zip file, you should end up with a folder called App-V Hydration Kit. In this folder, go to the Prerequisites\KB2533623 folder. This folder is where you should place the .msu files for KB2533623.

Place the setup file for the App-V 5 Sequencer in the Prerequisites\App-V 5 Sequencer folder. There should already be a file in this folder, install.wsf. This is an automated installation script for the sequencer.

Operating System Media

You also need to provide your own operating system media. In the App-V Hydration Kit folder, there is a folder named OS. In this folder, create a folder for each operating system medium you will be adding. The naming scheme for these subfolders does not matter; the hydration script will examine the files to find information about the operating system. Copy the contents of the media into each folder. Do not simply copy an ISO file into the folder.

Running the PowerShell Script

If you have not already done so, you will need to set your PowerShell script execution policy to something that will allow scripts to run (e.g., RemoteSigned). Open an elevated PowerShell console, and run the command

Set-ExecutionPolicy RemoteSigned

Navigate to the directory into which you extracted the hydration kit contents. Run the Hydrate.ps1 script.

Script Parameters

The script accepts a few parameters.
  • DownloadADK - Include this if you want the script to download the entire Windows Assessment and Deployment Kit. You may want to do this if you plan to use this kit in several places, in a consulting situation for example. The script will download the ADK if it needs to, and it will use this same downloaded copy for every subsequent run.
  • DeploymentShareRoot - The path of the folder where the MDT Deployment Share will be created.
  • MediaRoot - The path of the folder where the MDT-generated media (ISOs, etc.) will be created.

DeploymentShareRoot and MediaRoot are mandatory. You will be prompted for values if you do not provide them on the command line.

The following command would run the hydration script, telling it to download the full Windows ADK, build the MDT deployment share in the folder D:\Deployment and create the MDT deployment media in the folder D:\Media.

.\Hydrate.ps1 -DownloadADK -DeploymentShareRoot "D:\Deployment" -MediaRoot "D:\Media"

Note: If you will be sequencing on Windows 8, it is recommended that you use relatively short folder names for your deployment share root and media root folders. The Windows 8 media contains files with long paths, and if the folder names you choose for this hydration kit are also long, you may receive errors about paths being too long.

Last edited Nov 10, 2013 at 9:44 PM by PatrickSeymour, version 1