ReturnCodeReturnCode

指定自定义的返回代码以将映射到所指示的命令行程序存在的代码。Specifies the custom return code to map to the indicated shell exist code.

Values

Value 描述Description

CustomReturnCodeCustomReturnCode

指定要将映射到所指示的 shell 退出代码的返回代码。Specifies the return code to map to the indicated shell exit code.

父层次结构Parent Hierarchy

Microsoft-Windows-Embedded-ShellLauncher | UserSettings | User | CustomReturnCodeAction | CodeAction | ReturnCodeMicrosoft-Windows-Embedded-ShellLauncher | UserSettings | User | CustomReturnCodeAction | CodeAction | ReturnCode

有效配置阶段Valid Configuration Passes

oobeSystemoobeSystem

适用于Applies To

Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft-Windows-嵌入-ShellLauncherFor a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Embedded-ShellLauncher.

XML 示例XML example

<settings pass="oobeSystem">
    <component name="Microsoft-Windows-Embedded-ShellLauncher" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="NonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
        <Shell>testshell.exe</Shell>
        <DefaultReturnCodeAction>1</DefaultReturnCodeAction>
    </component>
</settings>