Cleanup - unused files / unused exports / duplicate exports
[ProtonMail-WebClient.git] / packages / shared / lib / squirrel / assets / template.wxs
blob22d6d69ca93ada4484b608b3371ea8fbcbb8b2c7
1 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
2   <Product Id="*" Name="{{Title}} Deployment Tool" Language="1033" Codepage="{{Codepage}}" Version="!(bind.FileVersion.{{Id}}.exe)" UpgradeCode="{{IdAsGuid1}}" Manufacturer="{{Author}}">
4     <Package Description="This package installs a deployment tool for {{Title}}. Not {{Title}} itself. {{Title}} is only installed if a user logs into the machine." InstallScope="perMachine" Comments="Comments" InstallerVersion="200" Compressed="yes" Platform="{{Platform}}"/>
5     <MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A later version of this product is already installed. Setup will now exit."/>
6     <Media Id="1" Cabinet="contents.cab" EmbedCab="yes" CompressionLevel="high"/>
8     <PropertyRef Id="NETFRAMEWORK45" />
10     <Condition Message="This application requires .NET Framework 4.5 or higher. Please install the latest .NET Framework then run this installer again.">
11       <![CDATA[Installed OR NETFRAMEWORK45]]>
12     </Condition>
14     <Directory Id="TARGETDIR" Name="SourceDir">
15       <Directory Id="{{ProgramFilesFolder}}">
16         <Directory Id="APPLICATIONROOTDIRECTORY" Name="{{Title}} Deployment" />
17       </Directory>
18     </Directory>
20     <DirectoryRef Id="APPLICATIONROOTDIRECTORY">
21       <Component Id="{{Id}}.exe" Guid="{{IdAsGuid2}}" Win64="{{Win64YesNo}}">
22         <File Id="{{Id}}.exe" Name="{{Id}}DeploymentTool.exe" Source="./Setup.exe" KeyPath="yes"/>
23       </Component>
24     </DirectoryRef>
26     <DirectoryRef Id="TARGETDIR">
27       <Component Id="RegistryEntries" Guid="{{IdAsGuid3}}" Win64="{{Win64YesNo}}">
28         <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Run">
29           <RegistryValue Type="expandable" Name="{{Id}}Deployment" Value="&quot;[#{{Id}}.exe]&quot; --checkInstall" />
30         </RegistryKey>
31       </Component>
32     </DirectoryRef>
34     <Feature Id="MainApplication" Title="Main Application" Level="1">
35       <ComponentRef Id="{{Id}}.exe" />
36       <ComponentRef Id="RegistryEntries" />
37     </Feature>
38   </Product>
39 </Wix>