204 lines
14 KiB
XML
204 lines
14 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- The name of the product -->
|
|
<?define Name = "SlucovaniRozpisek" ?>
|
|
<!-- The Description of the product -->
|
|
<?define Description = "EXprojekt Slucovani Rozpisek." ?>
|
|
<!-- The manufacturer, for setup package publisher and folder info -->
|
|
<?define Manufacturer = "EXprojekt s.r.o" ?>
|
|
<!-- The version number of this setup package-->
|
|
<?define Version = "!(bind.FileVersion.SlucovaniRozpisek.dll)" ?>
|
|
<!-- UpgradeCode must be unique and not changed once the first version of the program is installed. -->
|
|
<?define UpgradeCode = "{73077CF7-2AB3-45E2-AB90-EB107C9DAA92}" ?>
|
|
<!-- The name of the Cabinet -->
|
|
<?define CabName = "SlucovaniRozpisek.cab" ?>
|
|
|
|
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
|
|
|
|
<!--Variable for SlucovaniRozpisek Directory-->
|
|
<?define SlucovaniRozpisek_TargetDir=bin/Release/net9.0-windows/?>
|
|
<?define SlucovaniRozpisek_AdditionalTargetDir=bin/Release/net9.0-windows/de/?>
|
|
<?define SlucovaniRozpisek_tlbDir=bin/Release/net472/?>
|
|
|
|
<!-- Versions for binaries -->
|
|
<?define VerExe = "!(bind.FileVersion.SlucovaniRozpisek.dll)" ?>
|
|
|
|
<Package InstallerVersion="200" Compressed="yes" Name="$(var.Name)" Manufacturer="$(var.Manufacturer)" UpgradeCode="$(var.UpgradeCode)" Version="$(var.Version)" Language="1033" Codepage="1250" Scope="perMachine">
|
|
|
|
<!--Application logo-->
|
|
<Icon Id="Logo.ico" SourceFile="Logo.ico" />
|
|
|
|
<!--Application logo for Control Panel-->
|
|
<Property Id="ARPPRODUCTICON" Value="Logo.ico" />
|
|
|
|
<!--Embed Cabinet into single msi file-->
|
|
<Media Id="1" Cabinet="$(var.CabName)" EmbedCab="yes" />
|
|
|
|
<!-- Allow upgrades and prevent downgrades -->
|
|
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
|
|
|
<!--Main Feature for this Setup which can be found in Fragment Tag with ComponentGroupRef Id-->
|
|
<Feature Id="ProductFeature" Title="$(var.Name)" Level="1">
|
|
<!--Main application executable component-->
|
|
<ComponentGroupRef Id="ProductComponents" />
|
|
<ComponentGroupRef Id="AdditionalProductComponents" />
|
|
<ComponentRef Id="Help" />
|
|
<!--Main application shortcut for Program Menu-->
|
|
<ComponentRef Id="ApplicationShortcut" />
|
|
<!--Desktop shortcut-->
|
|
<ComponentGroupRef Id="ComponentGroupDesktopShortcut" />
|
|
</Feature>
|
|
</Package>
|
|
|
|
<!--Fragment with details of installation directory-->
|
|
<Fragment>
|
|
<!-- Create a folder inside program files with Company Name-->
|
|
<StandardDirectory Id="ProgramFiles6432Folder">
|
|
<Directory Id="ROOTDIRECTORY" Name="$(var.Manufacturer)">
|
|
<Directory Id="INSTALLFOLDER" Name="$(var.Name)" />
|
|
<Directory Id="de" Name="$(var.Name)\de" />
|
|
</Directory>
|
|
</StandardDirectory>
|
|
|
|
<!-- Create a folder inside Company Name folder with Product Name-->
|
|
<StandardDirectory Id="DesktopFolder" />
|
|
|
|
<!--Create application folder in Program Menu-->
|
|
<StandardDirectory Id="ProgramMenuFolder">
|
|
<Directory Id="ApplicationProgramsFolder" Name="$(var.Name)" />
|
|
</StandardDirectory>
|
|
</Fragment>
|
|
|
|
<!--Main Feature Fragment with the application -->
|
|
<Fragment>
|
|
<!--ComponentGroup refering to install component in INSTALLFOLDER Directory-->
|
|
<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
|
|
<!--Main Component with SlucovaniRozpisekexecutable path-->
|
|
<Component Id="SlucovaniRozpisek.dll" Guid="{69C95469-59B7-4AD6-836F-28B092EBFB33}">
|
|
<File Id="SlucovaniRozpisek.dll" Name="SlucovaniRozpisek.dll" Source="$(var.SlucovaniRozpisek_TargetDir)SlucovaniRozpisek.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="SlucovaniRozpisek.dll" Checksum="yes" KeyPath="yes" />
|
|
<File Id="SlucovaniRozpisek.tlb" Name="SlucovaniRozpisek.tlb" Source="$(var.SlucovaniRozpisek_tlbDir)SlucovaniRozpisek.tlb" Checksum="no" CompanionFile="SlucovaniRozpisek.dll">
|
|
<TypeLib Id="{E8C102DB-4C3E-457F-A4FC-7A9BF6FBD105}" Description="Slucovani Rozpisek" MajorVersion="1" MinorVersion="0" Language="0">
|
|
<Interface Id="{6C356D2C-614C-4371-A11C-D93E40E096FB}" Name="ISlucovacRozpisek" ProxyStubClassId32="{00020424-0000-0000-C000-000000000046}" />
|
|
</TypeLib>
|
|
</File>
|
|
<RegistryValue Root="HKCR" Key="SlucovaniRozpisek" Value="SlucovaniRozpisek" Type="string" Action="write" />
|
|
<RegistryValue Root="HKCR" Key="SlucovaniRozpisek\CLSID" Value="{ABD284DF-509C-4E0F-9D19-96A3416738D4}" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}" Value="Slucovani Rozpisek" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\Implemented Categories\{62C8FE65-4EBB-45e7-B440-6E39B2CDBF29}" Value="" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32" Value="mscoree.dll" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32" Name="Class" Value="SlucovaniRozpisek.SlucovacRozpisek" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32" Name="Assembly" Value="SlucovaniRozpisek, Version=$(var.VerExe), Culture=neutral, PublicKeyToken=c43628c899117157" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32" Name="RuntimeVersion" Value="v4.0.30319" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32" Name="ThreadingModel" Value="Apartment" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32" Name="CodeBase" Value="file:///[#SlucovaniRozpisek.dll]" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32\$(var.VerExe)" Value="mscoree.dll" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32\$(var.VerExe)" Name="Class" Value="SlucovaniRozpisek.SlucovacRozpisek" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32\$(var.VerExe)" Name="Assembly" Value="SlucovaniRozpisek, Version=$(var.VerExe), Culture=neutral, PublicKeyToken=c43628c899117157" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32\$(var.VerExe)" Name="RuntimeVersion" Value="v4.0.30319" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32\$(var.VerExe)" Name="ThreadingModel" Value="Apartment" Type="string" Action="write" />
|
|
<RegistryValue Root="HKLM" Key="SOFTWARE\Classes\CLSID\{ABD284DF-509C-4E0F-9D19-96A3416738D4}\InprocServer32\$(var.VerExe)" Name="CodeBase" Value="file:///[#SlucovaniRozpisek.dll]" Type="string" Action="write" />
|
|
</Component>
|
|
<Component Id="SlucovaniRozpisek.exe" Guid="{BAB456E7-AD3C-4C26-836B-4B13A9AAE4C0}">
|
|
<File Id="SlucovaniRozpisek.exe" Name="SlucovaniRozpisek.exe" Source="$(var.SlucovaniRozpisek_TargetDir)SlucovaniRozpisek.exe" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="Help" Guid="{68C1E6BA-E2A3-45A2-A252-5FF23C8CCA36}">
|
|
<File Id="help.pdf" Name="help.pdf" Source="$(var.SlucovaniRozpisek_TargetDir)help.pdf" CompanionFile="SlucovaniRozpisek.dll"/>
|
|
</Component>
|
|
<Component Id="Microsoft.Extensions.DependencyInjection.Abstractions.dll" Guid="{3F6E7976-68E6-49F5-92E4-F3BB4DA244F3}">
|
|
<File Id="Microsoft.Extensions.DependencyInjection.Abstractions.dll" Name="Microsoft.Extensions.DependencyInjection.Abstractions.dll" Source="$(var.SlucovaniRozpisek_TargetDir)Microsoft.Extensions.DependencyInjection.Abstractions.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="Microsoft.Extensions.DependencyInjection.Abstractions.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="Microsoft.Extensions.DependencyInjection.dll" Guid="{726884FC-B871-4AE8-B8CE-F5B22EEE7083}">
|
|
<File Id="Microsoft.Extensions.DependencyInjection.dll" Name="Microsoft.Extensions.DependencyInjection.dll" Source="$(var.SlucovaniRozpisek_TargetDir)Microsoft.Extensions.DependencyInjection.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="Microsoft.Extensions.DependencyInjection.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="Microsoft.Extensions.Logging.Abstractions.dll" Guid="{B5D8EE5A-44CB-4CD9-B669-BFE7F4D93588}">
|
|
<File Id="Microsoft.Extensions.Logging.Abstractions.dll" Name="Microsoft.Extensions.Logging.Abstractions.dll" Source="$(var.SlucovaniRozpisek_TargetDir)Microsoft.Extensions.Logging.Abstractions.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="Microsoft.Extensions.Logging.Abstractions.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="Microsoft.Extensions.Logging.dll" Guid="{43F1442D-E7FD-4C3C-A477-744D1E0FF646}">
|
|
<File Id="Microsoft.Extensions.Logging.dll" Name="Microsoft.Extensions.Logging.dll" Source="$(var.SlucovaniRozpisek_TargetDir)Microsoft.Extensions.Logging.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="Microsoft.Extensions.Logging.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="Microsoft.Extensions.Options.dll" Guid="{6E8FB036-A1D9-41EF-88CB-560F498AD9A9}">
|
|
<File Id="Microsoft.Extensions.Options.dll" Name="Microsoft.Extensions.Options.dll" Source="$(var.SlucovaniRozpisek_TargetDir)Microsoft.Extensions.Options.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="Microsoft.Extensions.Options.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="Microsoft.Extensions.Primitives.dll" Guid="{FBDD76A6-5E35-409C-AA12-BD7A0263D1C1}">
|
|
<File Id="Microsoft.Extensions.Primitives.dll" Name="Microsoft.Extensions.Primitives.dll" Source="$(var.SlucovaniRozpisek_TargetDir)Microsoft.Extensions.Primitives.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="Microsoft.Extensions.Primitives.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="PdfSharp.dll" Guid="{704E2E0D-DE0B-432F-8121-F69D301F0639}">
|
|
<File Id="PdfSharp.dll" Name="PdfSharp.dll" Source="$(var.SlucovaniRozpisek_TargetDir)PdfSharp.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="PdfSharp.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="PdfSharp.Charting.dll" Guid="{E8AB7EEC-4405-4D10-96A8-9F81A0743A1F}">
|
|
<File Id="PdfSharp.Charting.dll" Name="PdfSharp.Charting.dll" Source="$(var.SlucovaniRozpisek_TargetDir)PdfSharp.Charting.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="PdfSharp.Charting.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="PdfSharp.Quality.dll" Guid="{8C9FA364-DBF6-4211-A5B3-B3DF0CBE1AB4}">
|
|
<File Id="PdfSharp.Quality.dll" Name="PdfSharp.Quality.dll" Source="$(var.SlucovaniRozpisek_TargetDir)PdfSharp.Quality.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="PdfSharp.Quality.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="PdfSharp.Snippets.dll" Guid="{3BD4BFDF-1B0F-4BB5-8BA1-2517FC047114}">
|
|
<File Id="PdfSharp.Snippets.dll" Name="PdfSharp.Snippets.dll" Source="$(var.SlucovaniRozpisek_TargetDir)PdfSharp.Snippets.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="PdfSharp.Snippets.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="PdfSharp.System.dll" Guid="{8B5BC229-EBB2-47B1-B47D-1D9B4930EB48}">
|
|
<File Id="PdfSharp.System.dll" Name="PdfSharp.System.dll" Source="$(var.SlucovaniRozpisek_TargetDir)PdfSharp.System.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="PdfSharp.System.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
<Component Id="PdfSharp.WPFonts.dll" Guid="{C13C8598-5553-4CB2-88CE-CCFB9C1CE23E}">
|
|
<File Id="PdfSharp.WPFonts.dll" Name="PdfSharp.WPFonts.dll" Source="$(var.SlucovaniRozpisek_TargetDir)PdfSharp.WPFonts.dll"
|
|
ProcessorArchitecture="msil" Assembly=".net" AssemblyApplication="PdfSharp.WPFonts.dll" Checksum="yes" KeyPath="yes" />
|
|
</Component>
|
|
</ComponentGroup>
|
|
<ComponentGroup Id="AdditionalProductComponents" Directory="de">
|
|
|
|
<Component Id="PdfSharp.resources.dll" Guid="{4B306A6F-EF8F-43E5-B31A-16C3A215C2B8}">
|
|
<File Id="PdfSharp.resources.dll"
|
|
Name="PdfSharp.resources.dll"
|
|
Source="$(var.SlucovaniRozpisek_AdditionalTargetDir)PdfSharp.resources.dll"
|
|
KeyPath="yes" />
|
|
</Component>
|
|
|
|
<Component Id="PdfSharp.Charting.resources.dll" Guid="{0377A9D3-C7DE-4922-A891-2C0F4B9D5029}">
|
|
<File Id="PdfSharp.Charting.resources.dll"
|
|
Name="PdfSharp.Charting.resources.dll"
|
|
Source="$(var.SlucovaniRozpisek_AdditionalTargetDir)PdfSharp.Charting.resources.dll"
|
|
KeyPath="yes" />
|
|
</Component>
|
|
|
|
</ComponentGroup>
|
|
</Fragment>
|
|
|
|
<Fragment>
|
|
<DirectoryRef Id="ApplicationProgramsFolder">
|
|
<!--Create application shortcut in Program Menu-->
|
|
<Component Id="ApplicationShortcut" Guid="{BC998AD1-4E67-45ED-8DB2-75ECE6BD174C}" Bitness="always64">
|
|
<Shortcut Id="ApplicationStartMenuShortcut" Name="$(var.Name) $(var.Version)" Description="$(var.Description)" Icon="Logo.ico" Target="[#SlucovaniRozpisek.exe]" WorkingDirectory="INSTALLFOLDER" />
|
|
|
|
<!--Remove application shortcut from Program Menu on uninstall-->
|
|
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall" />
|
|
</Component>
|
|
</DirectoryRef>
|
|
</Fragment>
|
|
|
|
<Fragment>
|
|
<!--Desktop Shortcut-->
|
|
<ComponentGroup Id="ComponentGroupDesktopShortcut">
|
|
<Component Id="ComponentDesktopShortcut" Guid="{A3A9303A-D53A-4EB2-9045-22474D88012B}" Directory="DesktopFolder" Bitness="always64">
|
|
<Shortcut Id="AppDesktopShortcut"
|
|
Name="$(var.Name) $(var.Version)"
|
|
Description="$(var.Description)"
|
|
Directory="DesktopFolder"
|
|
Target="[#SlucovaniRozpisek.exe]"
|
|
Icon="Logo.ico"
|
|
WorkingDirectory="INSTALLFOLDER"/>
|
|
<!--Remove desktop shortcut on uninstall-->
|
|
<RemoveFolder Id="DesktopFolder" On="uninstall"/>
|
|
</Component>
|
|
</ComponentGroup>
|
|
</Fragment>
|
|
</Wix>
|