Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Wix *.msi installer Icon and logos

According to this http://wix.tramontana.co.hu/tutorial/user-interface/ui-wizardry

I have created the following code

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
  <Product Id="*" Name="Installer" Language="1033" Version="0.0.1.4" Manufacturer="my" UpgradeCode="*">
    <Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
    <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
    <MediaTemplate EmbedCab="yes" />
    <!--icon for Add/Remove Programs-->
    <Icon Id="WINDOWS.ico" SourceFile="..\WINDOWS.ico" />
    <Property Id="ARPPRODUCTICON" Value="WINDOWS.ico" />
    <Feature Id="ProductFeature" Title="Installer" Level="1" Description="The complete installation" Display="expand" ConfigurableDirectory="INSTALLFOLDER">
      <ComponentRef Id="ProgramMenuDir" />
      <ComponentGroupRef Id="ExportReleaseComponentGroup" />          
    </Feature>
    <!--Internal tools-->
    <Feature Id="Internal_Calibration_tools" Title="Internal Calibration tools" Level="1000" Description="Internal tools">
      <ComponentGroupRef Id="group_Internal_Calibration_tools" />
    </Feature>
    <UIRef Id="WixUI_Mondo"></UIRef>
    <UIRef Id="WixUI_ErrorProgressText" />
    <WixVariable Id="WixUIExclamationIco" Value="..\Import\WINDOWS_32px.ico" />
    <WixVariable Id="WixUIInfoIco" Value="..\Import\WINDOWS_32px.ico" />
    <WixVariable Id="WixUINewIco" Value="..\Import\WINDOWS_16px.ico" />
    <WixVariable Id="WixUIUpIco" Value="..\Import\WINDOWS_16px.ico" />
  </Product>
  <Fragment>
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFiles64Folder">

However I still can't see the icons changing.
enter image description here

enter image description here


in bootstrap everything works fine and all of the icons were changed.

like image 209
Gilad Avatar asked Nov 02 '14 13:11

Gilad


People also ask

What is WiX Installer used for?

Windows Installer XML Toolset (WiX, pronounced "wicks"), is a free software toolset that builds Windows Installer packages from XML. It consists of a command-line environment that developers may integrate into their build processes to build MSI and MSM packages.

How do I create an MSI file with WiX?

In Visual Studio, open your solution, and add a WiX project to it: go to the Visual Studio main menu and click File -> Add -> New Project to open the Add New Project dialog. Choose the Setup Project item in the Windows Installer XML node, specify the project name and click OK.

Is WiX Installer free?

Download. You can download the WiX toolset for free.


1 Answers

You should add this. The whole top banner image should be added.

<WixVariable Id="WixUIBannerBmp" Value="..\images\banner.bmp" />

Make sure its in the correct size and it must be a bitmap image.

Reference : http://wixtoolset.org/documentation/manual/v3/wixui/wixui_customizations.html

like image 90
LeoN Avatar answered Oct 09 '22 08:10

LeoN