<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
  <Product Name="Record Organizer" Id="*" UpgradeCode="{6387325E-F6D7-46BE-BBA8-D0E37BEEF800}" Version="$(var.ProductVersion)" Manufacturer="Digital Data" Language="1031" Codepage="1252">
    <Package 
      Id="*" 
      Keywords="Installer" 
      Description="Digital Data Record Organizer Setup" 
      Comments="Record Organizer is a registered Trademark of Digital Data" 
      Manufacturer="Digital Data" 
      InstallerVersion="100" 
      Languages="1031" 
      Compressed="yes" 
      SummaryCodepage="1252"
      InstallScope="perMachine"
    />
    <!-- 
      InstallScrope="perMachine" - sorgt dafür, dass das Programm für jeden Benutzer installiert wird
    -->
    
    <!-- Nicht entfernen! -->
    <Media Id='1' Cabinet='Sample.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' />
    <Property Id='DiskPrompt' Value="Record Organizer 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="no"
      DowngradeErrorMessage="A newer version of [ProductName] is already installed. The setup will terminate."
    />
  
    <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
    <Upgrade Id="{6387325E-F6D7-46BE-BBA8-D0E37BEEF800}">
      <UpgradeVersion
        Minimum="1.0.0.0" Maximum="99.0.0.0"
        Property="PREVIOUSVERSIONSINSTALLED"
        IncludeMinimum="yes" IncludeMaximum="no" />
    </Upgrade>
    <!-- UPGRADE END -->

    <!-- Legt das Icon fest -->
    <Icon Id="DDRecordOrganizer.exe" SourceFile="DD-Record-Organizer.exe" />
    
    <!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
    <Property Id="ARPPRODUCTICON" Value="DDRecordOrganizer.exe" />

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

    <!-- Legt die Ordner-Struktur fest -->
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="ProgramFilesFolder" Name="Pfiles">
        <Directory Id="DD" Name="Digital Data">         
          
          <!-- Das Installationsverzeichnis -->
          <Directory Id="INSTALLDIR" Name="Record Organizer">

            <Directory Id="ADDONDIR" Name="Addons">
              <Directory Id="RIGHTMANAGERDIR" Name="RightManager">
                
                <Component Id="RecordOrganizer_RightManager" Guid="BD73A9BB-89FD-4F4C-85B8-F31C97296745">
                  <File Id="RecordOrganizer_RightManager.exe" Name="RecordOrganizer_RightManager.exe" Source="RecordOrganizer_RightManager.exe" />
                  <File Id="DD_Rights.dll" Name="DD_Rights.dll" Source="DD_Rights.dll" />
                  <File Id="Interop.WINDREAMLib.dll" Name="Interop.WINDREAMLib.dll" Source="Interop.WINDREAMLib.dll" />
                </Component>

                <!-- DEVEXPRESS Bibliotheken for RightsManager -->
                <Component Id="DevExpressLibs_RightsManager" Guid="739740F2-1576-4416-8E3E-748F65358B65">
                  <File Id="DevExpress.Data.v15.2_" Name="DevExpress.Data.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Data.v15.2.dll" KeyPath="yes" />
                  <File Id="DevExpress.Sparkline.v15.2_" Name="DevExpress.Sparkline.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Sparkline.v15.2.Core.dll" />
                  <File Id="DevExpress.Printing.v15.2.Core_" Name="DevExpress.Printing.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Printing.v15.2.Core.dll" />
                  <File Id="DevExpress.Utils.v15.2_" Name="DevExpress.Utils.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Utils.v15.2.dll" />
                  <File Id="DevExpress.XtraEditors.v15.2_" Name="DevExpress.XtraEditors.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraEditors.v15.2.dll" />
                  <File Id="DevExpress.XtraGrid.v15.2_" Name="DevExpress.XtraGrid.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraGrid.v15.2.dll" />
                  <File Id="DevExpress.XtraLayout.v15.2_" Name="DevExpress.XtraLayout.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraLayout.v15.2.dll" />
                  <File Id="DevExpress.XtraPrinting.v15.2_" Name="DevExpress.XtraPrinting.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraPrinting.v15.2.dll" />                               
                </Component>
                
              </Directory>
            
              <Directory Id="VERSIONCHECKER" Name="VERSION_CHECKER">
                
                <Component Id="RecordOrganizer_VersionChecker" Guid="37D17685-E588-4BC6-A15E-570DE749852A">
                  <File Id="VERSION_CHECKER.exe" Name="VERSION_CHECKER.exe" Source="VERSION_CHECKER.exe">
                    <Shortcut Id="StartMenuShortcut" Directory="ProgramMenuDir" Name="ADDI-RecordOrganizer" WorkingDirectory="INSTALLDIR" Icon="DDRecordOrganizer.exe" IconIndex="0" Advertise="yes" />
                    <Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Name="ADDI-RecordOrganizer" WorkingDirectory="INSTALLDIR" Icon="DDRecordOrganizer.exe" IconIndex="0" Advertise="yes" />
                  </File>
                  <File Id="DD_LIB_Standards.dll" Name="DD_LIB_Standards.dll" Source="DD_LIB_Standards.dll" />
                </Component>
            
              </Directory>
            </Directory>
            
            <!-- Die DD-Record-Organizer.exe und Shortcuts für Desktop und Startmenü -->
            <Component Id="MainExecutable" Guid="9CC5D446-F056-4A09-995D-9DF53A7F0E38">
              <!--<File Id="PMOEXE" Name="DD-Record-Organizer.exe" Source="DD-Record-Organizer.exe" KeyPath="yes">
                <Shortcut Id="StartMenuShortcut" Directory="ProgramMenuDir" Name="ADDI-RecordOrganizer" WorkingDirectory="INSTALLDIR" Icon="DDRecordOrganizer.exe" IconIndex="0" Advertise="yes" />
                <Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Name="ADDI-RecordOrganizer" WorkingDirectory="INSTALLDIR" Icon="DDRecordOrganizer.exe" IconIndex="0" Advertise="yes" />
              </File>-->
              <File Id="PMOEXE" Name="DD-Record-Organizer.exe" Source="DD-Record-Organizer.exe" KeyPath="yes" />
              <!-- Programmordner bei Deinstallation entfernen-->
              <util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
            </Component>
            <Component Id="Docu" Guid="D6FAF95B-3CF0-4504-B18B-E1181E92DC91">
              <File Id="releaseNote.txt" Source="P:\Projekte DIGITAL DATA\DIGITAL DATA - Entwicklung\DD_MODULE\Digital Data - RECORD ORGANIZER\ChangeLog.txt" KeyPath="yes"/>
            </Component>
            <!-- WINDREAM Bibliotheken -->
            <Component Id="WindreamLibs" Guid="4D11FC99-50D9-4E54-B18A-8885C9112646">
              <File Id="INDEXLibDLL" Name="AxInterop.INDEXLib.dll" Source="AxInterop.INDEXLib.dll" KeyPath="yes" />
              <File Id="AxOBJECTLISTCONTROLLibDLL" Name="AxInterop.OBJECTLISTCONTROLLib.dll" Source="..\..\..\..\..\DD3rdPartyLibs\Windream\AxInterop.OBJECTLISTCONTROLLib.dll" KeyPath="no" />
              <File Id="OBJECTLISTCONTROLLibDLL" Name="Interop.OBJECTLISTCONTROLLib.dll" Source="..\..\..\..\..\DD3rdPartyLibs\Windream\Interop.OBJECTLISTCONTROLLib.dll" KeyPath="no" />
              <File Id="WINDREAMLibDLL" Name="Interop.WINDREAMLib.dll" Source="..\..\..\..\..\DD3rdPartyLibs\Windream\Interop.WINDREAMLib.dll" KeyPath="no" />
              <File Id="WMOTOOLLib" Name="Interop.WMOTOOLLib.dll" Source="..\..\..\..\..\DD3rdPartyLibs\Windream\Interop.WMOTOOLLib.dll" KeyPath="no" />
              <File Id="WMOBRWSLib" Name="Interop.WMOBRWSLib.dll" Source="..\..\..\..\..\DD3rdPartyLibs\Windream\Interop.WMOBRWSLib.dll" KeyPath="no" />
              <File Id="WMOSRCHLib" Name="Interop.WMOSRCHLib.dll" Source="..\..\..\..\..\DD3rdPartyLibs\Windream\Interop.WMOSRCHLib.dll" KeyPath="no" />
            </Component>
            
             <!-- Oracle-Bibliothek -->
            <Component Id="Oracle" Guid="CF76DB5D-3263-450F-96C6-F02F5447A0A1">
              <File Id="Oracle.ManagedDataAccess" Name="Oracle.ManagedDataAccess.dll" Source="D:\Programme\DB\Oracle\ora12.1\Client\ODP.NET\managed\common\Oracle.ManagedDataAccess.dll" KeyPath="yes" />
            </Component>
            
            <!-- Commandline Bibliothek -->
            <Component Id="Commandline" Guid="53F9734C-F020-4885-96DC-D8CD880E8446">
              <File Id="Commandline" Name="Commandline.dll" Source="Commandline.dll" KeyPath="yes" />
            </Component>
                      
            <!-- DD Bibliotheken -->
            <Component Id="DDLibs" Guid="BA2979E3-3778-48B8-B0D8-4B77825B9293">
              <File Id="DLLLicenseManager" Name="DLLLicenseManager.dll" Source="DLLLicenseManager.dll" KeyPath="no" />
              <File Id="DD_Rights" Name="DD_Rights.dll" Source="DD_Rights.dll" KeyPath="no" />
              <File Id="DD_LIB_Standards" Name="DD_LIB_Standards.dll" Source="DD_LIB_Standards.dll" KeyPath="no" />
              
            </Component>
            <!-- DD Bibliotheken -->
            <Component Id="BasicLibs" Guid="37238CB0-6DC3-4B1B-9438-52FA7D478897">
              <File Id="OfficeLib" 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" />
              <File Id="Microsoft.Office.Interop.Word" Name="Microsoft.Office.Interop.Word.dll" Source="D:\Programme\Sprachen\Microsoft Visual Studio 12.0\Visual Studio Tools for Office\PIA\Office15\Microsoft.Office.Interop.Word.dll" KeyPath="no" />
            </Component>
            
            <!-- MAIL.NET Bibliothek -->
            <Component Id="IndependentsoftLibs" Guid="C3B3BB48-DB41-4419-A4B8-0E4DC5E8856B">
              <File Id="MSGLib" Name="Independentsoft.Msg.dll" Source="Independentsoft.Msg.dll" KeyPath="yes" />
            </Component>
            <!-- MAIL.NET Bibliothek -->
            <Component Id="ERPConnectLibs" Guid="9AC1DD00-6225-47DD-A142-1EB462CD5240">
              <File Id="ERPConnect45" Name="ERPConnect45.dll" Source="ERPConnect45.dll" KeyPath="yes" />
            </Component>
            
            <!-- DEVEXPRESS Bibliotheken -->
            <Component Id="DevExpressLibs" Guid="CB40DAAE-348E-4BD3-B275-9A526EB8F191">
              <File Id="DevExpress.Data.v15.2" Name="DevExpress.Data.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Data.v15.2.dll" KeyPath="yes" />
              <File Id="DevExpress.Office.v15.2.Core" Name="DevExpress.Office.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Office.v15.2.Core.dll" />
              <File Id="DevExpress.Printing.v15.2.Core" Name="DevExpress.Printing.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Printing.v15.2.Core.dll" />
              <File Id="DevExpress.RichEdit.v15.2.Core" Name="DevExpress.RichEdit.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.RichEdit.v15.2.Core.dll" />
              <File Id="DevExpress.Utils.v15.2" Name="DevExpress.Utils.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Utils.v15.2.dll" />
              <File Id="DevExpress.XtraBars.v15.2" Name="DevExpress.XtraBars.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraBars.v15.2.dll" />
              <File Id="DevExpress.XtraEditors.v15.2" Name="DevExpress.XtraEditors.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraEditors.v15.2.dll" />
              <File Id="DevExpress.XtraGrid.v15.2" Name="DevExpress.XtraGrid.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraGrid.v15.2.dll" />
              <File Id="DevExpress.XtraLayout.v15.2" Name="DevExpress.XtraLayout.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraLayout.v15.2.dll" />
              <File Id="DevExpress.XtraNavBar.v15.2" Name="DevExpress.XtraNavBar.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraNavBar.v15.2.dll" />
              <File Id="DevExpress.XtraPrinting.v15.2" Name="DevExpress.XtraPrinting.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraPrinting.v15.2.dll" />
              <File Id="DevExpress.XtraRichEdit.v15.2" Name="DevExpress.XtraRichEdit.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraRichEdit.v15.2.dll" />
              <File Id="DevExpress.XtraScheduler.v15.2" Name="DevExpress.XtraScheduler.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraScheduler.v15.2.dll" />
              <File Id="DevExpress.XtraScheduler.v15.2.Core" Name="DevExpress.XtraScheduler.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraScheduler.v15.2.Core.dll" />
              <File Id="DevExpress.XtraScheduler.v15.2.Extensions" Name="DevExpress.XtraScheduler.v15.2.Extensions.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraScheduler.v15.2.Extensions.dll" />
              <File Id="DevExpress.XtraTreeList.v15.2" Name="DevExpress.XtraTreeList.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraTreeList.v15.2.dll" />
              <File Id="DevExpress.XtraVerticalGrid.v15.2" Name="DevExpress.XtraVerticalGrid.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraVerticalGrid.v15.2.dll" />
              <File Id="DevExpress.XtraWizard.v15.2" Name="DevExpress.XtraWizard.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraWizard.v15.2.dll" />
              <File Id="DevExpress.Pdf.v15.2.Core" Name="DevExpress.Pdf.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Pdf.v15.2.Core.dll" />
              <File Id="DevExpress.Pdf.v15.2.Drwawing" Name="DevExpress.Pdf.v15.2.Drawing.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Pdf.v15.2.Drawing.dll" />
              <File Id="DevExpress.XtraPdfViewer.v15.2" Name="DevExpress.XtraPdfViewer.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraPdfViewer.v15.2.dll" />
              <File Id="DevExpress.Sparkline.v15.2" Name="DevExpress.Sparkline.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Sparkline.v15.2.Core.dll" />
              <File Id="DevExpress.Charts.Designer.v15.2_" Name="DevExpress.Charts.Designer.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Charts.Designer.v15.2.dll" />
              <File Id="DevExpress.Charts.v15.2.Core_" Name="DevExpress.Charts.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Charts.v15.2.Core.dll" />
              <File Id="DevExpress.XtraCharts.v15.2_" Name="DevExpress.XtraCharts.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraCharts.v15.2.dll" />
              <File Id="DevExpress.XtraCharts.v15.2.Extensions_" Name="DevExpress.XtraCharts.v15.2.Extensions.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraCharts.v15.2.Extensions.dll" />
              <File Id="DevExpress.XtraCharts.v15.2.UI_" Name="DevExpress.XtraCharts.v15.2.UI.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraCharts.v15.2.UI.dll" />
              <File Id="DevExpress.XtraDiagram.v15.2_" Name="DevExpress.XtraDiagram.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraDiagram.v15.2.dll" />
              <File Id="DevExpress.XtraCharts.Wizard" Name="DevExpress.XtraCharts.v15.2.Wizard.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraCharts.v15.2.Wizard.dll" />
              <File Id="DevExpress.XtraMap.v15.2" Name="DevExpress.XtraMap.v15.2.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.XtraMap.v15.2.dll" />
              <File Id="DevExpress.Map.v15.2.Core" Name="DevExpress.Map.v15.2.Core.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\DevExpress.Map.v15.2.Core.dll" />
            </Component>

            <!-- Lokalisierung für DEVEXPRESS Bibliotheken-->
            <Directory Id="LOCALE_DE" Name="de">
              <Component Id="RecordOrganizer.Locales.de" Guid="C9476586-46A4-450A-88F4-BE416B7AD21C">
                <File Id="DDRecordOrganizer.resource.de" Name="DD-Record-Organizer.resources.dll" Source="de\DD-Record-Organizer.resources.dll"></File>
              </Component>
              
              <Component Id="Scheduler.Locales" Guid="84335DB2-F5D2-496B-9318-2BD1B1ACA391">
                <File Id="DevExpress.XtraScheduler.v15.2.Core.resources" Name="DevExpress.XtraScheduler.v15.2.Core.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.2.Core.resources.dll"></File>
                <File Id="DevExpress.XtraScheduler.v15.2.Extensions.resources" Name="DevExpress.XtraScheduler.v15.2.Extensions.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.2.Extensions.resources.dll"></File>
                <File Id="DevExpress.XtraScheduler.v15.2.resources" Name="DevExpress.XtraScheduler.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.2.resources.dll"></File>
                <File Id="DevExpress.Data.v15.2.resources" Name="DevExpress.Data.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.Data.v15.2.resources.dll"></File>
                <File Id="DevExpress.Office.v15.2.Core.resources" Name="DevExpress.Office.v15.2.Core.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.Office.v15.2.Core.resources.dll"></File>
                <File Id="DevExpress.Printing.v15.2.Core.resources" Name="DevExpress.Printing.v15.2.Core.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraScheduler.v15.2.Reporting.resources.dll"></File>
                <File Id="DevExpress.RichEdit.v15.2.Core.resources" Name="DevExpress.RichEdit.v15.2.Core.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.RichEdit.v15.2.Core.resources.dll"></File>
                <File Id="DevExpress.Utils.v15.2.resources" Name="DevExpress.Utils.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.Utils.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraBars.v15.2.resources" Name="DevExpress.XtraBars.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraBars.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraEditors.v15.2.resources" Name="DevExpress.XtraEditors.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraEditors.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraGrid.v15.2.resources" Name="DevExpress.XtraGrid.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraGrid.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraLayout.v15.2.resources" Name="DevExpress.XtraLayout.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraLayout.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraNavBar.v15.2.resources" Name="DevExpress.XtraNavBar.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraNavBar.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraPrinting.v15.2.resources" Name="DevExpress.XtraPrinting.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraPrinting.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraRichEdit.v15.2.resources" Name="DevExpress.XtraRichEdit.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraRichEdit.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraTreeList.v15.2.resources" Name="DevExpress.XtraTreeList.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraTreeList.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraVerticalGrid.v15.2.resources" Name="DevExpress.XtraVerticalGrid.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraVerticalGrid.v15.2.resources.dll"></File>
                <File Id="DevExpress.XtraWizard.v15.2.resources" Name="DevExpress.XtraWizard.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraWizard.v15.2.resources.dll"></File>                
                <File Id="DevExpress.Charts.Designer.v15.2.resources" Name="DevExpress.Charts.Designer.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.Charts.Designer.v15.2.resources.dll" />
                <File Id="DevExpress.XtraCharts.v15.2.resources" Name="DevExpress.XtraCharts.v15.2.resources.dll" Source="D:\Programme\Sprachen\DevExpress 15.2\Components\Bin\Framework\de\DevExpress.XtraCharts.v15.2.resources.dll" />
              </Component>
            </Directory>

            <Directory Id="LOCALE_EN_GB" Name="en-GB">
              <Component Id="RecordOrganizer.Locales.en_gb" Guid="7FAA9173-9012-4EBB-A408-04AB25D3C9DF">
                <File Id="DDRecordOrganizer.resource.en_gb" Name="DD-Record-Organizer.resources.dll" Source="en-GB\DD-Record-Organizer.resources.dll"></File>
              </Component>
            </Directory>

            <Directory Id="LOCALE_EN_US" Name="en-US">
              <Component Id="RecordOrganizer.Locales.en_us" Guid="AC6E160E-8FDE-41F4-98FD-41FD668AF320">
                <File Id="DDRecordOrganizer.resource.en_us" Name="DD-Record-Organizer.resources.dll" Source="en-US\DD-Record-Organizer.resources.dll"></File>
              </Component>
            </Directory>
          </Directory>
        </Directory>
      </Directory>

      <!-- Startmenü Ordner -->
      <Directory Id="ProgramMenuFolder" Name="Programs">
        <Directory Id="ProgramMenuDir" Name="Record Organizer">
          <Component Id="ProgramMenuDir" Guid="5200DF59-FED6-4C5A-8393-90B8ED526432">
            <RemoveFolder Id="ProgramMenuDir" On="uninstall" />
            
            <RegistryKey Root="HKCU" Key="Software">
              
              <RegistryKey Key="[Manufacturer]">
                <RegistryKey Key="[ProductName]" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes" Id="REGKEYINSTALLDIR">
                  <RegistryValue Type="string" Value="[INSTALLDIR]" Name="Path" />
                </RegistryKey>
              </RegistryKey>
              
              <RegistryKey Key="Classes">
                <RegistryKey Key="pmo" ForceCreateOnInstall="yes" ForceDeleteOnUninstall="yes" Id="REGKEYCUSTOMURLHANDLER">
                  <RegistryValue Type="string" Name="URL Protocol" Value="" />
                  <RegistryValue Key="DefaultIcon" Type="string" Value="&quot;[INSTALLDIR]DD-Record-Organizer.exe,0&quot;" />
                  <RegistryValue Key="shell\open\command" Type="string" Value="&quot;[INSTALLDIR]DD-Record-Organizer.exe&quot; --data %1" />
                </RegistryKey>
              </RegistryKey>
              
            </RegistryKey>
            
            
            
            
          </Component>
        </Directory>
      </Directory>
 
      <!-- Desktop Ordner -->
      <Directory Id="DesktopFolder" Name="Desktop" />
    </Directory>

    <!-- Installierte Features -->
    <Feature Id="Complete" Level="1">
      <ComponentRef Id="MainExecutable" />
      <ComponentRef Id="WindreamLibs" />
      <ComponentRef Id="Docu" />
      <ComponentRef Id="DDLibs" />
      <ComponentRef Id="IndependentsoftLibs" />
      <ComponentRef Id="Scheduler.Locales" />
      <ComponentRef Id="RecordOrganizer.Locales.de" />
      <ComponentRef Id="RecordOrganizer.Locales.en_gb" />
      <ComponentRef Id="RecordOrganizer.Locales.en_us" />
      <ComponentRef Id="DevExpressLibs" />
      <ComponentRef Id="DevExpressLibs_RightsManager" />
      <ComponentRef Id="BasicLibs" />
      <ComponentRef Id="ProgramMenuDir"/>
      <!--<ComponentRef Id="RegistryEntries"/>-->
      <ComponentRef Id="Oracle" />
      <ComponentRef Id="Commandline" />
      <ComponentRef Id="ERPConnectLibs" />
      <ComponentRef Id="RecordOrganizer_RightManager"/>
      <ComponentRef Id="RecordOrganizer_VersionChecker" />
    </Feature>

    <!-- Legt das Standard-Installationsverzeichnis fest-->
    <Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
    
    <!-- OBERFLÄCHE -->
    <UI>
      <UIRef Id="WixUI_InstallDir" />
      <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>
    </UI>
    <!-- OBERFLÄCHE END -->
  </Product>
</Wix>
