应用程序 (microsoft-windows-stobject-custompowerapplication4-应用程序) Application (microsoft-windows-stobject-custompowerapplication4-application)

Application 指定由 CustomPowerApplication4指定的应用程序的完整路径。Application specifies the full path to the application specified by CustomPowerApplication4.

Values

路径Path

指定 CustomPowerApplication4的完整路径和可执行文件的名称。Specifies the full path and the executable file name for CustomPowerApplication4. 例如,For example,

%ProgramFiles%\CustomPower\Application.exe

路径 是一个字符串。Path is a string.

该字符串类型支持空元素。This string type supports empty elements.

有效的配置阶段Valid Configuration Passes

generalizegeneralize

specializespecialize

父层次结构Parent Hierarchy

Microsoft-microsoft-windows-stobject | CustomPowerApplication4 | 应用程序Microsoft-Windows-stobject | CustomPowerApplication4 | Application

适用于Applies To

有关此组件支持的 Windows 版本和体系结构的列表,请参阅 microsoft-windows-stobjectFor a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-stobject.

XML 示例XML Example

下面的 XML 输出显示了 CustomPowerApplication4 Application.exe parameter -paramThe following XML output shows CustomPowerApplication4 Application.exe with parameter -param. IconIDItemName 包含在 Resource.dll 中。IconID and ItemName are included in Resource.dll.

<CustomPowerApplication4>
   <Application>%ProgramFiles%\CustomPower\Application.exe</Application>
   <IconID>@%ProgramFiles%\Microsoft Shared\Resource.dll,-200</IconID>
   <ItemName>%ProgramFiles%\Microsoft Shared\Resource.dll,-100</ItemName>
   <Parameters>-param</Parameters>
</CustomPowerApplication4>

CustomPowerApplication4CustomPowerApplication4