Added INSTALLFOLDER configuration to set a single install directory for both data service and plugins. #25
52 lines
2.4 KiB
XML
52 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
|
|
xmlns:bal="http://schemas.microsoft.com/wix/BalExtension">
|
|
<Bundle Name="FlexiTimeSystemInstaller"
|
|
Version="1.0.0.0"
|
|
Manufacturer="Chris Watts"
|
|
UpgradeCode="d38e92db-48f9-40c3-9a6f-d76fbd07326e">
|
|
<BootstrapperApplicationRef Id="WixStandardBootstrapperApplication.RtfLicense">
|
|
<bal:WixStandardBootstrapperApplication
|
|
LicenseFile="License.rtf"
|
|
ThemeFile="Theme.xml" />
|
|
</BootstrapperApplicationRef>
|
|
<Variable Name="InstallCardService" Value="1" 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"/>
|
|
<Variable Name="INSTALLFOLDER"
|
|
bal:Overridable="yes"
|
|
Type="string"
|
|
Value="[ProgramFilesFolder]Flexitime Data Center"/>
|
|
<Variable Name="InstallSQLiteDatabase" Value="1" Type="numeric"/>
|
|
|
|
<Chain>
|
|
<MsiPackage SourceFile="$(var.CardReaderServiceInstaller.TargetDir)CardReaderServiceInstaller.msi"
|
|
Compressed="yes"
|
|
Visible="no"
|
|
DisplayName="Card Reader Service"
|
|
InstallCondition="InstallCardService = 1">
|
|
<MsiProperty Name="SERVICEPORT" Value="[DataServicePort]"/>
|
|
<MsiProperty Name="SERVICEIP" Value="[DataServiceIpAddress]"/>
|
|
</MsiPackage>
|
|
<MsiPackage SourceFile="$(var.DataCenterHostInstaller.TargetDir)WebApiServerHostInstaller.msi"
|
|
Compressed="yes"
|
|
Visible="no"
|
|
DisplayName="Flexitime Data Center"
|
|
InstallCondition="InstallDataCenter = 1">
|
|
<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>
|
|
</Chain>
|
|
</Bundle>
|
|
</Wix>
|