added properties to configure the ip and port of the data center.

added code to pass the configuration properties through to the msi installers.
#31 #26
This commit is contained in:
Watts 2017-04-15 20:24:54 +01:00
parent def593d3a5
commit 3e2a19c0e4

View File

@ -10,21 +10,25 @@
LicenseFile="License.rtf" LicenseFile="License.rtf"
ThemeFile="Theme.xml" /> ThemeFile="Theme.xml" />
</BootstrapperApplicationRef> </BootstrapperApplicationRef>
<Variable Name="InstallCardService" Value="0" Type="numeric"/> <Variable Name="InstallCardService" Value="1" Type="numeric"/>
<Variable Name="InstallDataCenter" Value="0" Type="numeric"/> <Variable Name="InstallDataCenter" Value="1" Type="numeric"/>
<Variable Name="DataServiceIpAddress" Value="127.0.0.1" Type="string"/>
<Variable Name="DataServicePort" Value="8800" Type="string"/>
<Chain> <Chain>
<MsiPackage SourceFile="$(var.CardReaderServiceInstaller.TargetDir)CardReaderServiceInstaller.msi" <MsiPackage SourceFile="$(var.CardReaderServiceInstaller.TargetDir)CardReaderServiceInstaller.msi"
Compressed="yes" Compressed="yes"
Visible="no" Visible="no"
DisplayName="Card Reader Service" DisplayName="Card Reader Service"
InstallCondition="InstallCardService = 1"> InstallCondition="InstallCardService = 1">
<MsiProperty Name="SERVICEPORT" Value="[DataServicePort]"/>
<MsiProperty Name="SERVICEIP" Value="[DataServiceIpAddress]"/>
</MsiPackage> </MsiPackage>
<MsiPackage SourceFile="$(var.DataCenterHostInstaller.TargetDir)WebApiServerHostInstaller.msi" <MsiPackage SourceFile="$(var.DataCenterHostInstaller.TargetDir)WebApiServerHostInstaller.msi"
Compressed="yes" Compressed="yes"
Visible="no" Visible="no"
DisplayName="Flexitime Data Center" DisplayName="Flexitime Data Center"
InstallCondition="InstallDataCenter = 1"> InstallCondition="InstallDataCenter = 1">
<MsiProperty Name="ServicePort" Value="[DataServicePort]"/>
</MsiPackage> </MsiPackage>
</Chain> </Chain>
</Bundle> </Bundle>