| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> |
| 3 | <?define Name = "Package and summary information testing" ?> |
| 4 | |
| 5 | <Product Id="*" |
| 6 | Name="$(var.Name)" |
| 7 | Language="1033" |
| 8 | Version="1.0" |
| 9 | Manufacturer="Example Corporation" |
| 10 | UpgradeCode="D86CAC27-51EA-46BD-8105-C465109AFA74"> |
| 11 | |
| 12 | <Package InstallerVersion="500" |
| 13 | Compressed="yes" |
| 14 | InstallScope="perMachine" |
| 15 | Platform="x64" |
| 16 | InstallPrivileges="elevated" /> |
| 17 | |
| 18 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
| 19 | <MediaTemplate EmbedCab="yes" /> |
| 20 | |
| 21 | <Feature Id="Feature" Title="Installer" Level="1"> |
| 22 | <ComponentGroupRef Id="ProductComponents" /> |
| 23 | </Feature> |
| 24 | |
| 25 | <Directory Id="TARGETDIR" Name="SourceDir"> |
| 26 | <Directory Id="ProgramFiles64Folder"> |
| 27 | <Directory Id="INSTALLFOLDER" Name="$(var.Name)" /> |
| 28 | </Directory> |
| 29 | </Directory> |
| 30 | |
| 31 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
| 32 | <Component> |
| 33 | <RegistryValue Root="HKLM" Key="SOFTWARE\Example\$(var.Name)" Name="Installed" Value="1" Type="integer" /> |
| 34 | </Component> |
| 35 | </ComponentGroup> |
| 36 | </Product> |
| 37 | </Wix> |