<?include Config.wxi?>

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
	<Product Name="$(var.ProductName)" Id="*" UpgradeCode="{930076B5-9D2B-455F-920F-9718ED091D0C}" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" Language="1031" Codepage="1252">
		<Package
		  Id="*"
		  Keywords="Installer"
		  Description="$(var.Description)"
		  Comments="$(var.Comments)"
		  Manufacturer="$(var.Manufacturer)"
		  InstallerVersion="100"
		  Languages="1031"
		  Compressed="yes"
		  SummaryCodepage="1252"
		  InstallScope="perMachine"
     />

		<!-- Nicht entfernen! -->
		<Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' />
		<Property Id='DiskPrompt' Value="fileFLOW Install" />

		<!-- UPGRADE -->
		<!-- 
      Bei neuer Version muss die Versionsnummer unter 
      My Project >> Anwendung >> Assemblyinformationen und unter Product/@Version geändert werden.
      Hier die Assemblyversion UND Dateiversion ändern.
      
      NICHT den UpdateCode ändern!
      Darf sich NIE MEHR ändern!
    -->
		<MajorUpgrade
		  AllowDowngrades="no"
		  AllowSameVersionUpgrades="yes"
		  DowngradeErrorMessage="Eine neuere Version von [ProductName] ist bereits installiert. Das Setup wird beendet."
    />

		<Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
		<Upgrade Id="$(var.UpgradeCode)">
			<UpgradeVersion
			  Minimum="1.0.0" Maximum="99.0.0"
			  Property="PREVIOUSVERSIONSINSTALLED"
			  IncludeMinimum="yes" IncludeMaximum="no" />
		</Upgrade>
		<!-- UPGRADE END -->

		<!-- Legt das Icon fest -->
		<Icon Id="FileFlow.exe" SourceFile="$(var.ProgramName).exe"  />

		<!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
		<Property Id="ARPPRODUCTICON" Value="$(var.ProgramName).exe" />

		<!-- Liest den Installationsort über die Registry aus -->
		<Property Id="INSTALLDIR">
			<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKLM" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
		</Property>

		<Directory Id="TARGETDIR" Name="SourceDir">
			<Directory Id="ProgramFilesFolder">
				<Directory Id="DDDIR" Name="$(var.Manufacturer)">
					<Directory Id="INSTALLDIR" Name="$(var.ProductName)">
						<Directory Id="LOCALE_DE" Name="de"></Directory>
						<Directory Id="LOCALE_DE_DE" Name="de-DE"></Directory>
						<Directory Id="LOCALE_EN" Name="en"></Directory>
						<Directory Id="LOCALE_EN_US" Name="en-US"></Directory>
					</Directory>
				</Directory>
			</Directory>

			<Directory Id="ProgramMenuFolder">
				<Directory Id="ApplicationProgramsFolder" Name="$(var.ProductName)"/>
			</Directory>

			<Directory Id="DesktopFolder" />
		</Directory>

		<DirectoryRef Id="ApplicationProgramsFolder">
			<Component Id="ApplicationShortcut_StartMenu" Guid="f09edfce-71ac-4c79-ae46-8a5ae1a2b84c">
				<Shortcut Id="ApplicationStartMenuShortcut_StartMenu"
					 Name="$(var.ProductName)"
					 Target="[INSTALLDIR]$(var.ProgramName).exe"
					 WorkingDirectory="INSTALLDIR"/>
				<RemoveFolder Id="ApplicationProgramsFolder_StartMenu" On="uninstall"/>
				<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
			</Component>
		</DirectoryRef>

		<DirectoryRef Id="DesktopFolder">
			<Component Id="ApplicationShortcut_Desktop" Guid="e88a7cdb-00c7-4ecb-864e-d182e099eea2">
				<Shortcut Id="ApplicationStartMenuShortcut_Desktop"
					 Name="$(var.ProductName)"
					 Target="[INSTALLDIR]$(var.ProgramName).exe"
					 WorkingDirectory="INSTALLDIR"/>
				<RemoveFolder Id="ApplicationProgramsFolder_Desktop" On="uninstall"/>
				<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
			</Component>
		</DirectoryRef>

		<DirectoryRef Id="INSTALLDIR">
			<Component Id="MainApplicationExe" Guid="71B06048-F595-40CE-B429-79C2F2D6001B" KeyPath="yes">
				<File Id="MainApplicationExe" Source="..\Global_Indexer\bin\$(var.Configuration)\$(var.ProgramName).exe" Name="$(var.ProgramName).exe" KeyPath="no" Checksum="yes" />
			</Component>

			<!-- Die ApplicationIco -->
			<Component Id="ApplicationIco" Guid="5C2EEA18-0718-41E9-A8C6-38D3C622921B">
				<File Id="ApplicationIco" Name="DD_fileFLOW_ICON.ico" Source="DD_fileFLOW_ICON.ico" KeyPath="yes" />
			</Component>

			<!--Digital Data Bibliotheken-->
			<Component Id="DigitalDataLibs" Guid="e68a6a14-3917-4989-abec-d30c521a3431">
				<File Id="Base" Name="DigitalData.Modules.Base.dll" Source="DigitalData.Modules.Base.dll" KeyPath="no" />
				<File Id="Config" Name="DigitalData.Modules.Config.dll" Source="DigitalData.Modules.Config.dll" KeyPath="no" />
				<File Id="Database" Name="DigitalData.Modules.Database.dll" Source="DigitalData.Modules.Database.dll" KeyPath="no" />
				<File Id="License" Name="DigitalData.Modules.License.dll" Source="DigitalData.Modules.License.dll" KeyPath="no" />
				<File Id="Logging" Name="DigitalData.Modules.Logging.dll" Source="DigitalData.Modules.Logging.dll" KeyPath="yes" />
				<File Id="Messaging" Name="DigitalData.Modules.Messaging.dll" Source="DigitalData.Modules.Messaging.dll" KeyPath="no" />
				<File Id="Windows" Name="DigitalData.Modules.Windows.dll" Source="DigitalData.Modules.Windows.dll" KeyPath="no" />
				<File Id="Windream" Name="DigitalData.Modules.Windream.dll" Source="DigitalData.Modules.Windream.dll" KeyPath="no" />
				<File Id="DocumentViewer" Name="DigitalData.Controls.DocumentViewer.dll" Source="DigitalData.Controls.DocumentViewer.dll" KeyPath="no" />
				<File Id="LookupGrid" Name="DigitalData.Controls.LookupGrid.dll" Source="DigitalData.Controls.LookupGrid.dll" KeyPath="no" />
				<File Id="Globix" Name="DigitalData.GUIs.GlobalIndexer.dll" Source="DigitalData.GUIs.GlobalIndexer.dll" KeyPath="no" />
				<File Id="Patterns" Name="DigitalData.Modules.Patterns.dll" Source="DigitalData.Modules.Patterns.dll" KeyPath="no" />
				<File Id="Common" Name="DigitalData.GUIs.Common.dll" Source="DigitalData.GUIs.Common.dll" KeyPath="no" />
				<File Id="Encryption" Name="DigitalData.Modules.Encryption.dll" Source="DigitalData.Modules.Encryption.dll" KeyPath="no" />
			</Component>

			<Component Id="GDPictureLibs" Guid="9ea5ab43-58ff-4813-9a8b-f854784f0275">
				<File Id="GdPicture.NET.14" Name="GdPicture.NET.14.dll" KeyPath="yes" />
				<File Id="GdPicture.NET.14.filters" Name="GdPicture.NET.14.filters.dll" />
				<File Id="GdPicture.NET.14.filters64" Name="GdPicture.NET.14.filters.64.dll" />
				<File Id="GdPicture.NET.14.image" Name="GdPicture.NET.14.image.gdimgplug.dll" />
				<File Id="GdPicture.NET.14.image64" Name="GdPicture.NET.14.image.gdimgplug.64.dll" />
				<File Id="GdPicture.NET.14.Imaging.Rendering.Skia" Name="GdPicture.NET.14.Imaging.Rendering.Skia.dll" />
				<File Id="GdPicture.NET.14..Rendering.Skia.64" Name="GdPicture.NET.14.Imaging.Rendering.Skia.64.dll" />
        <File Id="GdPicture.NET.14.Imaging" Name="GdPicture.NET.14.Imaging.dll" />
        <File Id="GdPicture.NET.14.Common" Name="GdPicture.NET.14.Common.dll" />
        <File Id="GdPicture.NET.14.Imaging.Rendering" Name="GdPicture.NET.14.Imaging.Rendering.dll" />
        <File Id="GdPicture.NET.14.Document" Name="GdPicture.NET.14.Document.dll" />
        <File Id="GdPicture.NET.14.PDF" Name="GdPicture.NET.14.PDF.dll" />
        <File Id="GdPicture.NET.14.Imaging.Formats" Name="GdPicture.NET.14.Imaging.Formats.dll" />
        <File Id="GdPicture.NET.14.RTF" Name="GdPicture.NET.14.RTF.dll" />
        <File Id="GdPicture.NET.14.OpenDocument" Name="GdPicture.NET.14.OpenDocument.dll" />
        <File Id="GdPicture.NET.14.OpenXML" Name="GdPicture.NET.14.OpenXML.dll" />
        <File Id="GdPicture.NET.14.Email" Name="GdPicture.NET.14.Email.dll" />
        <File Id="GdPicture.NET.14.HTML" Name="GdPicture.NET.14.HTML.dll" />
			</Component>

			<!--Verschiedene Bibliotheken-->
			<Component Id="MiscLibs" Guid="56bb39d9-101a-411d-8b11-5d4e3a602275">
				<File Id="NLog" Name="NLog.dll" Source="NLog.dll" KeyPath="no" />
				<File Id="Limilabs.Mail" Name="Mail.dll" Source="Mail.dll" KeyPath="no" />
				<File Id="Limilabs.License" Name="MailLicense.xml" Source="MailLicense.xml" KeyPath="no" />
        <File Id="InteropServices.RuntimeInformation" Name="System.Runtime.InteropServices.RuntimeInformation.dll" Source="System.Runtime.InteropServices.RuntimeInformation.dll" KeyPath="no" />
			</Component>

			<!--WINDREAM Bibliotheken-->
			<Component Id="WindreamLibs" Guid="4D11FC99-50D9-4E54-B18A-8885C9112646">
				<File Id="WINDREAMLibDLL" Name="Interop.WINDREAMLib.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WINDREAMLib.dll" KeyPath="yes" />
				<File Id="WMOTOOLLib" Name="Interop.WMOTOOLLib.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WMOTOOLLib.dll" KeyPath="no" />
				<File Id="WMOBRWSLib" Name="Interop.WMOBRWSLib.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WMOBRWSLib.dll" KeyPath="no" />
				<File Id="WMOSRCHLib" Name="Interop.WMOSRCHLib.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WMOSRCHLib.dll" KeyPath="no" />
			</Component>

			<!-- DEVEXPRESS Bibliotheken -->
			<Component Id="DevExpressLibs" Guid="CB40DAAE-348E-4BD3-B275-9A526EB8F191">
				<File Id="DevExpress.Charts.v21.2.Core" Name="DevExpress.Charts.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Charts.v21.2.Core.dll" KeyPath="yes" />
				<File Id="DevExpress.CodeParser.v21.2" Name="DevExpress.CodeParser.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.CodeParser.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.Data.Desktop.v21.2" Name="DevExpress.Data.Desktop.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Data.Desktop.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.Data.v21.2" Name="DevExpress.Data.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Data.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.DataAccess.v21.2" Name="DevExpress.DataAccess.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.DataAccess.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.DataAccess.v21.2.UI.dll" Name="DevExpress.DataAccess.v21.2.UI.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.DataAccess.v21.2.UI.dll" KeyPath="no" />
				<File Id="DevExpress.DataVisualization.v21.2.Core.dll" Name="DevExpress.DataVisualization.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.DataVisualization.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.Diagram.v21.2.Core.dll" Name="DevExpress.Diagram.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Diagram.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.Images.v21.2.dll" Name="DevExpress.Images.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Images.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.Office.v21.2.Core" Name="DevExpress.Office.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Office.v21.2.Core.dll" KeyPath="no"/>
				<File Id="DevExpress.Pdf.v21.2.Core" Name="DevExpress.Pdf.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Pdf.v21.2.Core.dll" KeyPath="no"/>
				<File Id="DevExpress.Pdf.v21.2.Drawing" Name="DevExpress.Pdf.v21.2.Drawing.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Pdf.v21.2.Drawing.dll" KeyPath="no" />
				<File Id="DevExpress.Printing.v21.2.Core" Name="DevExpress.Printing.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Printing.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.RichEdit.v21.2.Core" Name="DevExpress.RichEdit.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.RichEdit.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.RichEdit.v21.2.Export" Name="DevExpress.RichEdit.v21.2.Export.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.RichEdit.v21.2.Export.dll" KeyPath="no" />
				<File Id="DevExpress.Sparkline.v21.2.Core" Name="DevExpress.Sparkline.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Sparkline.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.Spreadsheet.v21.2.Core" Name="DevExpress.Spreadsheet.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Spreadsheet.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.TreeMap.v21.2.Core" Name="DevExpress.TreeMap.v21.2.Core.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.TreeMap.v21.2.Core.dll" KeyPath="no" />
				<File Id="DevExpress.Utils.v21.2" Name="DevExpress.Utils.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Utils.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.Utils.v21.2.UI" Name="DevExpress.Utils.v21.2.UI.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Utils.v21.2.UI.dll" KeyPath="no" />
				<File Id="DevExpress.Xpo.v21.2" Name="DevExpress.Xpo.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.Xpo.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraBars.v21.2" Name="DevExpress.XtraBars.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraBars.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraCharts.v21.2" Name="DevExpress.XtraCharts.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraCharts.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraCharts.v21.2.Wizard" Name="DevExpress.XtraCharts.v21.2.Wizard.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraCharts.v21.2.Wizard.dll" KeyPath="no" />
				<File Id="DevExpress.XtraDiagram.v21.2" Name="DevExpress.XtraDiagram.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraDiagram.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraEditors.v21.2" Name="DevExpress.XtraEditors.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraEditors.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraGrid.v21.2" Name="DevExpress.XtraGrid.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraGrid.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraLayout.v21.2" Name="DevExpress.XtraLayout.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraLayout.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraNavBar.v21.2" Name="DevExpress.XtraNavBar.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraNavBar.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraPdfViewer.v21.2" Name="DevExpress.XtraPdfViewer.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraPdfViewer.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraPrinting.v21.2" Name="DevExpress.XtraPrinting.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraPrinting.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraRichEdit.v21.2" Name="DevExpress.XtraRichEdit.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraRichEdit.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraSpreadsheet.v21.2" Name="DevExpress.XtraSpreadsheet.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraSpreadsheet.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraTreeList.v21.2" Name="DevExpress.XtraTreeList.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraTreeList.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraTreeMap.v21.2" Name="DevExpress.XtraTreeMap.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraTreeMap.v21.2.dll" KeyPath="no" />
				<File Id="DevExpress.XtraVerticalGrid.v21.2" Name="DevExpress.XtraVerticalGrid.v21.2.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\DevExpress.XtraVerticalGrid.v21.2.dll" KeyPath="no" />
			</Component>

			<!-- Office-Bibliotheken -->
			<Component Id="Microsoft.Office" Guid="D600FF38-E549-4CBA-BB33-09B0BD0C8C26">
				<File Id="Office" Name="Office.dll" Source="C:\Windows\assembly\GAC_MSIL\Office\15.0.0.0__71e9bce111e9429c\Office.dll" KeyPath="yes" />
				<File Id="Microsoft.Office.Interop.Outlook" Name="Microsoft.Office.Interop.Outlook.dll" Source="C:\Windows\assembly\GAC_MSIL\Microsoft.Office.Interop.Outlook\15.0.0.0__71e9bce111e9429c\Microsoft.Office.Interop.Outlook.dll" KeyPath="no" />
			</Component>

			<!-- Oracle-Bibliothek -->
			<Component Id="Oracle" Guid="CF76DB5D-3263-450F-96C6-F02F5447A0A1">
				<File Id="Oracle.ManagedDataAccess" Name="Oracle.ManagedDataAccess.dll" Source="Oracle.ManagedDataAccess.dll" KeyPath="yes" />
			</Component>

			<Component Id="RegistryKeys" Guid="92d8072d-172e-43e2-93e2-535715eb11ce">
				<RegistryKey Root="HKLM" Key="Software">
					<RegistryKey Key="[Manufacturer]">
						<RegistryKey Key="[ProductName]" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes" Id="REGKEYINSTALLDIR">
							<RegistryValue Type="string" Value="[INSTALLDIR]" Name="Path" />
						</RegistryKey>
					</RegistryKey>
				</RegistryKey>

				<util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
			</Component>

			<Directory Id="resources.en" Name="en">
				<Component Id="GlobalIndexer.Locales.en" Guid="d89b7f9b-337f-4784-8945-13de108e240f">
					<File Id="FileFlow.resources.en" Name="FileFlow.resources.dll" Source="en\FileFlow.resources.dll"></File>
					<!--<File Id="LookupGrid.resources.en" Name="DigitalData.Controls.LookupGrid.resources.dll" Source="en\DigitalData.Controls.LookupGrid.resources.dll"></File>-->
				</Component>
			</Directory>

			<Directory Id="resources.en_US" Name="en_US">
				<Component Id="GlobalIndexer.Locales.en_US" Guid="fcb2bdda-a8da-4d65-97d8-c5b9fba4ccb1">
					<File Id="FileFlow.resources.en_US" Name="FileFlow.resources.dll" Source="en-US\FileFlow.resources.dll"></File>
				</Component>
			</Directory>

			<Directory Id="resources.de" Name="de">
				<Component Id="GlobalIndexer.Locales.de" Guid="9E7F8C29-44DF-4D38-AD7B-D64B74990CDB">
					<File Id="FileFlow.resources.de_DE" Name="FileFlow.resources.dll" Source="de-DE\FileFlow.resources.dll"></File>
				</Component>

				<Component Id="Devexpress.Locales.de" Guid="6be5ff05-af76-4249-862a-5b13e3c56c2a">
					<File Id="DevExpress.Data.v21.2.resources" Name="DevExpress.Data.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Data.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.DataAccess.v21.2.resources" Name="DevExpress.DataAccess.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.DataAccess.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.DataAccess.v21.2.UI.resources.dll.resources" Name="DevExpress.DataAccess.v21.2.UI.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.DataAccess.v21.2.UI.resources.dll" KeyPath="no" />
					<File Id="DevExpress.Office.v21.2.Core.resources" Name="DevExpress.Office.v21.2.Core.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Office.v21.2.Core.resources.dll" KeyPath="no"/>
					<File Id="DevExpress.Pdf.v21.2.Core.resources" Name="DevExpress.Pdf.v21.2.Core.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Pdf.v21.2.Core.resources.dll" KeyPath="no"/>
					<File Id="DevExpress.Printing.v21.2.Core.resources" Name="DevExpress.Printing.v21.2.Core.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Printing.v21.2.Core.resources.dll" KeyPath="no" />
					<File Id="DevExpress.RichEdit.v21.2.Core.resources" Name="DevExpress.RichEdit.v21.2.Core.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.RichEdit.v21.2.Core.resources.dll" KeyPath="no" />
					<File Id="DevExpress.Sparkline.v21.2.Core.resources" Name="DevExpress.Sparkline.v21.2.Core.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Sparkline.v21.2.Core.resources.dll" KeyPath="no" />
					<File Id="DevExpress.Spreadsheet.v21.2.Core.resources" Name="DevExpress.Spreadsheet.v21.2.Core.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Spreadsheet.v21.2.Core.resources.dll" KeyPath="no" />
					<File Id="DevExpress.Utils.v21.2.resources" Name="DevExpress.Utils.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Utils.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.Utils.v21.2.UI.resources" Name="DevExpress.Utils.v21.2.UI.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.Utils.v21.2.UI.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraCharts.v21.2.resources" Name="DevExpress.XtraCharts.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraCharts.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraBars.v21.2.resources" Name="DevExpress.XtraBars.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraBars.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraEditors.v21.2.resources" Name="DevExpress.XtraEditors.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraEditors.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraGrid.v21.2.resources" Name="DevExpress.XtraGrid.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraGrid.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraNavBar.v21.2.resources" Name="DevExpress.XtraNavBar.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraNavBar.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraPdfViewer.v21.2.resources" Name="DevExpress.XtraPdfViewer.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraPdfViewer.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraPrinting.v21.2.resources" Name="DevExpress.XtraPrinting.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraPrinting.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraRichEdit.v21.2.resources" Name="DevExpress.XtraRichEdit.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraRichEdit.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraSpreadsheet.v21.2.resources" Name="DevExpress.XtraSpreadsheet.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraSpreadsheet.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraTreeList.v21.2.resources" Name="DevExpress.XtraTreeList.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraTreeList.v21.2.resources.dll" KeyPath="no" />
					<File Id="DevExpress.XtraLayout.v21.2.resources" Name="DevExpress.XtraLayout.v21.2.resources.dll" Source="D:\ProgramFiles\DevExpress 21.2\Components\Bin\Framework\de\DevExpress.XtraLayout.v21.2.resources.dll" KeyPath="no" />
				</Component>
			</Directory>
		</DirectoryRef>


		<!-- Installierte Features -->
		<Feature Id="Complete" Title="Main Application" Level="1">
			<ComponentRef Id="MainApplicationExe" />
			<ComponentRef Id="WindreamLibs" />
			<ComponentRef Id="DigitalDataLibs" />
			<ComponentRef Id="MiscLibs" />
			<ComponentRef Id="Microsoft.Office" />
			<ComponentRef Id="Oracle" />
			<ComponentRef Id="DevExpressLibs" />
			<ComponentRef Id="GDPictureLibs" />
			<ComponentRef Id="RegistryKeys"/>
			<ComponentRef Id="ApplicationIco"/>
			<ComponentRef Id="GlobalIndexer.Locales.de" />
			<ComponentRef Id="GlobalIndexer.Locales.en" />
			<ComponentRef Id="GlobalIndexer.Locales.en_US" />
			<ComponentRef Id="Devexpress.Locales.de" />
		</Feature>

		<Feature Id="DesktopShortcut" Title="Desktop Shortcut">
			<Condition Level="0">DISABLE_DESKTOP_ICON</Condition>
			<ComponentRef Id="ApplicationShortcut_Desktop"/>
		</Feature>

		<Feature Id="StartmenuShortcut" Title="Startmenu Shortcut">
			<Condition Level="0">DISABLE_STARTMENU_ICON</Condition>
			<ComponentRef Id="ApplicationShortcut_StartMenu" />
		</Feature>

		<!-- Legt das Standard-Installationsverzeichnis fest-->
		<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
		<Property Id="_BrowseProperty" Value="INSTALLDIR" />

		<!-- OBERFLÄCHE -->
		<UI>
			<!--<UIRef Id="WixUI_InstallDir" />-->
			<UIRef Id="WixUI_FeatureTree"/>
			<UIRef Id="WixUI_ErrorProgressText" />
			<Publish Dialog="WelcomeDlg"
				  Control="Next"
				  Event="NewDialog"
				  Value="InstallDirDlg"
				  Order="2">1</Publish>
			<Publish Dialog="InstallDirDlg"
				  Control="Back"
				  Event="NewDialog"
				  Value="WelcomeDlg"
				  Order="2">1</Publish>
			<Publish Dialog="InstallDirDlg"
				  Control="Next"
				  Event="NewDialog"
				  Value="FeaturesDlg"
				  Order="2">1</Publish>
			<Publish Dialog="InstallDirDlg"
				  Control="ChangeFolder"
				  Event="NewDialog"
				  Value="BrowseDlg"
				  Order="2">1</Publish>
			<Publish Dialog="FeaturesDlg"
					Control="Back"
					Event="NewDialog"
					Value="InstallDirDlg"
					Order="2">1</Publish>
		</UI>
	</Product>
</Wix>