Files
UCS_schermsoftware/UCSInstaller/Product.wxs
2021-10-25 11:09:28 +02:00

233 lines
11 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:adx="http://schemas.add-in-express.com/wixdesigner">
<?define ProductVersion="0.0.0" ?>
<?define BuildLocation="$(var.SolutionDir)\UCS\bin\$(var.Platform)\$(var.Configuration)" ?>
<?define InstallLocation="[UCSFOLDER]" ?>
<Product Id="*" Name="Universal Control System" Language="1033" Version="$(var.ProductVersion)" Manufacturer="SDN Engineering" UpgradeCode="bbec07cb-d1b7-4bc8-9070-0ff0d54fa55a">
<Package InstallerVersion="400" Compressed="yes" InstallScope="perMachine" />
<MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
<MediaTemplate EmbedCab="yes" />
<Icon Id="icon.ico" SourceFile="..\UCS\Files\SDN_Transparant.ICO" />
<Property Id="ARPPRODUCTICON" Value="icon.ico" />
<Feature Id="ProductFeature" Title="UCSInstaller" Level="1">
<ComponentGroupRef Id="UCS.Binaries" />
<ComponentRef Id="comp_UCSFOLDER" />
<ComponentRef Id="comp_Background_user.jpg"/>
<ComponentRef Id="comp_Background.bmp"/>
<ComponentRef Id="comp_Background.png"/>
<ComponentRef Id="NLog.dll" />
<ComponentRef Id="AxInterop.AXISMEDIACONTROLLib.dll" />
<ComponentRef Id="Interop.AXISMEDIACONTROLLib.dll" />
<ComponentRef Id="AXISMediaControlSDK" />
<ComponentRef Id="AXISMediaControlSDK_releasenotes" />
<ComponentRef Id="BoschVideoSDK"/>
<ComponentRef Id="NLog.config" />
<ComponentRef Id="UCS.Telemetry.dll" />
<ComponentRef Id="NLog.Telemetry.config" />
<ComponentRef Id="Newtonsoft.Json.dll" />
<ComponentRef Id="UCS.URLPost.dll" />
<ComponentRef Id="NLog.URLPost.config" />
<ComponentRef Id="UCS.ConfigFile.dll" />
<ComponentRef Id="NLog.ConfigFile.config" />
<ComponentRef Id="UCS.IOTServer.dll" />
<ComponentRef Id="NLog.IOTServer.config" />
<ComponentRef Id="UCS.RemoteIDList.dll" />
<ComponentRef Id="NLog.RemoteIDList.config" />
<ComponentRef Id="VoIPSDK.dll" />
<ComponentRef Id="DocumentFormat.OpenXml.dll"/>
<ComponentRef Id="Bosch.VideoSDK.AxCameoLib.dll" />
<ComponentRef Id="Bosch.VideoSDK.CameoLib.dll" />
<ComponentRef Id="Bosch.VideoSDK.GCALib.dll" />
<ComponentRef Id="UCS.BACnet.dll" />
<ComponentRef Id="NLog.BACnet.config" />
<ComponentRef Id="UCS.Stentofon.dll" />
<ComponentRef Id="NLog.Stentofon.config" />
<ComponentRef Id="comp_UCSSHORTCUT"/>
<ComponentRef Id="comp_AXISSHORTCUT"/>
<ComponentRef Id="comp_BOSCHSHORTCUT"/>
<ComponentRef Id="comp_UCSAUTOSTART"/>
<ComponentRef Id="SetWallPaper"/>
</Feature>
</Product>
<Fragment>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFiles64Folder">
<Directory Id="INSTALLFOLDER" Name="SDN Engineering">
<Directory Id="UCSFOLDER" Name="UCS">
<Component Id="comp_UCSFOLDER" Guid="D89D1C67-C2E4-4058-AF3C-408C396973C2">
<CreateFolder Directory="UCSFOLDER" />
<RemoveFolder Id="comp_UCSFOLDER" On="uninstall" Directory="UCSFOLDER" />
</Component>
<Component Id="NLog.dll" Guid="*">
<File Id="NLog.dll" Source="$(var.BuildLocation)\NLog.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="AxInterop.AXISMEDIACONTROLLib.dll" Guid="*">
<File Id="AxInterop.AXISMEDIACONTROLLib.dll" Source="$(var.BuildLocation)\AxInterop.AXISMEDIACONTROLLib.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="Interop.AXISMEDIACONTROLLib.dll" Guid="*">
<File Id="Interop.AXISMEDIACONTROLLib.dll" Source="$(var.BuildLocation)\Interop.AXISMEDIACONTROLLib.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="Bosch.VideoSDK.AxCameoLib.dll" Guid="*">
<File Id="Bosch.VideoSDK.AxCameoLib.dll" Source="$(var.BuildLocation)\Bosch.VideoSDK.AxCameoLib.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="Bosch.VideoSDK.CameoLib.dll" Guid="*">
<File Id="Bosch.VideoSDK.CameoLib.dll" Source="$(var.BuildLocation)\Bosch.VideoSDK.CameoLib.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="Bosch.VideoSDK.GCALib.dll" Guid="*">
<File Id="Bosch.VideoSDK.GCALib.dll" Source="$(var.BuildLocation)\Bosch.VideoSDK.GCALib.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.config" Guid="*">
<File Id="NLog.config" Source="$(var.BuildLocation)\NLog.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="VoIPSDK.dll" Guid="*">
<File Id="VoIPSDK.dll" Source="$(var.BuildLocation)\VoIPSDK.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="DocumentFormat.OpenXml.dll" Guid="*">
<File Id="DocumentFormat.OpenXml.dll" Source="$(var.BuildLocation)\DocumentFormat.OpenXml.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.Telemetry.dll" Guid="*">
<File Id="UCS.Telemetry.dll" Source="$(var.BuildLocation)\UCS.Telemetry.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.Telemetry.config" Guid="*">
<File Id="NLog.Telemetry.config" Source="$(var.BuildLocation)\NLog.Telemetry.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="Newtonsoft.Json.dll" Guid="*">
<File Id="Newtonsoft.Json.dll" Source="$(var.BuildLocation)\Newtonsoft.Json.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.URLPost.dll" Guid="*">
<File Id="UCS.URLPost.dll" Source="$(var.BuildLocation)\UCS.URLPost.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.URLPost.config" Guid="*">
<File Id="NLog.URLPost.config" Source="$(var.BuildLocation)\NLog.URLPost.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.ConfigFile.dll" Guid="*">
<File Id="UCS.ConfigFile.dll" Source="$(var.BuildLocation)\UCS.ConfigFile.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.ConfigFile.config" Guid="*">
<File Id="NLog.ConfigFile.config" Source="$(var.BuildLocation)\NLog.ConfigFile.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.IOTServer.dll" Guid="*">
<File Id="UCS.IOTServer.dll" Source="$(var.BuildLocation)\UCS.IOTServer.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.IOTServer.config" Guid="*">
<File Id="NLog.IOTServer.config" Source="$(var.BuildLocation)\NLog.IOTServer.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.RemoteIDList.dll" Guid="*">
<File Id="UCS.RemoteIDList.dll" Source="$(var.BuildLocation)\UCS.RemoteIDList.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.RemoteIDList.config" Guid="*">
<File Id="NLog.RemoteIDList.config" Source="$(var.BuildLocation)\NLog.RemoteIDList.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.BACnet.dll" Guid="*">
<File Id="UCS.BACnet.dll" Source="$(var.BuildLocation)\UCS.BACnet.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.BACnet.config" Guid="*">
<File Id="NLog.BACnet.config" Source="$(var.BuildLocation)\NLog.BACnet.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="UCS.Stentofon.dll" Guid="*">
<File Id="UCS.Stentofon.dll" Source="$(var.BuildLocation)\UCS.Stentofon.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="NLog.Stentofon.config" Guid="*">
<File Id="NLog.Stentofon.config" Source="$(var.BuildLocation)\NLog.Stentofon.config" KeyPath="yes" Checksum="yes"/>
</Component>
<Directory Id="TOOLSFOLDER" Name="Tools">
<Component Id="comp_Background_user.jpg" Guid="*">
<File Id="Background_user.jpg" Source="..\UCS Files\Tools\Background user.jpg" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="comp_Background.bmp" Guid="*">
<File Id="Background.bmp" Source="..\UCS Files\Tools\Background.bmp" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="comp_Background.png" Guid="*">
<File Id="Background.png" Source="..\UCS Files\Tools\Background.png" KeyPath="yes" Checksum="yes"/>
</Component>
<Directory Id="AXISFOLDER" Name="Axis video">
<Component Id="AXISMediaControlSDK" Guid="*">
<File Id="AXISMediaControlSDK_X64_7_42.exe" Source="..\Axis_SDK\AXISMediaControlSDK_X64_7_42.exe" KeyPath="yes" Checksum="yes" />
</Component>
<Component Id="AXISMediaControlSDK_releasenotes" Guid="*">
<File Id="AXISMediaControlSDK_releasenotes_7_42.txt" Source="..\Axis_SDK\AXISMediaControlSDK_releasenotes_7_42.txt" KeyPath="yes" Checksum="yes"/>
</Component>
</Directory>
<Directory Id="BOSCHFOLDER" Name="Bosch video">
<Component Id="BoschVideoSDK" Guid="*">
<File Id="VideoSDK.06.32.0099.x64.msi" Source="..\Bosch_SDK\VideoSDK.06.32.0099.x64.msi" KeyPath="yes" Checksum="yes"/>
</Component>
</Directory>
</Directory>
<Directory Id="UCS.Binaries"/>
</Directory>
</Directory>
</Directory>
<Directory Id="DesktopFolder">
<Component Id="comp_UCSSHORTCUT" Guid="*">
<Shortcut Id="UCSSHORTCUT" Directory="DesktopFolder" Name="UCS" Show="normal" Target="[UCSFOLDER]UCS.exe" WorkingDirectory="DesktopFolder" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\Installer" Name="UCSShortCut" Type="string" Value="[UCSFOLDER]UCS.exe" KeyPath="yes" />
</Component>
<Component Id="comp_AXISSHORTCUT" Guid="*">
<Shortcut Id="AXISSHORTCUT" Directory="DesktopFolder" Name="AXISMediaControlSDK_X64_7_42.exe" Show="normal" Target="[AXISFOLDER]\AXISMediaControlSDK_X64_7_42.exe" WorkingDirectory="DesktopFolder" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\Installer" Name="AxisShortCut" Type="string" Value="[AXISFOLDER]\AXISMediaControlSDK_X64_7_42.exe" KeyPath="yes" />
</Component>
<Component Id="comp_BOSCHSHORTCUT" Guid="*">
<Shortcut Id="BOSCHSHORTCUT" Directory="DesktopFolder" Name="VideoSDK.06.32.0099.x64.msi" Show="normal" Target="[BOSCHFOLDER]VideoSDK.06.32.0099.x64.msi" WorkingDirectory="DesktopFolder" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\Installer" Name="BoschShortCut" Type="string" Value="[BOSCHFOLDER]VideoSDK.06.32.0099.x64.msi" KeyPath="yes" />
</Component>
</Directory>
<Directory Id="StartupFolder">
<Component Id="comp_UCSAUTOSTART" Guid="*">
<Shortcut Id="UCSAUTOSTART" Directory="StartupFolder" Name="UCS" Show="normal" Target="[UCSFOLDER]UCS.exe" WorkingDirectory="StartupFolder" />
<RegistryValue Root="HKCU" Key="Software\[Manufacturer]\[ProductName]\Installer" Name="UCSAutoStart" Type="string" Value="[UCSFOLDER]UCS.exe" KeyPath="yes" />
</Component>
</Directory>
<Component Id="SetWallPaper" Guid="*">
<RegistryValue Root="HKCU" Key="Control Panel\Desktop" Name="WallPaper" Type="string" Value="[TOOLSFOLDER]Background user.jpg" />
</Component>
</Directory>
</Fragment>
</Wix>