mirror of
https://github.com/agersant/polaris
synced 2025-03-04 15:17:20 +00:00
142 lines
5.9 KiB
XML
142 lines
5.9 KiB
XML
<?xml version='1.0' encoding='windows-1252'?>
|
|
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi' xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
|
<Product Name='Polaris' Id='587DEECF-9B89-425E-A333-79FF9A71196C' UpgradeCode='9D86F109-E1EC-4C67-826C-8FB813838C49' Language='1033' Codepage='1252' Version='0.2.0' Manufacturer='Antoine Gersant'>
|
|
|
|
<Package Id='*' Keywords='Installer' Platform='x64' InstallPrivileges='elevated' InstallScope='perMachine' Description='Polaris Installer' Manufacturer='Antoine Gersant' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
|
|
|
|
<MajorUpgrade DowngradeErrorMessage='A newer version of Polaris is already installed.' Schedule='afterInstallExecute' />
|
|
|
|
<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt='Installation Media #1' />
|
|
<Property Id='DiskPrompt' Value='Polaris Installation [1]' />
|
|
|
|
<Directory Id='TARGETDIR' Name='SourceDir'>
|
|
<Directory Id='ProgramFiles64Folder' Name='PFiles'>
|
|
<Directory Id='INSTALL_DIR' Name='Polaris' FileSource='.'>
|
|
|
|
<Component Id='MainExecutable' Guid='4E27209A-48B6-4A2A-8778-6383C83F0B24'>
|
|
<File Source='polaris.exe' KeyPath='yes' Checksum='yes'>
|
|
<Shortcut Id='StartupMenuPolaris' Directory='StartupFolder' Name='Polaris' WorkingDirectory='INSTALL_DIR' Icon='polaris.exe' IconIndex='0' Advertise='yes' />
|
|
<Shortcut Id='StartMenuPolaris' Directory='ProgramMenuDir' Name='Polaris' WorkingDirectory='INSTALL_DIR' Icon='polaris.exe' IconIndex='0' Advertise='yes' />
|
|
<Shortcut Id='DesktopPolaris' Directory='DesktopFolder' Name='Polaris' WorkingDirectory='INSTALL_DIR' Icon='polaris.exe' IconIndex='0' Advertise='yes' />
|
|
</File>
|
|
</Component>
|
|
|
|
<Component Id='OpenSSL' Guid='8F4A07F6-CADB-4001-92F6-C7184A053B3B'>
|
|
<File Id='LibEAY' Name='libeay32.dll' Source='libeay32.dll' />
|
|
<File Id='LibEAYmd' Name='libeay32md.dll' Source='libeay32md.dll' />
|
|
<File Id='SSLEAY32md' Name='ssleay32md.dll' Source='ssleay32md.dll' />
|
|
</Component>
|
|
|
|
<Directory Id='web' Name='web'>
|
|
|
|
<Component Id='WebUIFavicon' Guid='65D5A87D-5A5C-4655-9F74-F37F4F64BB6E'>
|
|
<File Name='favicon.png' />
|
|
</Component>
|
|
|
|
<Directory Id='img' Name='img'>
|
|
<Component Id='WebUIImg' Guid='343BDE12-EE3E-4659-A9F8-A217B933FBF2'>
|
|
<File Name='logo.png' />
|
|
</Component>
|
|
</Directory>
|
|
|
|
<Component Id='WebUIIndex' Guid='B666CED5-951E-40F4-8A33-E9C4FEEFF578'>
|
|
<File Name='index.html' />
|
|
</Component>
|
|
|
|
<Directory Id='js' Name='js'>
|
|
<Component Id='WebUIJS' Guid='D5C12922-182A-4AE9-B863-D7ACA7FC2357'>
|
|
<File Name='utils.js' />
|
|
<File Name='notify.js' />
|
|
</Component>
|
|
</Directory>
|
|
|
|
<Directory Id='lib' Name='lib'>
|
|
<Component Id='WebUILib' Guid='294ECB0A-2CE7-4F1F-852C-FA81E6082B4C'>
|
|
<File Name='js.cookie.js' />
|
|
<File Name='riot+compiler.min.js' />
|
|
</Component>
|
|
</Directory>
|
|
|
|
<Directory Id='tags' Name='tags'>
|
|
<Component Id='WebUITags' Guid='E1058E84-EC96-4CD8-8E51-DBB1F2DAA593'>
|
|
<File Name='auth.tag' />
|
|
<File Name='breadcrumbs.tag' />
|
|
<File Name='browser.tag' />
|
|
<File Name='main.tag' />
|
|
<File Name='player.tag' />
|
|
<File Name='playlist.tag' />
|
|
</Component>
|
|
</Directory>
|
|
|
|
<Directory Id='style' Name='style'>
|
|
<Component Id='WebUIStyle' Guid='9D8F839D-7E94-4DE4-9B22-30360C1A433D'>
|
|
<File Name='default.css' />
|
|
</Component>
|
|
</Directory>
|
|
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<Directory Id='CommonAppDataFolder'>
|
|
<Directory Id='AppDataPolaris' Name='Polaris'>
|
|
<Component Id='ConfigFile' Guid='FAF6D040-CFA2-4C56-B5EB-C8A3054294E0'>
|
|
<File Source='polaris.toml'>
|
|
<Permission GenericAll='yes' User='Everyone' />
|
|
</File>
|
|
<RemoveFolder Id='RemoveAppDataPolaris' Directory='AppDataPolaris' On='uninstall' />
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<Directory Id='DesktopFolder' Name='Desktop' />
|
|
<Directory Id='StartupFolder' Name='Startup' />
|
|
|
|
<Directory Id='ProgramMenuFolder' Name='Programs'>
|
|
<Directory Id='ProgramMenuDir' Name='Polaris'>
|
|
<Component Id='ProgramMenuDir' Guid='9E677DF0-414B-481F-ACCC-73B2A38EC93A'>
|
|
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
|
|
<RegistryValue Root='HKCU' Key='Software\Polaris' Name='ProgramMenuEntry' Type='string' Value='' KeyPath='yes' />
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
</Directory>
|
|
|
|
<!--Remove extra files after uninstall (db, thumbnails, etc.)-->
|
|
<Property Id="EXTRADATAPATH">
|
|
<RegistrySearch Root="HKLM" Key="SOFTWARE\Polaris" Name="ExtraDataPath" Type="raw" Id="ExtraDataPathSearch" />
|
|
</Property>
|
|
<DirectoryRef Id="AppDataPolaris">
|
|
<Component Id="CleanupExtraData" Guid="A74F0BA0-797F-4088-AF43-E7874AE679C7">
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Polaris" Name="ExtraDataPath" Type="string" Value="[AppDataPolaris]" KeyPath="yes" />
|
|
<util:RemoveFolderEx On="uninstall" Property="EXTRADATAPATH" />
|
|
</Component>
|
|
</DirectoryRef>
|
|
|
|
<Feature Id='Complete' Level='1'>
|
|
<ComponentRef Id='MainExecutable' />
|
|
<ComponentRef Id='OpenSSL' />
|
|
<ComponentRef Id='ConfigFile' />
|
|
<ComponentRef Id='WebUIFavicon' />
|
|
<ComponentRef Id='WebUIImg' />
|
|
<ComponentRef Id='WebUIIndex' />
|
|
<ComponentRef Id='WebUIJS' />
|
|
<ComponentRef Id='WebUILib' />
|
|
<ComponentRef Id='WebUIStyle' />
|
|
<ComponentRef Id='WebUITags' />
|
|
<ComponentRef Id='ProgramMenuDir' />
|
|
<ComponentRef Id='CleanupExtraData' />
|
|
</Feature>
|
|
|
|
<Icon Id='polaris.exe' SourceFile='polaris.exe' />
|
|
<Property Id='ARPPRODUCTICON' Value='polaris.exe' />
|
|
|
|
<Property Id='WIXUI_INSTALLDIR' Value='INSTALL_DIR' />
|
|
<UIRef Id='WixUI_Minimal' />
|
|
<WixVariable Id='WixUILicenseRtf' Value='license.rtf' />
|
|
<WixVariable Id='WixUIDialogBmp' Value='dialog.bmp' />
|
|
<WixVariable Id='WixUIBannerBmp' Value='banner.bmp' />
|
|
|
|
</Product>
|
|
</Wix>
|