Deployment 4 - UPDATE - How to create a custom task sequence

I have previously mentioned how to create a custom task sequence to save time when testing application installation in BDD 2007.

You will find the article here.

There are two problems you could run into when using this process with Deployment 4.

  1. If you create a custom task sequence based on a REPLACE template then it fails saying it cannot find \distribution$\control\ts.xml
  2. If you use a different template then I get an error saying you haven’t specified a deploymenttype value.

These problems are caused by checks put in place to verify the type of task sequence being executed. This design essentially means that you cannot use a custom task sequence unless you include an “Install Operating System” task in the task sequence.

Don't worry, there is no need to despair...... I have a solution.

  1. Simply add an “Install Operating System” task to your the task sequence and then you can disable it.
  2. Never use a Replace template to create your custom task sequence.

The task sequence and the process will then function as it would in BDD 2007.

Disclaimer: The information on this site is provided "AS IS" with no warranties, confers no rights, and is not supported by the authors or Microsoft Corporation. Use of included script samples are subject to the terms specified in the Terms of Use .