[wix-users] Customize Windows Installer Icon (Computer Icon with CD image)

Russell Haley russ.haley at gmail.com
Thu Feb 1 17:21:38 PST 2018


On Thu, Feb 1, 2018 at 5:20 PM, Russell Haley <russ.haley at gmail.com> wrote:
> On Thu, Feb 1, 2018 at 5:17 PM, Russell Haley <russ.haley at gmail.com> wrote:
>> On Thu, Feb 1, 2018 at 4:34 PM, Habib Salim via wix-users
>> <wix-users at lists.wixtoolset.org> wrote:
>>> I think I finally get what Ven wants.
>>> If I am right, just as it is possible to set ARPPRODUCTICON, and to set
>>> the application icon, shortcut icon etc, is it possible to use a custom
>>> icon for the MSI instead of the standard installer icon?
>>>
>>> I have looked for this in the past and haven't found it.
>>
>> The icons have to come from the operating system as Rob pointed out,
>> or the manifest (resource file) in the application itself. I have seen
>> this working with setup *executables*, but not with an MSI (not
>> claiming expertise, just observation).
>
> Just to clarify, my understanding is that MSI files are *not*
> executable. They are containers (i.e. zip files) and hence cannot have
> their own icon.

Ugh, clarification to clarification: I meant Cabinet (CAB) files, not
zip files. Sorry.

>> A rather poor example of an exe bootstrapper has has the following code:
>>
>>     <BootstrapperApplicationRef
>> Id="WixStandardBootstrapperApplication.RtfLicense">
>>       <bal:WixStandardBootstrapperApplication
>>              ThemeFile="./Resources/BootStrapper/ClassicTheme.xml"
>>              LocalizationFile="./Resources/BootStrapper/ClassicTheme.wxl"
>>              LicenseFile="./Resources/BootStrapper/license_file.rtf"
>>              LogoFile="./Resources/BootStrapper/welcome_bootstrap.jpg" />
>>     </BootstrapperApplicationRef>
>>
>> Which displays a company logo in the places that are mentioned (i.e.
>> on the filesystem, in the taskbar when run). You could create a
>> bootstrapper that only launches the msi (replace YOURMSIFILEHERE):
>>
>>       <MsiPackage
>>         Visible="no"
>>         ForcePerMachine="yes"
>>         Vital="yes"
>>         DisplayInternalUI="no"
>>         SourceFile="YOURMSIFILEHERE.msi">
>>         <MsiProperty Name="ARPSYSTEMCOMPONENT" Value="1"/>
>>       </MsiPackage>
>>
>> For what it's worth,
>>
>> Russ
>>
>>> -----Original Message-----
>>> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf
>>> Of Ven H via wix-users
>>> Sent: Thursday, February 01, 2018 12:47 PM
>>> To: Rob Mensching <rob at firegiant.com>
>>> Cc: Ven H <venh.123 at gmail.com>; WiX Toolset Users Mailing List
>>> <wix-users at lists.wixtoolset.org>
>>> Subject: Re: [wix-users] Customize Windows Installer Icon (Computer Icon
>>> with CD image)
>>>
>>> Thanks a lot, Rob. I am not sure how to change this. Also, in that case,
>>> can't I package this icon as part of my installer? Can you please provide
>>> some more info?
>>>
>>> Regards,
>>> Venkatesh
>>>
>>> On Thu, Feb 1, 2018 at 11:12 PM, Rob Mensching <rob at firegiant.com> wrote:
>>>
>>>> IIRC, you have to change the ProgId registered for the Windows
>>>> Installer to change that icon. Then all MSIs on that computer will have
>>> the new icon.
>>>>
>>>> _____________________________________________________________
>>>>  Short replies here. Complete answers over there:
>>>> http://www.firegiant.com/
>>>>
>>>> -----Original Message-----
>>>> From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On
>>>> Behalf Of Ven H via wix-users
>>>> Sent: Thursday, February 1, 2018 9:34 AM
>>>> To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
>>>> Cc: Ven H <venh.123 at gmail.com>
>>>> Subject: Re: [wix-users] Customize Windows Installer Icon (Computer
>>>> Icon with CD image)
>>>>
>>>> Sorry Habib. I am not sure if you understood me. There is an icon,
>>>> which is shown on several places like on the MSI, on the Status bar
>>>> during installation, at the top left corner of every dialog and so on
>>>> (a small computer with a CD image). I am asking about customizing that.
>>>>
>>>> Regards,
>>>> Venkatesh
>>>>
>>>
>>> ____________________________________________________________________
>>> WiX Toolset Users Mailing List provided by FireGiant
>>> http://www.firegiant.com/
>>>
>>> ____________________________________________________________________
>>> WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list