Properties set in CustomSettings.ini that cannot be overwritten (first value wins) can be set below [Default] but will then apply to all task sequences on that deployment point.
Open Deploymentshare\Cripts\ZTIGather.xml to find out for which properties first value wins. JoinDomain/JoinWorkgroup is an example of a first value wins setting. If you define this below [Default] all task sequences will get these settings.
[Settings] Priority=UserID, Default
[johns] WizardSelectionProfile=Helpdesk
Now when the user logs into the wizard in the WinPE environment, he/she sees only the task sequences that are available in the selection profile.
Source:Microsoft TechNet - MDT Forum - How to hide/show task sequence for specific users/user groups?
See also:
This Is Just A Blog - MDT 2010 New Feature – Selection Profile
The Deployment Bunny - Password or PIN Code “protect” MDT 2010 LiteTouch
Microsoft TechNet - MDT Forum - Hide a Task Sequence in Windows PE...
Michael Niehaus - Selection profiles with the Lite Touch deployment wizard
[Settings] Priority=TaskSequenceID, Default
Some caveats:
To get ZTIGather.wsf to run after selecting a task sequence, so MDT variables from CustomSettings.ini for that task sequence can be filled in for you in the following MDT wizard screens you can do the following:
Dim sCmd
oLogging.CreateEntry "DeploymentType = " & oProperties("DeploymentType"), LogTypeInfo
add
sCmd = "wscript.exe """ & oUtility.ScriptDir & "\ZTIGather.wsf""" oItem = oSHell.Run(sCmd, , true)
Now when you run the MDT deployment you'll notice a long pause after selecting a task sequence and clicking on Next. This is due to ZTIGather.wsf being run at that time.
The wizard screens after the selection of the task sequence should now be filled with the values you defined for that specific task sequence.
Source: Microsoft TechNet - MDT Forum - TaskSequenceID not being set, trying to use for customsettings.ini sub sections
See also: Microsft TechNet - MDT Forum - Problem with subsections not used in my customsettings.ini file
See also:
Mike Morawski - ‘Dynamic’ Settings per Task Sequence in MDT 2010 through Coding
myITforum.com - Microsoft Deployment Toolkit 2010 – LTI – Making Applications Mandatory describes, among other things, how to make an application mandatory based on the selected task sequence.
From within the booted MDT WinPE image:
winpeshl.exe
From an installed computer:
\\server\deploymentshare$\Scripts\litetouch.vbs