應用程式Application

Application 指定所指定的應用程式的完整路徑CustomPowerApplication5Application specifies the full path to the application specified by CustomPowerApplication5.

Values

PathPath

指定完整路徑和可執行檔名稱CustomPowerApplication5Specifies the full path and the executable file name for CustomPowerApplication5. 例如,For example,

%ProgramFiles%\CustomPower\Application.exe

路徑是一個字串。Path is a string.

此字串類型支援空元素。This string type supports empty elements.

有效的設定階段Valid Configuration Passes

將一般化generalize

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-stobject | CustomPowerApplication5 | ApplicationMicrosoft-Windows-stobject | CustomPowerApplication5 | 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 輸出中會顯示CustomPowerApplication5Application.exe 與parameter -paramThe following XML output shows CustomPowerApplication5 Application.exe with parameter -param. IconIDItemName都會納入.resource.dll。IconID and ItemName are included in Resource.dll.

<CustomPowerApplication5>
   <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>
</CustomPowerApplication5>

CustomPowerApplication5CustomPowerApplication5