Added SQLiteRepositoryInstaller Chain entry to install SQLite provider if chosen.

Added INSTALLFOLDER configuration to set a single install directory for both data service and plugins.
#25
This commit is contained in:
chris.watts90@outlook.com 2017-04-18 11:16:12 +01:00
parent 95c3d260cd
commit ede5a70beb

View File

@ -14,6 +14,12 @@
<Variable Name="InstallDataCenter" Value="1" Type="numeric"/> <Variable Name="InstallDataCenter" Value="1" Type="numeric"/>
<Variable Name="DataServiceIpAddress" Value="127.0.0.1" Type="string"/> <Variable Name="DataServiceIpAddress" Value="127.0.0.1" Type="string"/>
<Variable Name="DataServicePort" Value="8800" Type="string"/> <Variable Name="DataServicePort" Value="8800" Type="string"/>
<Variable Name="INSTALLFOLDER"
bal:Overridable="yes"
Type="string"
Value="[ProgramFilesFolder]Flexitime Data Center"/>
<Variable Name="InstallSQLiteDatabase" Value="1" Type="numeric"/>
<Chain> <Chain>
<MsiPackage SourceFile="$(var.CardReaderServiceInstaller.TargetDir)CardReaderServiceInstaller.msi" <MsiPackage SourceFile="$(var.CardReaderServiceInstaller.TargetDir)CardReaderServiceInstaller.msi"
Compressed="yes" Compressed="yes"
@ -29,6 +35,16 @@
DisplayName="Flexitime Data Center" DisplayName="Flexitime Data Center"
InstallCondition="InstallDataCenter = 1"> InstallCondition="InstallDataCenter = 1">
<MsiProperty Name="ServicePort" Value="[DataServicePort]"/> <MsiProperty Name="ServicePort" Value="[DataServicePort]"/>
<MsiProperty Name="INSTALLFOLDER"
Value="[INSTALLFOLDER]" />
</MsiPackage>
<MsiPackage SourceFile="$(var.SQLiteRepositoryInstaller.TargetDir)SQLiteRepository.msi"
Compressed="yes"
Visible="no"
DisplayName="Flexitime SQLite Database Provider"
InstallCondition="InstallSQLiteDatabase = 1">
<MsiProperty Name="INSTALLFOLDER"
Value="[INSTALLFOLDER]" />
</MsiPackage> </MsiPackage>
</Chain> </Chain>
</Bundle> </Bundle>