應用程式Application

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

Values

PathPath

指定完整路徑和可執行檔名稱CustomPowerApplication4Specifies 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

將一般化generalize

特製化specialize

父階層Parent Hierarchy

Microsoft-Windows-stobject | CustomPowerApplication4 | ApplicationMicrosoft-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 輸出中會顯示CustomPowerApplication4Application.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