| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<Include> |
| 3 |
<!-- |
| 4 |
Versioning. These have to be changed for upgrades. |
| 5 |
It's not enough to just include newer files. |
| 6 |
--> |
| 7 |
<?define MajorVersion=2?> |
| 8 |
<?define MinorVersion=2?> |
| 9 |
<?define MaintenanceVersion=0?> |
| 10 |
<!-- BuildVersion is NOT used by WiX in the upgrade procedure --> |
| 11 |
<?define BuildVersion=33?> |
| 12 |
<!-- Full version number to display --> |
| 13 |
<?define VersionNumber="$(var.MajorVersion).$(var.MinorVersion).$(var.MaintenanceVersion).$(var.BuildVersion)"?> |
| 14 |
<?define VersionName="2.2"?> |
| 15 |
|
| 16 |
<!-- |
| 17 |
Path to the resources directory. resources don't really need to be included |
| 18 |
in the project structure but I like to include them for for clarity |
| 19 |
--> |
| 20 |
<?define ResourcesDir="$(var.SolutionDir)\Packaging\Install\Resources" ?> |
| 21 |
|
| 22 |
<?if $(var.Platform)="x86"?> |
| 23 |
<?define PlatformSuffix=""?> |
| 24 |
<?define Win64 = "no" ?> |
| 25 |
<?define PlatformProgramFilesFolder = "ProgramFilesFolder" ?> |
| 26 |
<?define ProductFullName=!(loc.ProductName) $(var.VersionName) !(loc.ProductNameSuffix)?> |
| 27 |
<?define ProductShortName=!(loc.ProductName)?> |
| 28 |
<?define OpenNI2ProductId="1D46409B-59CA-4C19-9C45-558CDC40DBB3" ?> |
| 29 |
<?define UpgradeCode="C3CFE8A9-C65C-460F-8D36-F6B1501EC46B" ?> |
| 30 |
<?define EnvironmentVarsGuid="1EBE5C7B-94FE-4A1F-AD19-08B667CA175F" ?> |
| 31 |
<?define ShortcutsGuid="D8D03D03-F3BD-400C-83E5-EAAA9D9763F2" ?> |
| 32 |
<?else?> |
| 33 |
<?define PlatformSuffix="64"?> |
| 34 |
<?define Win64 = "yes" ?> |
| 35 |
<?define PlatformProgramFilesFolder = "ProgramFiles64Folder" ?> |
| 36 |
<?define ProductFullName=!(loc.ProductName) $(var.VersionName) !(loc.ProductNameSuffix) !(loc.ProductName64Suffix)?> |
| 37 |
<?define ProductShortName=!(loc.ProductName) !(loc.ProductName64Suffix)?> |
| 38 |
<?define OpenNI2ProductId="77BCECDE-CB4F-4458-8CF4-42E23221D3B0" ?> |
| 39 |
<?define UpgradeCode="5740E5A0-316A-463E-AB73-B6891EDD9421" ?> |
| 40 |
<?define EnvironmentVarsGuid="67677A58-2491-4EEC-8A42-50143C1D0FE1" ?> |
| 41 |
<?define ShortcutsGuid="A0C12700-2291-43F9-B118-F251B6747B99" ?> |
| 42 |
<?endif?> |
| 43 |
|
| 44 |
</Include> |