如何让我的自定义应用列表在 MDT 2012 中正确显示

如何让我的自定义应用列表在 MDT 2012 中正确显示

我有一个 MDT 任务序列,它安装操作系统并根据您的 OU 选择显示应用程序列表(不同部门需要单独的应用程序)。当启动到 WinPE 并运行任务序列时,选择选项会正确显示并安装正常。

但是,当从 Windows 刷新任务序列时,应用程序仅显示带有示例应用程序的默认面板。根据日志,它正在访问并运行正确的文件(此外,如果找不到文件,任务序列将出错),但显示不正确。

此向导的启动日志复制如下:

Expand a string: WinPEandFullOS TSManager 8/23/2013 9:08:09 AM 17324 (0x43AC)
Executing command line: smsswd.exe /run: cscript.exe "%DeployRoot%\Scripts\UDIWizard.wsf" /definition:"AppLists\%OSDInstallOU%.xml" TSManager 8/23/2013 9:08:09 AM 17324 (0x43AC)
[ smsswd.exe ] InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
PackageID = '' InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
BaseVar = '', ContinueOnError='' InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
ProgramName = 'cscript.exe "C:\_SMSTaskSequence\WDPackage\Scripts\UDIWizard.wsf" /definition:"AppLists\OSA.xml"' InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
SwdAction = '0001' InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Working dir 'C:\_SMSTaskSequence\WDPackage\Tools\X64' InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Executing command line: Run command line InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Microsoft (R) Windows Script Host Version 5.8 InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Copyright (C) Microsoft Corporation. All rights reserved. InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Property definition is now = AppLists\OSA.xml InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Microsoft Deployment Toolkit version: 6.1.2373.0 InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
The task sequencer log is located at C:\Windows\CCM\Logs\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log. InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Using tsprogressui.exe for displaying wizard UI InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Working directory: C:\_SMSTaskSequence\WDPackage\Tools\x64 InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Saving edited configuration file as C:\Windows\CCM\Logs\SMSTSLog\OSDSetupWizard.xml InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Copying app file C:\_SMSTaskSequence\WDPackage\Scripts\AppLists\OSA.xml.app to C:\Windows\CCM\Logs\SMSTSLog\OSDSetupWizard.xml.app InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
Selected wizard stage option: REFRESH InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)
About to run command: ServiceUI.exe -process:tsprogressui.exe OSDSetupWizard.exe /xml:"C:\Windows\CCM\Logs\SMSTSLog\OSDSetupWizard.xml" /stage:REFRESH InstallSoftware 8/23/2013 9:08:09 AM 12564 (0x3114)

我可以用一些指针来判断哪里出了问题。

答案1

在刷新时,为了让应用程序列表显示在第二个向导中,您必须在第二个向导期间运行应用程序发现扫描。它会读取 .xml.app 文件并填充列表。

相关内容