view deploy/win32/tonioni.wxs @ 61:85ac2e8e3872 r0.1_win32_testbuild

Subrepo state
author Chris Cannam <chris.cannam@eecs.qmul.ac.uk>
date Wed, 17 Jul 2013 16:31:03 +0100
parents 9e350082730e
children c6603f0ddde5
line wrap: on
line source
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <Product
      Name="Tony" 
      Id="*"
      Language="1033"
      Codepage="1252" 
      Version="0.1" 
      UpgradeCode="3F073027-A65B-4688-906C-5F64597C5BB1"
      Manufacturer="Queen Mary, University of London">
    
    <Package
        Id="*"
        Keywords="Installer"
        Description="Tony Installer" 
        Comments="Copyright (c) 2012 Queen Mary, University of London and others." 
        Manufacturer="Queen Mary, University of London" 
        InstallerVersion="100" 
        Languages="1033" 
        Compressed="yes" 
        SummaryCodepage="1252"/>

    <MajorUpgrade DowngradeErrorMessage="A later version of Tony is already installed. Setup will now exit."/>

    <Media Id="1" Cabinet="Tony.cab" EmbedCab="yes" DiskPrompt="CD-ROM #1"/>
    <Property Id="DiskPrompt" Value="Tony Installation [1]"/>

    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="PFiles">

        <Directory Id="INSTALLDIR" Name="Tony">
            
            <Component
                Id="MainExecutable"
                Guid="B0DA872A-E8B9-4C41-B0B0-7702A9EBBD51">

              <File
                  Id="T"
                  Name="Tony.exe"
                  DiskId="1"
                  Source="release\Tony.exe"
                  KeyPath="yes">

                <Shortcut
                    Id="TStartEntry"
                    Directory="ProgramMenuDir"
                    Name="Tony"
                    WorkingDirectory="INSTALLDIR"
                    Advertise="yes"/>

                <Shortcut
                    Id="TDesktop"
                    Directory="DesktopFolder"
                    Name="Tony"
                    WorkingDirectory="INSTALLDIR"
                    Advertise="yes"/>
              </File>
<!--
              <File
                  Id="COPYING"
                  Name="COPYING"
                  DiskId="1"
                  Source="COPYING"/>
              <File
                  Id="README"
                  Name="README"
                  DiskId="1"
                  Source="README"/>
              <File
                  Id="CHANGELOG"
                  Name="CHANGELOG"
                  DiskId="1"
                  Source="CHANGELOG"/>
    -->        </Component>

            <Component
                Id="Qt5"
                Guid="7DCE15D9-DB56-4ECC-A324-A9B74E30B872">
              <File
                  Id="QtCore"
                  Name="Qt5Core.dll"
                  DiskId="1"
                  Source="release\Qt5Core.dll"
		  KeyPath="yes"/>
              <File
                  Id="QtGui"
                  Name="Qt5Gui.dll"
                  DiskId="1"
                  Source="release\Qt5Gui.dll"/>
              <File
                  Id="QtNetwork"
                  Name="Qt5Network.dll"
                  DiskId="1"
                  Source="release\Qt5Network.dll"/>
              <File
                  Id="QtWidgets"
                  Name="Qt5Widgets.dll"
                  DiskId="1"
                  Source="release\Qt5Widgets.dll"/>
              <File
                  Id="QtXml"
                  Name="Qt5Xml.dll"
                  DiskId="1"
                  Source="release\Qt5Xml.dll"/>
              <File
                  Id="D3DCompiler"
                  Name="D3DCompiler_43.dll"
                  DiskId="1"
                  Source="release\D3DCompiler_43.dll"/>
              <File
                  Id="icudt49"
                  Name="icudt49.dll"
                  DiskId="1"
                  Source="release\icudt49.dll"/>
              <File
                  Id="icuin49"
                  Name="icuin49.dll"
                  DiskId="1"
                  Source="release\icuin49.dll"/>
              <File
                  Id="icuuc49"
                  Name="icuuc49.dll"
                  DiskId="1"
                  Source="release\icuuc49.dll"/>
              <File
                  Id="libEGL"
                  Name="libEGL.dll"
                  DiskId="1"
                  Source="release\libEGL.dll"/>
              <File
                  Id="libgcc"
                  Name="libgcc_s_sjlj-1.dll"
                  DiskId="1"
                  Source="release\libgcc_s_sjlj-1.dll"/>
              <File
                  Id="libGLESv2"
                  Name="libGLESv2.dll"
                  DiskId="1"
                  Source="release\libGLESv2.dll"/>
              <File
                  Id="libstdcplusplus"
                  Name="libstdc++-6.dll"
                  DiskId="1"
                  Source="release\libstdc++-6.dll"/>
              <File
                  Id="libwinpthread"
                  Name="libwinpthread-1.dll"
                  DiskId="1"
                  Source="release\libwinpthread-1.dll"/>
            </Component>
	    
	    <Directory Id="Platforms" Name="platforms">
              <Component
                  Id="Qt5PlatformPlugins"
                  Guid="F3AAECAE-3B5E-4BA7-8F17-D20F608BE43A">
		<File
                    Id="qminimal"
                    Name="qminimal.dll"
                    DiskId="1"
                    Source="release\qminimal.dll"/>
		<File
                    Id="qwindows"
                    Name="qwindows.dll"
                    DiskId="1"
                    Source="release\qwindows.dll"/>
              </Component>
	    </Directory>
        </Directory>

        <Directory Id="VampPlugins" Name="Vamp Plugins">
            <Component
                Id="Yintony"
                Guid="5C3B7285-B652-4FE5-8A1D-AC92376F8AD5">
                <File
                    Id="yintonylib"
                    Name="yintony.dll"
                    DiskId="1"
                    Source="..\yintony\win32-build\release\yintony.dll"/>
                <File
                    Id="yintonycat"
                    Name="yintony.cat"
                    DiskId="1"
                    Source="..\yintony\yintony.cat"/>
                <File
                    Id="yintonyrdf"
                    Name="yintony.n3"
                    DiskId="1"
                    Source="..\yintony\yintony.n3"/>
            </Component>
        </Directory>

      </Directory>
      
      <Directory Id="ProgramMenuFolder" Name="Programs">
        <Directory Id="ProgramMenuDir" Name="Tony">
          <Component Id="ProgramMenuDir" Guid="56B6BB05-453C-4480-81DA-31612ED64410">
            <RemoveFolder Id="ProgramMenuDir" On="uninstall"/>
            <RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes"/>
          </Component>
        </Directory>
      </Directory>

      <Directory Id="DesktopFolder" Name="Desktop"/>

    </Directory>

    <Feature Id="Complete" Level="1">
      <ComponentRef Id="MainExecutable"/>
      <ComponentRef Id="Yintony"/>
      <ComponentRef Id="Qt5"/>
      <ComponentRef Id="Qt5PlatformPlugins"/>
      <ComponentRef Id="ProgramMenuDir"/>
    </Feature>

  </Product>
</Wix>