Formatting

This commit is contained in:
Antoine Gersant 2020-08-04 23:05:09 -07:00
parent 17976dc99f
commit b0ca61ae2f

View file

@ -1,41 +1,35 @@
<?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='*' UpgradeCode='FF16B075-1D36-47F4-BE37-D95BBC1A412C' Language='1033' Codepage='1252' 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' />
<?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="*" UpgradeCode="FF16B075-1D36-47F4-BE37-D95BBC1A412C" Language="1033" Codepage="1252" Manufacturer="Permafrost" Version="0.12.3">
<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' />
<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" />
@ -46,23 +40,19 @@
<util:RemoveFolderEx On="uninstall" Property="EXTRADATAPATH" />
</Component>
</DirectoryRef>
<Feature Id='Complete' Level='1'>
<ComponentRef Id='MainExecutable' />
<ComponentRef Id='ProgramMenuDir' />
<ComponentRef Id='CleanupExtraData' />
<Feature Id="Complete" Level="1">
<ComponentRef Id="MainExecutable" />
<ComponentRef Id="ProgramMenuDir" />
<ComponentRef Id="CleanupExtraData" />
<ComponentGroupRef Id="WebUI" />
<ComponentGroupRef Id="SwaggerUI" />
</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' />
<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>