polaris/res/windows/installer/installer.wxs
2016-10-02 23:31:30 -07:00

105 lines
4.2 KiB
XML

<?xml version='1.0' encoding='windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Polaris' Id='CC2BCB3C-6FD2-4B81-B89F-3F4A9DA75BF7' UpgradeCode='9D86F109-E1EC-4C67-826C-8FB813838C49' Language='1033' Codepage='1252' Version='0.1.0' Manufacturer='Antoine Gersant'>
<Package Id='*' Keywords='Installer' Platform='x64' Description='Polaris Installer' Manufacturer='Antoine Gersant' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
<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='Polaris' Name='Polaris'>
<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='ConfigFile' Guid='02CE53F6-F14F-4459-90AA-9CB06CD39D43'>
<File KeyPath='yes' Source='polaris.toml'/>
</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' />
</Component>
<Directory Id='web' Name='web'>
<Component Id='WebUIIndex' Guid='B666CED5-951E-40F4-8A33-E9C4FEEFF578'>
<File Name='index.html' />
</Component>
<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>
<Directory Id='DesktopFolder' Name='Desktop' />
<Directory Id='StartupFolder' Name='Startup' />
<Directory Id='ProgramMenuFolder' Name='Programs'>
<Directory Id='ProgramMenuDir' Name='Polaris' />
</Directory>
</Directory>
<DirectoryRef Id='ProgramMenuDir'>
<Component Id='ProgramMenuDir' Guid='9E677DF0-414B-481F-ACCC-73B2A38EC93A'>
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
<RegistryValue Root='HKCU' Key='Software\Polaris\Polaris' Type='string' Value='' KeyPath='yes' />
</Component>
</DirectoryRef>
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainExecutable' />
<ComponentRef Id='OpenSSL' />
<ComponentRef Id='ConfigFile' />
<ComponentRef Id='WebUIIndex' />
<ComponentRef Id='WebUILib' />
<ComponentRef Id='WebUIStyle' />
<ComponentRef Id='WebUITags' />
<ComponentRef Id='ProgramMenuDir' />
</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>