142 lines
6.6 KiB
XML
142 lines
6.6 KiB
XML
<?include Config.wxi?>
|
|
|
|
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension">
|
|
<Product Id="*" Name="$(var.ProductName)" Language="1031" Codepage="1252" Version="$(var.ProductVersion)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)">
|
|
<Package
|
|
Id="*"
|
|
Keywords="Installer"
|
|
Description="$(var.Description)"
|
|
Comments="$(var.Comments)"
|
|
Manufacturer="$(var.Manufacturer)"
|
|
InstallerVersion="100"
|
|
Languages="1031"
|
|
Compressed="yes"
|
|
SummaryCodepage="1252"
|
|
InstallScope="perMachine"
|
|
/>
|
|
|
|
<Media Id='1' Cabinet='$(var.ProgramName).cab' EmbedCab='yes' DiskPrompt='$(var.ProgramName)' />
|
|
<Property Id='DiskPrompt' Value="$(var.ProgramName) Install" />
|
|
|
|
<MajorUpgrade
|
|
AllowDowngrades="no"
|
|
AllowSameVersionUpgrades="no"
|
|
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.0" Maximum="99.0.0.0"
|
|
Property="PREVIOUSVERSIONSINSTALLED"
|
|
IncludeMinimum="yes" IncludeMaximum="no" />
|
|
</Upgrade>
|
|
|
|
<!-- Legt das Icon fest -->
|
|
<Icon Id="AppIcon.exe" SourceFile="$(var.ProgramName).exe" />
|
|
<!-- Zeige Icon in Systemsteuerung > Programme entfernen -->
|
|
<Property Id="ARPPRODUCTICON" Value="AppIcon" />
|
|
|
|
<Property Id="APPLICATIONFOLDER">
|
|
<RegistrySearch Key="Software\[Manufacturer]\[ProductName]" Root="HKCU" Type="raw" Id="APPLICATIONFOLDER_REGSEARCH" Name="Path" />
|
|
</Property>
|
|
|
|
<Directory Id="TARGETDIR" Name="SourceDir">
|
|
<Directory Id="ProgramFilesFolder">
|
|
<Directory Id="DD" Name="$(var.Manufacturer)">
|
|
<Directory Id="INSTALLDIR" Name="$(var.ProductName)"/>
|
|
</Directory>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<DirectoryRef Id="INSTALLDIR">
|
|
<Component Id="MainApplicationExe" Guid="7d3ebddc-a123-4ca7-b300-453584b67122">
|
|
<File Id="MainApplicationExe" Name="$(var.ProgramName).exe" KeyPath="yes" Checksum="yes">
|
|
<Shortcut Id="DesktopShortcut" Directory="DesktopFolder" Name="$(var.ProductName)" WorkingDirectory="INSTALLDIR" Icon="AppIcon.exe" IconIndex="0" Advertise="yes" />
|
|
<Shortcut Id="StartMenuShortcut" Directory="ProgramMenuDir" Name="$(var.ProductName)" WorkingDirectory="INSTALLDIR" Icon="AppIcon.exe" IconIndex="0" Advertise="yes" />
|
|
</File>
|
|
</Component>
|
|
|
|
<Component Id="WindreamLibs" Guid="3666d0d9-6406-4f95-8610-4ed36403378f">
|
|
<File Id="WINDREAMLib" Name="Interop.WINDREAMLib.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WINDREAMLib.dll" KeyPath="yes" />
|
|
<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" />
|
|
<File Id="WMOTOOLLib" Name="Interop.WMOTOOLLib.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.WMOTOOLLib.dll" KeyPath="no" />
|
|
<File Id="Scripting" Name="Interop.Scripting.dll" Source="P:\Visual Studio Projekte\Bibliotheken\windream\Interop.Scripting.dll" KeyPath="no" />
|
|
</Component>
|
|
|
|
<Component Id="SQLiteLibs" Guid="bcd5db55-0e93-453a-9792-493a624a73b4">
|
|
<File Id="System.Data.SQLite" Name="System.Data.SQLite.dll" Source="System.Data.SQLite.dll" KeyPath="yes" />
|
|
<File Id="System.Data.SQLite.EF6" Name="System.Data.SQLite.EF6.dll" Source="System.Data.SQLite.EF6.dll" KeyPath="no" />
|
|
<File Id="System.Data.SQLite.Linq" Name="System.Data.SQLite.Linq.dll" Source="System.Data.SQLite.Linq.dll" KeyPath="no" />
|
|
|
|
<File Id="EntityFramework.SqlServer" Name="EntityFramework.SqlServer.dll" Source="EntityFramework.SqlServer.dll" KeyPath="no" />
|
|
<File Id="EntityFramework" Name="EntityFramework.dll" Source="EntityFramework.dll" KeyPath="no" />
|
|
</Component>
|
|
|
|
<Component Id="OracleLibs" Guid="e309863a-dfd0-48e1-b342-4d3e64b413ee">
|
|
<File Id="Oracle.ManagedDataAccess" Name="Oracle.ManagedDataAccess.dll" Source="P:\Visual Studio Projekte\Bibliotheken\Oracle.ManagedDataAccess.dll" KeyPath="yes" />
|
|
</Component>
|
|
|
|
<Component Id="RegistryKeys" Guid="98007b10-5ad4-4755-80fa-387920e7005a">
|
|
<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>
|
|
|
|
<util:RemoveFolderEx Id="RemoveApplicationFolder" On="uninstall" Property="APPLICATIONFOLDER" />
|
|
</Component>
|
|
|
|
<!-- Für weitere Dateien hier Component Elemente anlegen!! -->
|
|
<!--
|
|
<Component Id="FirmaXYLib" Guid="PUT-GUID-HERE">
|
|
<File Id="FirmaXYLib" Name="FirmaXYLib.dll" KeyPath="yes" Checksum="yes"/>
|
|
</Component>
|
|
-->
|
|
|
|
<Directory Id="ProgramMenuFolder" Name="Programs">
|
|
<Directory Id="ProgramMenuDir" Name="$(var.ProductName)">
|
|
<Component Id="ProgramMenuDir" Guid="4ac7ef72-2b92-4249-bd86-1e793f72507c">
|
|
<RemoveFolder Id="ProgramMenuDir" On="uninstall" />
|
|
<RegistryValue Root="HKMU" Key="Software\[Manufacturer]\[ProductName]" Type="string" Value="" KeyPath="yes" />
|
|
</Component>
|
|
</Directory>
|
|
</Directory>
|
|
|
|
<Directory Id="DesktopFolder" Name="Desktop" />
|
|
</DirectoryRef>
|
|
|
|
<Feature Id="MainApplication" Title="Main Application" Level="1">
|
|
<ComponentRef Id="MainApplicationExe" />
|
|
<ComponentRef Id="WindreamLibs" />
|
|
<ComponentRef Id="SQLiteLibs" />
|
|
<ComponentRef Id="OracleLibs" />
|
|
<ComponentRef Id="ProgramMenuDir" />
|
|
<ComponentRef Id="RegistryKeys" />
|
|
</Feature>
|
|
|
|
<!-- Legt das Standard-Installationsverzeichnis fest-->
|
|
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" />
|
|
|
|
<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>
|
|
</Product>
|
|
</Wix>
|