BDD 2007 Time saving tips - How to manually use a BDD Task Sequence to test application installation
How often when creating a your perfect image do you find that you run through image build process only to find that one of your applications fails to install?
I find this to be a very commmon occurence. After a cursing about how I have just wasted another hour I ring the wife and tell her I am going to be late home and then start the process over again only to find that I have made another mistake, DAMM!!!
It doesn't have to be this way!
You can create a custom task sequence which includes only the applications you want to test. This can then be launched from within the OS allowing you to quickly test if the application installs correctly.
Here's how its done:
First you need to create a custom task sequence, the following steps detail the creation the task sequence:
1. Create a new build using the BDD workbench (i.e.) ApplicationsOnly
2. Copy TS. XML from your current build under the distribution share on your BDD server - \distribution\control\<Build ID\TS.xml
3. Copy it to the newly created build directory (i.e.) \distribution\control\ApplicationsOnly
4. Delete every task except for the custom tasks that you want to test -
Note: If you leave any folders behind then remember to make sure that you remove any unwanted conditions from the options tab
5. From the client computer launch cscript \\<yourserver>\<distribution share>\scripts\LiteTouch.vbs
6. Watch the task sequencer execute your tasks
7. Make adjustments as necessary
8. Update your build with the tested Tasks.
This process will literally save hours when troubleshooting application installation.
UPDATE - 14/05/07
Please see the following blog for further tips on this process.
UPDATE - 26/09/07
To make this process work with Deployment 4 please refer to this post.
UPDATE - 01/09/08
MDT 2008 now includes built in support for custom task sequences and you do not need to use this process.
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 .
Comments
Anonymous
January 01, 2003
I am often asked how to setup a custom task sequence that will continue after a reboot. If you have createdAnonymous
January 01, 2003
In this post I am going to talk about a solution I put together for a customer around OSD and applicationAnonymous
January 01, 2003
Hi Brian If you have a look in the distributioncontrol folder you will find a sub folder for each build. EAch of those sub folders contains a ts.xml file for the build. It as contains the any other build specific files such as sysprep.inf or unattend.xml. You can ignore all of the screens that appear when you run through the wizard. These will be ignored by the custom task sequqnce. Thanks, Ben Thanks, BenAnonymous
January 01, 2003
Hi Dsleigher, Have you looked at my updated post detailed at the end of this post? Thanks, BenAnonymous
January 01, 2003
The comment has been removedAnonymous
January 01, 2003
The comment has been removedAnonymous
January 01, 2003
I have previously mentioned how to create a custom task sequence to save time when testing applicationAnonymous
January 01, 2003
Hi Graham, Can you send me a copy of the ts.xml file for you task sequence? My email is ben dot hunter at microsoft dot com. Thanks, BenAnonymous
January 01, 2003
I am often asked how to setup a custom task sequence that will continue after a reboot. If you have createdAnonymous
January 01, 2003
Hi Roy, Have you removed the C:_SMSTaskSequence folder? You also need to update the deployment point using the "update files only" option each time you make a change. Thanks, BenAnonymous
July 23, 2007
Great tip Ben, like you say will save hours of time thanks very much :) I'd like to add that the best way to get this to work is to incorporate your application in the usual way (right click applications, new, follow wizard etc) and then go to the task sequencer and (after following Ben's steps) click new and then choose application...I selected "new task" and have wasted time checking my switches! (the %deployroot% is put automatically for you in the "start in field")Anonymous
October 06, 2007
Ben I've followed the instructions for the application test task sequenceplease the update post, how ever I still have a problem. when I run the litetouch vb script I get the windows deployment wizard asking for a computer name, then the build type on which i select the Application test build version it then asks me for the network share credentials which I supply and then it displays the Final details(Ready to Begin)dialogue. I click begin and the machine reboots. Any idea what i've done wrongAnonymous
November 02, 2007
Very informational Ben, thank you. I have a problem testing my apps and registry fixes. I also get the Refresh Computer Screen. I followed all steps that I have read and was wondering how does the Lite Touch.vbs know what ts.xml to use. I have different builds that I created. Am I missing a step? Any help would be appreciated. Thank you.Anonymous
January 23, 2008
The comment has been removedAnonymous
January 24, 2008
Hi Ben, The _SMSTS folder gets removed as soon as you click finish. I've also updated the files on the deployment point but it still runs the previous TS. And just as I type that I find the problem.. There is a copy of TS.xml in x:deploytoolsx86, if I delete this and run the TS again it is then updated.