view win32-build/pyin.wxs @ 164:a7d9c6142f8f tip

Added tag v1.2 for changeset 4a97f7638ffd
author Chris Cannam
date Thu, 06 Feb 2020 15:02:47 +0000
parents 643bae02d652
children
line wrap: on
line source
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">

  <Product
      Name="pYIN" 
      Id="*"
      Language="1033"
      Codepage="1252" 
      Version="1.2"
      UpgradeCode="3b77b120-609d-41d6-a181-ae612cace655"
      Manufacturer="Queen Mary, University of London">
    
    <Package
        Id="*"
        Keywords="Installer"
        Description="pYIN 64-bit Installer"
        Comments="Copyright (c) 2020 Queen Mary, University of London"
        Manufacturer="Queen Mary, University of London" 
        InstallerVersion="200"
        Languages="1033" 
        Compressed="yes" 
        Platform="x64"
        SummaryCodepage="1252"/>

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

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

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

      <Directory Id="ProgramFiles64Folder" Name="PFiles64">
        <Directory Id="VampPlugins" Name="Vamp Plugins">

          <Component Win64="yes"
              Id="Plugin64"
              Guid="cbd4079a-6d13-4103-98f2-8c00b0307a4e">
            <File
                Id="README64"
                Name="pyin-README.txt"
                Source="..\README"/>
            <File
                Id="COPYING64"
                Name="pyin-COPYING.txt"
                Source="..\COPYING"/>
            <File
                Id="Cat64"
                Name="pyin.cat"
                Source="..\pyin.cat"/>
            <File
                Id="Turtle64"
                Name="pyin.n3"
                Source="..\pyin.n3"/>
            <File
                Id="PluginLibrary64"
                Name="pyin.dll"
                Source="x64\Release\pyin.dll"/>
          </Component>

	</Directory> <!-- vamp -->
      </Directory> <!-- pfiles64 -->

      <Directory Id="ProgramFilesFolder" Name="PFiles">
        <Directory Id="Vamp32Plugins" Name="Vamp Plugins">
        
          <Component
              Id="Plugin32"
              Guid="229efe01-7741-43f0-a9d9-a11d8ec6ed21">
            <File
                Id="README32"
                Name="pyin-README.txt"
                Source="..\README"/>
            <File
                Id="COPYING32"
                Name="pyin-COPYING.txt"
                Source="..\COPYING"/>
            <File
                Id="Cat32"
                Name="pyin.cat"
                Source="..\pyin.cat"/>
            <File
                Id="Turtle32"
                Name="pyin.n3"
                Source="..\pyin.n3"/>
            <File
                Id="PluginLibrary32"
                Name="pyin.dll"
                Source="Release\pyin.dll"/>
          </Component>
          
        </Directory>
      </Directory>

    </Directory>

    <Feature 
	Id="Complete"
	Title="Required files"
	Description="Installs the required files for pYIN."
	AllowAdvertise="no"
	Absent="disallow"
	Level="1">
      <ComponentRef Id="Plugin64"/>
      <ComponentRef Id="Plugin32"/>
    </Feature>

    <UI>
      <UIRef Id="WixUI_Minimal" />
      <UIRef Id="WixUI_ErrorProgressText" />
    </UI>

    <Property Id="WIXUI_DONTVALIDATEPATH" Value="1" />
    <Property Id="WixAppFolder" Value="WixPerMachineFolder" />
    <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
    
    <Icon Id="winicon.ico" SourceFile="winicon.ico"/>
    <Property Id="ARPPRODUCTICON" Value="winicon.ico" />

    <WixVariable Id="WixUIBannerBmp" Value="top.bmp"/>
    <WixVariable Id="WixUIDialogBmp" Value="main.bmp"/>

  </Product>
</Wix>