Share via


IconID

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Vista

IconID specifies the full path to the resource DLL that contains the icon to use with CustomPowerApplication3.

This setting is optional.

To use a different IconID for each language, create a resource file, and refer to it using the format: "filename.dll,-referenceid". For information on creating localized text versions for this setting, see the topic Using the MUI with Applications.

Values

ID

Specifies the resource ID of the icon to use for CustomPowerApplication3.

IconID is represented as @dllname,-resourceID, where dllname must include a full path to the resource DLL. For example,

@%ProgramFiles%\Microsoft Shared\Resource.dll,-200.

ID is a string.

This string type supports empty elements.

Valid Configuration Passes

generalize

specialize

Parent Hierarchy

Microsoft-Windows-stobject | CustomPowerApplication3 | IconID

Applies To

For a list of the supported Windows® editions and architectures this component supports, see Microsoft-Windows-stobject.

XML Example

The following XML output shows CustomPowerApplication3 Application.exe with parameter -param. IconID and ItemName are included in the Resource.dll file.

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

See Also

Concepts

CustomPowerApplication3