Skip to main content

2025 年 12 月 16 日

MSIArpProductIcon Parameter

The MSIArpProductIcon parameter specifies the icon that is used to represent the application in the Windows Add or Remove Programs dialog. The icon can reside in ICO, DLL, or executable files.

Note: Do not modify this parameter. If an MSI package does not have an application icon, the application appears with a generic icon.

Specifying an Icon using MSIArpProductIcon Parameter

The MSIArpProductIcon parameter can specify an icon for Microsoft Office 2007. This example uses an index number to point to the first icon inside a DLL file.

MSIArpProductIcon=%Program Files (x86) Common%\Microsoft Shared\OFFICE12\
Office Setup Controller\OSETUP.DLL,1

The <icon_index_number> entry in this MSIArpProductIcon=<path_to_icon_file>[,<icon_index_number>] format is applied only when multiple icons are available in a DLL file or executable file.

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…