2012-10-22 07:02:14 -04:00
<?xml version="1.0" encoding="UTF-8"?>
2010-11-06 07:01:19 -04:00
2012-10-22 07:02:14 -04:00
<!-- These variables define the Windows Installer product code and upgrade code. -->
<?define ProductName = "FileBot" ?>
<?define Manufacturer = "Reinhard Pointner" ?>
<?define UpgradeCode = "86809B6B-E2E3-43EC-9351-D4D66CAF7864" ?>
<!-- Set a specific product code based on the processor architecture build variable -->
<?if $(var.arch)=x64 ?>
<?define Platform = "x64" ?>
<?define ProgramFiles = "ProgramFiles64Folder" ?>
<?define Win64 = "yes" ?>
<?else ?>
<?define Platform = "x86" ?>
<?define ProgramFiles = "ProgramFilesFolder" ?>
<?define Win64 = "no" ?>
<?endif ?>
2010-11-06 07:01:19 -04:00
2012-10-22 07:02:14 -04:00
<Wix xmlns= 'http://schemas.microsoft.com/wix/2006/wi' >
<Product Id= '*' Name= '$(var.ProductName)' Manufacturer= '$(var.Manufacturer)' Version= '$(var.releaseversion)' UpgradeCode= '$(var.UpgradeCode)' Language= '1033' Codepage= '1252' >
<Package Description= "FileBot Installer" Manufacturer= '$(var.Manufacturer)' InstallerVersion= '300' Compressed= 'yes' Platform= "$(var.Platform)" />
<MajorUpgrade AllowDowngrades= "yes" IgnoreRemoveFailure= "yes" />
2010-11-06 07:01:19 -04:00
<Directory Id= 'TARGETDIR' Name= 'SourceDir' >
2012-10-22 07:02:14 -04:00
<Directory Id= '$(var.ProgramFiles)' Name= 'Program Files' >
2010-11-06 07:01:19 -04:00
<Directory Id= 'INSTALLDIR' Name= 'FileBot' >
2012-10-22 07:02:14 -04:00
<Component Id= 'ApplicationStub' Guid= 'A7B21026-DA54-4AF8-9227-188565AB9C4E' Win64= "$(var.Win64)" >
2011-11-14 23:58:08 -05:00
<File Id= 'filebot.launcher.exe' Name= 'filebot.launcher.exe' Source= 'filebot.launcher.exe' KeyPath= 'yes' >
2014-03-20 11:59:23 -04:00
<Shortcut Id= "shortcut.menu.filebot" Directory= "ProgramMenuDir" Name= "FileBot" Description= "The ultimate TV Renamer and Subtitle Downloader" WorkingDirectory= 'INSTALLDIR' Icon= "icon.ico" Advertise= "no" />
<Shortcut Id= "shortcut.desktop" Directory= "DesktopFolder" Name= "FileBot" Description= "The ultimate TV Renamer and Subtitle Downloader" WorkingDirectory= 'INSTALLDIR' Icon= "icon.ico" Advertise= "no" />
2010-11-06 07:01:19 -04:00
</File>
2011-12-19 06:38:54 -05:00
<File Id= 'filebot.platform.launcher.exe' Name= 'filebot.platform.launcher.exe' Source= 'filebot.platform.launcher.exe' >
2011-12-26 01:48:54 -05:00
<Shortcut Id= "shortcut.menu.filebot.platform" Directory= "ProgramMenuDir" Name= "FileBot (platform)" Description= "Launch FileBot with platform-independent configuration" WorkingDirectory= 'INSTALLDIR' Icon= "icon.ico" IconIndex= "0" Advertise= "no" />
2011-12-19 06:38:54 -05:00
</File>
2011-12-28 08:51:36 -05:00
<File Id= 'filebot.launcher.l4j.ini' Name= 'filebot.launcher.l4j.ini' Source= 'filebot.launcher.l4j.ini' />
2011-12-19 06:38:54 -05:00
<File Id= 'filebot.platform.launcher.l4j.ini' Name= 'filebot.platform.launcher.l4j.ini' Source= 'filebot.platform.launcher.l4j.ini' />
2014-03-20 11:59:23 -04:00
<Shortcut Id= "shortcut.uninstall" Directory= "ProgramMenuDir" Name= "Uninstall FileBot" Description= "Uninstall FileBot" Icon= "icon.ico" Target= "[SystemFolder]msiexec.exe" Arguments= "/x [ProductCode]" Advertise= "no" />
2010-11-06 07:01:19 -04:00
</Component>
2011-12-19 06:38:54 -05:00
2012-10-22 07:02:14 -04:00
<Component Id= 'ApplicationStubCmd' Guid= 'D2B1A845-3B5C-4B59-B0D0-A4E80C173220' Win64= "$(var.Win64)" >
2013-03-14 17:32:38 -04:00
<File Id= 'filebot.exe' Name= 'filebot.exe' Source= 'filebot.exe' KeyPath= 'yes' >
2011-12-26 01:48:54 -05:00
<Shortcut Id= "shortcut.menu.filebot.cmd" Directory= "ProgramMenuDir" Name= "FileBot (console)" Description= "Launch FileBot with debug logging" WorkingDirectory= 'INSTALLDIR' />
2011-12-19 06:38:54 -05:00
</File>
2013-03-14 17:32:38 -04:00
<File Id= 'filebot.l4j.ini' Name= 'filebot.l4j.ini' Source= 'filebot.l4j.ini' />
2011-11-14 22:03:53 -05:00
<Environment Id= "PATH" Name= "PATH" Value= "[INSTALLDIR]" Action= "set" Part= "last" Permanent= "no" System= "yes" />
2011-09-13 15:41:22 -04:00
</Component>
2011-12-19 06:38:54 -05:00
2012-10-22 07:02:14 -04:00
<Component Id= 'ApplicationBase' Guid= '9E365344-A00C-45DE-A2A4-266412C3D06E' Win64= "$(var.Win64)" >
2010-11-06 07:01:19 -04:00
<File Id= 'FileBot.jar' Name= 'FileBot.jar' Source= '$(var.fatjar)' KeyPath= 'yes' />
2013-11-22 03:28:17 -05:00
<File Id= 'jnidispatch.dll' Name= 'jnidispatch.dll' Source= '$(var.jnidispatch)' />
2011-12-19 06:38:54 -05:00
<File Id= 'MediaInfo.dll' Name= 'MediaInfo.dll' Source= '$(var.mediainfo)' />
2012-03-02 20:41:47 -05:00
<File Id= 'lib7_Zip_JBinding.dll' Name= '7-Zip-JBinding.dll' Source= '$(var.lib7z_binding)' />
2012-02-26 13:05:07 -05:00
<File Id= 'libgcc.dll' Name= '$(var.libgcc_name)' Source= '$(var.libgcc_path)' />
2013-01-10 14:13:21 -05:00
<File Id= 'fpcalc.exe' Name= 'fpcalc.exe' Source= '$(var.fpcalc_path)' />
2010-11-06 07:01:19 -04:00
</Component>
</Directory>
</Directory>
<Directory Id= "ProgramMenuFolder" Name= "Programs" >
<Directory Id= "ProgramMenuDir" Name= "FileBot" >
<Component Id= "ProgramMenuDir" Guid= "F3F0F1CB-E282-473A-BE8E-B7D325B3B4B0" >
<RemoveFolder Id= 'ProgramMenuDir' On= 'uninstall' />
</Component>
</Directory>
</Directory>
2011-12-19 06:38:54 -05:00
2010-11-06 07:01:19 -04:00
<Directory Id= "DesktopFolder" Name= "Desktop" />
</Directory>
<Feature Id= 'Complete' Title= 'FileBot' Description= 'The complete package.' Display= 'expand' ConfigurableDirectory= 'INSTALLDIR' Level= '1' >
<ComponentRef Id= 'ApplicationStub' />
2011-09-13 15:41:22 -04:00
<ComponentRef Id= 'ApplicationStubCmd' />
2011-12-19 06:38:54 -05:00
<ComponentRef Id= 'ApplicationBase' />
2010-11-06 07:01:19 -04:00
<ComponentRef Id= 'ProgramMenuDir' />
</Feature>
2011-12-19 06:38:54 -05:00
2012-10-22 07:02:14 -04:00
<!-- The media table defines the location that the MSI will look to find source files during -->
<!-- installation or repair scenarios. In this case, the source files are in a cab file that will be -->
<!-- embedded directly into the MSI at build time. -->
<Media Id= '1' Cabinet= 'FileBot.cab' EmbedCab= 'yes' />
<!-- These properties define links that will appear in the Add/Remove Programs control panel when -->
<!-- this product is installed on the system. -->
2013-03-09 12:15:46 -05:00
<Property Id= "ARPURLINFOABOUT" Value= "http://www.filebot.net/" />
2012-10-22 07:02:14 -04:00
<!-- This property is used as the default installation directory, and the user can change this path -->
<!-- during setup. The Id must be set to WIXUI_INSTALLDIR and the value must match the directory Id -->
<!-- defined above that represents the root installation directory. -->
<Property Id= "WIXUI_INSTALLDIR" Value= "INSTALLDIR" />
<!-- This UIRef element specifies what WiXUI dialog set to use for the setup UI. This package uses -->
<!-- the WixUI_InstallDir dialog set, which provides a welcome page, a license agreement page, a -->
<!-- page to allow changing the installation path, an installation confirmation page, a progress -->
<!-- page and a completion page. Other dialog sets are available in the WiX toolset and are -->
<!-- described in more detail in the WiX documentation. -->
<UIRef Id= "WixUI_InstallDir" />
2010-11-06 07:01:19 -04:00
<WixVariable Id= "WixUIBannerBmp" Value= "banner.bmp" />
<WixVariable Id= "WixUIDialogBmp" Value= "dialog.bmp" />
<WixVariable Id= "WixUILicenseRtf" Value= "license.rtf" />
<Icon Id= "icon.ico" SourceFile= "../icons/shortcut.ico" />
<Property Id= "ARPPRODUCTICON" Value= "icon.ico" />
<Property Id= "LicenseAccepted" Value= "1" />
</Product>
</Wix>