mirror of
https://github.com/agersant/polaris
synced 2024-12-12 14:22:58 +00:00
67 lines
3.4 KiB
XML
67 lines
3.4 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='A9B98E78-65E3-4002-BF73-B026A1A5473C' UpgradeCode='FF16B075-1D36-47F4-BE37-D95BBC1A412C' Language='1033' Codepage='1252' Version='0.8.0' Manufacturer='Permafrost'>
|
|
|
|
<Package Id='*' Keywords='Installer' Platform='x64' InstallScope='perUser' Description='Polaris Installer' Manufacturer='Permafrost' 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='LocalAppDataFolder'>
|
|
<Directory Id='AppDataPermafrost' Name='Permafrost'>
|
|
<Directory Id='AppDataPolaris' Name='Polaris' FileSource='.'>
|
|
<Component Id='MainExecutable' Guid='*'>
|
|
<File Source='polaris.exe' KeyPath='yes' Checksum='yes'>
|
|
<Shortcut Id='StartupMenuPolaris' Directory='StartupFolder' Name='Polaris' WorkingDirectory='AppDataPolaris' Icon='polaris.exe' IconIndex='0' Advertise='yes' />
|
|
<Shortcut Id='StartMenuPolaris' Directory='ProgramMenuDir' Name='Polaris' WorkingDirectory='AppDataPolaris' Icon='polaris.exe' IconIndex='0' Advertise='yes' />
|
|
<Shortcut Id='DesktopPolaris' Directory='DesktopFolder' Name='Polaris' WorkingDirectory='AppDataPolaris' Icon='polaris.exe' IconIndex='0' Advertise='yes' />
|
|
</File>
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<Directory Id='DesktopFolder' Name='Desktop' />
|
|
<Directory Id='StartupFolder' Name='Startup' />
|
|
<Directory Id='ProgramMenuFolder' Name='Programs'>
|
|
<Directory Id='ProgramMenuDir' Name='Permafrost'>
|
|
<Component Id="ProgramMenuDir" Guid='*'>
|
|
<RemoveFolder Id='ProgramMenuDir' On='uninstall' />
|
|
<RegistryValue Root='HKCU' Key='Software\Permafrost\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="HKCU" Key="Software\Permafrost\Polaris" Name="CleanupExtraData" Type="raw" Id="ExtraDataPathSearch" />
|
|
</Property>
|
|
<DirectoryRef Id="AppDataPermafrost">
|
|
<Component Id="CleanupExtraData" Guid="DF415F12-A1B4-48EE-98BC-E0B75AF556AD">
|
|
<RegistryValue Root="HKCU" Key="Software\Permafrost\Polaris" Name="CleanupExtraData" Type="string" Value="[AppDataPermafrost]" KeyPath="yes" />
|
|
<util:RemoveFolderEx On="uninstall" Property="EXTRADATAPATH" />
|
|
</Component>
|
|
</DirectoryRef>
|
|
|
|
<Feature Id='Complete' Level='1'>
|
|
<ComponentRef Id='MainExecutable' />
|
|
<ComponentRef Id='ProgramMenuDir' />
|
|
<ComponentRef Id='CleanupExtraData' />
|
|
<ComponentGroupRef Id="WebUI" />
|
|
</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>
|