| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> |
| 3 |
<!-- CHANGE THESE EVERY VERSION --> |
| 4 |
<?define ProductVersion="2.3.0" ?> |
| 5 |
<?define ProductCode="{6120DB53-572A-4D8A-9E13-B88345404A80}"?> |
| 6 |
<!-- DO NOT CHANGE THESE AFTER FIRST RELEASE --> |
| 7 |
<?define ProductName = "Knowthelist"?> |
| 8 |
<?define Manufacturer="Knowthelist Org"?> |
| 9 |
<?define UpgradeCode="{F894961B-6143-49D7-AA15-5B44124ADB52}"?> |
| 10 |
<?define SourceDirectory="..\..\build-knowthelist-MinGW_Static_32bit-Release\"?> |
| 11 |
<Product Id="$(var.ProductCode)" Name="$(var.ProductName)" Language="1033" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)"> |
| 12 |
<Package Description="The awesome party music player" Comments="Knowthelist" InstallerVersion="300" Languages="1033" Manufacturer="$(var.Manufacturer)" Platform="x86" Compressed="yes" /> |
| 13 |
<Media Id="1" Cabinet="setup.cab" CompressionLevel="high" EmbedCab="yes" /> |
| 14 |
<Condition Message="No GStreamer installation found. Please install GStreamer(x86) v1.4 or higher from http://gstreamer.freedesktop.org first and try it again."><![CDATA[%GSTREAMER_1_0_ROOT_X86 <> ""]]></Condition> |
| 15 |
<WixVariable Id="WixUILicenseRtf" Value="License.rtf" /> |
| 16 |
<WixVariable Id="WixUIExclamationIco" Value="headset.ico" /> |
| 17 |
<WixVariable Id="WixUIBannerBmp" Value="banner.bmp" /> |
| 18 |
<WixVariable Id="WixUIDialogBmp" Value="dialog.bmp" /> |
| 19 |
<CustomAction Id="SetGstPath" Property="GST_BIN" Value="[%GSTREAMER_1_0_ROOT_X86]bin" /> |
| 20 |
<CustomAction Id="SetGstLibPath" Property="GST_LIBS" Value="[%GSTREAMER_1_0_ROOT_X86]lib\gstreamer-1.0" /> |
| 21 |
<InstallExecuteSequence> |
| 22 |
<Custom Action="SetGstPath" Before="InstallInitialize" /> |
| 23 |
<Custom Action="SetGstLibPath" Before="InstallInitialize" /> |
| 24 |
</InstallExecuteSequence> |
| 25 |
<Icon Id="ICON_ICO" SourceFile="headset.ico" /> |
| 26 |
<Icon Id="DesktopIcon.exe" SourceFile="$(var.SourceDirectory)knowthelist.exe" /> |
| 27 |
<Icon Id="StartMenuIcon.exe" SourceFile="$(var.SourceDirectory)knowthelist.exe" /> |
| 28 |
<Property Id="ARPPRODUCTICON" Value="ICON_ICO" /> |
| 29 |
<Property Id="ARPCONTACT" Value="$(var.Manufacturer)" /> |
| 30 |
<Property Id="ALLUSERS" Value="1" /> |
| 31 |
<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" /> |
| 32 |
<Property Id="NEWERPRODUCTFOUND" Secure="yes" /> |
| 33 |
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLLOCATION" /> |
| 34 |
<Directory Id="TARGETDIR" Name="SourceDir"> |
| 35 |
<Directory Id="ProgramFilesFolder" Name="PFiles"> |
| 36 |
<Directory Id="KNOWTHELIST_ORG" Name="knowthelist-org"> |
| 37 |
<Component Id="KNOWTHELIST.EXE" DiskId="1" Guid="0B3C8076-532A-4AD1-8F1E-FECF3549ECBD"> |
| 38 |
<File Id="KNOWTHELIST.EXE" Name="knowthelist.exe" Source="$(var.SourceDirectory)knowthelist.exe"> |
| 39 |
<Shortcut Id="desktopShortcut" Directory="DesktopFolder" Name="Knowthelist" WorkingDirectory="INSTALLDIR" Advertise="yes" Icon="DesktopIcon.exe" IconIndex="0" /> |
| 40 |
<Shortcut Id="ExeShortcut" Directory="ProgramMenuDir" Name="Knowthelist" Advertise="yes" Icon="StartMenuIcon.exe" IconIndex="0" /> |
| 41 |
</File> |
| 42 |
<RemoveFile Id="PurgeAppFolder" Name="*.*" On="uninstall" /> |
| 43 |
</Component> |
| 44 |
<Directory Id="TARGET_PLUGINS" Name="plugins"> |
| 45 |
<Component Id="SINK.DLL" DiskId="1" Guid="3948239B-48D0-421F-BEFD-2603516019ED"> |
| 46 |
<File Id="SINK.DLL" Name="libgstdirectsoundsink.dll" Source="$(var.SourceDirectory)libgstdirectsoundsink.dll" /> |
| 47 |
<RemoveFile Id="PurgeLibFolder" Name="*.*" On="uninstall" /> |
| 48 |
</Component> |
| 49 |
</Directory> |
| 50 |
</Directory> |
| 51 |
</Directory> |
| 52 |
<Directory Id="DesktopFolder" /> |
| 53 |
<Directory Id="ProgramMenuFolder"> |
| 54 |
<Directory Id="ProgramMenuDir" Name="Knowthelist"> |
| 55 |
<Component Id="StartMenuShortcuts" Guid="A57B7DF4-B1A4-4871-820B-4847C0AB9E09"> |
| 56 |
<RemoveFolder Id="ProgramMenuDir" On="uninstall" /> |
| 57 |
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" /> |
| 58 |
<Shortcut Id="UninstallProduct" Name="Uninstall" Description="Uninstalls the application" Target="[System64Folder]msiexec.exe" Arguments="/x [ProductCode]" /> |
| 59 |
<util:InternetShortcut Id="WebsiteShortcut" Name="Knowthelist Homepage" Target="http://knowthelist.github.io/knowthelist" /> |
| 60 |
</Component> |
| 61 |
</Directory> |
| 62 |
</Directory> |
| 63 |
</Directory> |
| 64 |
<DirectoryRef Id="KNOWTHELIST_ORG"> |
| 65 |
<Component Id="CopyGstLibs" Guid="81A3F0B8-68F2-471F-8DC6-14C3FB48FCCE"> |
| 66 |
<CopyFile Id="CopyGstLibs" SourceProperty="GST_BIN" SourceName="*.dll" DestinationProperty="KNOWTHELIST_ORG" /> |
| 67 |
<CopyFile Id="CopyGstPlugins" SourceProperty="GST_LIBS" SourceName="*.dll" DestinationProperty="TARGET_PLUGINS" /> |
| 68 |
</Component> |
| 69 |
</DirectoryRef> |
| 70 |
<Feature Id="DefaultFeature" Title="Party Music Player" Level="1" Description="Installs the Knowthelist Party Music Player"> |
| 71 |
<ComponentRef Id="CopyGstLibs" /> |
| 72 |
<ComponentRef Id="KNOWTHELIST.EXE" /> |
| 73 |
<ComponentRef Id="SINK.DLL" /> |
| 74 |
<ComponentRef Id="StartMenuShortcuts" /> |
| 75 |
</Feature> |
| 76 |
<UI /> |
| 77 |
<UIRef Id="WixUI_Mondo" /> |
| 78 |
</Product> |
| 79 |
</Wix> |