This article describes an update to support Alternate Content Provider in Task Sequence in System Center 2012 Configuration Manager.
In an operating system deployment scenario, distribution point locations that are stored in task sequence variables are currently inaccessible to Alternate Content Provider. Therefore, applications that are written to use the Alternate Content Provider APIs in System Center 2012 Configuration Manager are affected.
To support Alternate Content Provider in Task Sequence, this update introduces the SMSTSDownloadProgram task sequence environment variable. The SMSTSDownloadProgram task sequence environment variable is specified as follows:
In an operating system deployment scenario, distribution point locations that are stored in task sequence variables are currently inaccessible to Alternate Content Provider. Therefore, applications that are written to use the Alternate Content Provider APIs in System Center 2012 Configuration Manager are affected.
To support Alternate Content Provider in Task Sequence, this update introduces the SMSTSDownloadProgram task sequence environment variable. The SMSTSDownloadProgram task sequence environment variable is specified as follows:
- A predefined environment variable that contains the path of the downloader program (.exe file) will be set in the SMSTSDownloadProgram task sequence environment variable.
- We recommend that you make the downloader program available on the boot image. Therefore, the downloader program can be run securely.
- During the download process, the task sequence download library will check the environment variable to verify that there is a defined downloader program. If there is, the program will be used to perform the download.
- The following command line parameters will be passed to the external downloader program:
- Package ID
- Absolute path of the download folder
- The Configuration Manager client expects at least one location. The location will be passed to the Alternate Content Provider because it can use the Configuration Manager distribution point in certain situations.
- The Alternate Content Provider can return a fallback code or an error code. When a nonzero code is returned, the Configuration Manager client will fall back to Content Transfer Manager and Data Transfer Service.
- Alternate Content Provider will work only in Windows Preinstallation Environment (Windows PE) mode.