[Installer] Use architecture value to decide which binaries to package

In the previous logic, the installer would silently ignore missing binaries.
Instead it should error, if a binary is missing that should exist for
this installer architecture.

ref T344
This commit is contained in:
Roland Winklmeier
2018-09-17 10:53:03 +02:00
committed by Klaus Basan
parent 48ee76f5cb
commit 0034d33b77

View File

@@ -29,9 +29,11 @@
<platformTest>
<type>windows</type>
</platformTest>
<fileExists>
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorfs9.dll</path>
</fileExists>
<compareText>
<logic>equals</logic>
<text>${architecture}</text>
<value>32</value>
</compareText>
</shouldPackRuleList>
</component>
<component>
@@ -62,9 +64,11 @@ This plugin acts as the interface between swift and FSX.</detailedDescription>
<platformTest>
<type>windows</type>
</platformTest>
<fileExists>
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorfsx.dll</path>
</fileExists>
<compareText>
<logic>equals</logic>
<text>${architecture}</text>
<value>32</value>
</compareText>
</shouldPackRuleList>
</component>
<component>
@@ -95,9 +99,6 @@ This plugin acts as the interface between swift and P3D.</detailedDescription>
<platformTest>
<type>windows</type>
</platformTest>
<fileExists>
<path>${build_project_directory}/../../dist/bin/plugins/simulator/simulatorp3d.dll</path>
</fileExists>
</shouldPackRuleList>
</component>
<component>