Update of windows/linux install workflow

This commit is contained in:
Jakub Melka 2024-07-02 10:28:33 +02:00
parent dc330879be
commit 7df285bdad
7 changed files with 167 additions and 83 deletions

View File

@ -1,7 +1,7 @@
name: Linux_AppImage
on:
create:
push:
tags:
- 'v*'
@ -18,6 +18,7 @@ jobs:
sudo apt-get install -y libxcb-cursor0
sudo apt-get install -y libspeechd2
sudo apt-get install -y gnupg2 wget
sudo apt-get install -y appstream
wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
chmod +x appimagetool-x86_64.AppImage
sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool
@ -106,6 +107,16 @@ jobs:
cmake --build build -j6
cmake --install build
- name: Read version
id: get_version
run: |
version=$(cat "pdf4qt/build/version.txt")
echo "Version: $version"
echo "appimagefilename=PDF4QT-$version-x86_64.AppImage" >> $GITHUB_ENV
echo "AppImage file name: PDF4QT-$version-x86_64.AppImage"
env:
appimagefilename: ${{ env.appimagefilename }}
- name: 'Linux Deploy Qt'
working-directory: pdf4qt/build
run: |
@ -117,30 +128,30 @@ jobs:
- name: Sign and Repack AppImage
working-directory: pdf4qt/build
run: |
export GPG_TTY=$(tty)
echo "${{ secrets.PGP_PASSPHRASE }}" | appimagetool -s --sign-key "${{ secrets.PGP_KEY_ID }}" install/ io.github.JakubMelka.Pdf4qt.AppImage
appimagetool -s --sign-key "${{ secrets.PGP_KEY_ID }}" install/ ${{ env.appimagefilename }}
- name: Manual signature
run: |
gpg --batch --yes --verbose --pinentry-mode loopback --detach-sign --passphrase "${{ secrets.PGP_PASSPHRASE }}" --local-user "${{ secrets.PGP_KEY_ID }}" --output pdf4qt/build/io.github.JakubMelka.Pdf4qt.AppImage.sig pdf4qt/build/io.github.JakubMelka.Pdf4qt.AppImage
gpg --batch --yes --verbose --pinentry-mode loopback --detach-sign --passphrase "${{ secrets.PGP_PASSPHRASE }}" --local-user "${{ secrets.PGP_KEY_ID }}" --output pdf4qt/build/${{ env.appimagefilename }}.sig pdf4qt/build/${{ env.appimagefilename }}
- name: Verify AppImage Detached Signature
run: |
echo "${{ secrets.PGP_PUBLIC_KEY }}" | gpg --batch --import
gpg --verify pdf4qt/build/io.github.JakubMelka.Pdf4qt.AppImage.sig pdf4qt/build/io.github.JakubMelka.Pdf4qt.AppImage
gpg --verify pdf4qt/build/${{ env.appimagefilename }}.sig pdf4qt/build/${{ env.appimagefilename }}
- name: Upload AppImage Package
uses: actions/upload-artifact@v4
with:
name: ubuntu-appimage
path: ./pdf4qt/build/io.github.JakubMelka.Pdf4qt.AppImage
name: ${{ env.appimagefilename }}
path: ./pdf4qt/build/${{ env.appimagefilename }}
retention-days: 30
compression-level: 0
- name: Upload AppImage Signature File
uses: actions/upload-artifact@v4
with:
name: ubuntu-appimage-sig
path: ./pdf4qt/build/io.github.JakubMelka.Pdf4qt.AppImage.sig
name: ${{ env.appimagefilename }}.sig
path: ./pdf4qt/build/${{ env.appimagefilename }}.sig
retention-days: 30
if-no-files-found: warn
compression-level: 0

View File

@ -16,7 +16,40 @@ jobs:
uses: actions/checkout@v4
with:
path: pdf4qt
- name: Add MakeAppx to PATH
shell: pwsh
run: |
# Define the base path to Windows Kits
$basePath = "C:\Program Files (x86)\Windows Kits\10\bin"
# Get directories in the base path and sort them by version number
$sdkDirs = Get-ChildItem -Path $basePath -Directory | Sort-Object Name -Descending
# Find the first directory that contains the MakeAppx.exe
$sdkPath = $null
foreach ($dir in $sdkDirs) {
$path = Join-Path $dir.FullName "x64"
if (Test-Path (Join-Path $path "MakeAppx.exe")) {
$sdkPath = $path
break
}
}
# Add the highest version SDK path to the PATH environment variable
if ($sdkPath) {
Write-Host "Adding $sdkPath to PATH"
echo "PATH=$env:PATH;$sdkPath" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
} else {
Write-Error "MakeAppx.exe not found in any Windows SDK directories"
}
- name: Verify MakeAppx Path
shell: pwsh
run: |
$makeAppxPath = Get-Command MakeAppx.exe | Select-Object -ExpandProperty Definition
Write-Host "MakeAppx.exe found at: $makeAppxPath"
- name: 'VCPKG: Set up VCPKG'
run: |
git clone --depth=1 https://github.com/microsoft/vcpkg.git
@ -39,7 +72,7 @@ jobs:
- name: 'VCPKG: Install project dependencies'
run: |
.\vcpkg install tbb openssl lcms zlib openjpeg freetype ijg-libjpeg libpng blend2d --triplet x64-windows
.\vcpkg install tbb openssl lcms zlib openjpeg freetype ijg-libjpeg libpng blend2d brotli bzip2 hwloc vcpkg-cmake vcpkg-cmake-config vcpkg-cmake-get-vars --triplet x64-windows
working-directory: vcpkg
- name: Install Qt
@ -50,9 +83,33 @@ jobs:
target: 'desktop'
dir: '${{ github.workspace }}/qt/'
install-deps: 'true'
modules: 'qtspeech qtmultimedia'
modules: 'qtspeech qtmultimedia qtimageformats'
cache: 'true'
cache-key-prefix: ${{ runner.os }}-qt-672
- name: Find VC Redistributable Directories
shell: pwsh
run: |
# Define the base path to the VC redistributable directories
$basePath = "C:\Program Files\Microsoft Visual Studio\2022\*\VC\Redist\MSVC"
# Find directories that match the pattern for VC redistributables
$redistDirs = Get-ChildItem -Path $basePath -Recurse -Directory -Filter "Microsoft.VC*.CRT" | Where-Object { $_.FullName -notmatch "debug_nonredist" }
# Extract the toolset version from the directory names
if ($redistDirs) {
$firstRedistDir = $redistDirs | Select-Object -First 1
$toolsetVersion = $firstRedistDir.Name -replace '^Microsoft\.VC(\d+)\.CRT$', '$1'
Write-Host "Found MSVC Toolset Version: $toolsetVersion"
Write-Host "Found MSVC Redistributable Full Path: $firstRedistDir"
echo "MSVC_TOOLSET_VERSION=$toolsetVersion" >> $env:GITHUB_ENV
echo "VCToolsRedistDir=$($firstRedistDir.Parent.Parent.Parent.FullName)" >> $env:GITHUB_ENV
echo "VSCMD_ARG_TGT_ARCH=x64" >> $env:GITHUB_ENV
echo "MSVC_REDISTRIBUTABLES_PATH=$firstRedistDir" >> $env:GITHUB_ENV
} else {
Write-Error "No valid redistributable directories found."
}
- name: Build project
working-directory: pdf4qt
@ -61,34 +118,51 @@ jobs:
cmake -B build -S . -DCMAKE_BUILD_TYPE=Release -DCMAKE_VCPKG_BUILD_TYPE=Release -DPDF4QT_INSTALL_QT_DEPENDENCIES=ON -DPDF4QT_INSTALL_DEPENDENCIES=ON -DCMAKE_TOOLCHAIN_FILE="${env:GITHUB_WORKSPACE}\vcpkg\scripts\buildsystems\vcpkg.cmake" -DPDF4QT_QT_ROOT="${env:Qt6_DIR}" -DPDF4QT_INSTALL_MSVC_REDISTRIBUTABLE=ON -DPDF4QT_INSTALL_PREPARE_WIX_INSTALLER=ON -DPDF4QT_INSTALL_TO_USR=ON
cmake --build build --config Release -j6
cmake --install build
env:
VCToolsRedistDir: ${{ env.VCToolsRedistDir }}
VSCMD_ARG_TGT_ARCH: ${{ env.VSCMD_ARG_TGT_ARCH }}
MSVC_TOOLSET_VERSION: ${{ env.MSVC_TOOLSET_VERSION }}
MSVC_REDISTRIBUTABLES_PATH: ${{ env.MSVC_REDISTRIBUTABLES_PATH }}
- name: Read version
id: get_version
shell: pwsh
run: |
version=$(cat ".\pdf4qt\build\version.txt")
echo "Version: $version"
echo "pdf4qt_version=$version" >> $GITHUB_ENV
env:
pdf4qt_version: ${{ env.pdf4qt_version }}
- name: Install WiX Toolset
run: choco install wix
$version = Get-Content -Path ".\pdf4qt\build\version.txt" -Raw
$version = $version.Trim() # Odstraní případné prázdné znaky kolem verze
Write-Host "Version: $version"
echo "pdf4qt_version=$version" >> $env:GITHUB_ENV
echo "msipackagefilename=JakubMelka.PDF4QT_${version}.msi" >> $env:GITHUB_ENV
Write-Host "MSI package file name: JakubMelka.PDF4QT_${version}.msi"
- name: Find WiXUIExtension.dll
id: find_wixui_extension
shell: pwsh
run: |
$wixPath = "C:\Program Files (x86)\WiX Toolset v3.*\bin\WiXUIExtension.dll"
$wixUIExtensionPath = Get-ChildItem -Path $wixPath -ErrorAction SilentlyContinue | Select-Object -First 1
if ($null -ne $wixUIExtensionPath) {
Write-Output "Found WiXUIExtension.dll at: $($wixUIExtensionPath.FullName)"
echo "wixuiextpath=$($wixUIExtensionPath.FullName)" >> $env:GITHUB_ENV
} else {
Write-Error "WiXUIExtension.dll not found in the expected path."
}
- name: Create MSI Package
working-directory: pdf4qt\build\WixInstaller
run: |
candle -v -d"SolutionDir=." -d"SolutionExt=.sln" -d"SolutionFileName=PDF4QT.sln" -d"SolutionName=PDF4QT" -d"SolutionPath=PDF4QT.sln" -d"Configuration=Release" -d"OutDir=bin\Release\" -d"Platform=x86" -d"ProjectDir=." -d"ProjectExt=.wixproj" -d"ProjectFileName=PDF4QT.wixproj" -d"ProjectName=PDF4QT" -d"ProjectPath=PDF4QT.wixproj" -d"TargetDir=bin\Release\" -d"TargetExt=.msi" -d"TargetFileName=${{ env.msipackagefilename }}" -d"TargetName=PDF4QT" -d"TargetPath=bin\Release\${{ env.msipackagefilename }}" -out obj\Release\ -arch x86 -ext "${{ env.wixuiextpath }}" Product.wxs
Light -v -out ${{ github.workspace }}\pdf4qt\build\install\${{ env.msipackagefilename }} -pdbout .\bin\Release\PDF4QT.wixpdb -cultures:null -ext "${{ env.wixuiextpath }}" -contentsfile obj\Release\PDF4QT.wixproj.BindContentsFileListnull.txt -outputsfile obj\Release\PDF4QT.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\Release\PDF4QT.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile .\PDF4QT.wixproj obj\Release\Product.wixobj
- name: Create MSIX Package
run: |
MakeAppx pack /d ".\pdf4qt\build\install\usr\bin" /p ".\pdf4qt\build\install\JakubMelka.PDF4QT_${{ env.pdf4qt_version }}.msix"
- name: Create MSI Package
working-directory: pdf4qt\WixInstaller
run: |
candle -d"SolutionDir=." -d"SolutionExt=.sln" -d"SolutionFileName=PDF4QT.sln" -d"SolutionName=PDF4QT" -d"SolutionPath=PDF4QT.sln" -d"Configuration=Release" -d"OutDir=bin\Release\" -d"Platform=x86" -d"ProjectDir=." -d"ProjectExt=.wixproj" -d"ProjectFileName=PDF4QT.wixproj" -d"ProjectName=PDF4QT" -d"ProjectPath=PDF4QT.wixproj" -d"TargetDir=bin\Release\" -d"TargetExt=.msi" -d"TargetFileName=PDF4QT.msi" -d"TargetName=PDF4QT" -d"TargetPath=bin\Release\PDF4QT.msi" -out obj\Release\ -arch x86 -ext "C:\Program Files (x86)\WiX Toolset v3.11\bin\\WixUIExtension.dll" Product.wxs
Light -out .\pdf4qt\build\install\PDF4QT.msi -pdbout .\bin\Release\PDF4QT.wixpdb -cultures:null -ext "C:\Program Files (x86)\WiX Toolset v3.11\bin\\WixUIExtension.dll" -contentsfile obj\Release\PDF4QT.wixproj.BindContentsFileListnull.txt -outputsfile obj\Release\PDF4QT.wixproj.BindOutputsFileListnull.txt -builtoutputsfile obj\Release\PDF4QT.wixproj.BindBuiltOutputsFileListnull.txt -wixprojectfile .\PDF4QT.wixproj obj\Release\Product.wixobj
- name: Upload ZIP directory
uses: actions/upload-artifact@v4
with:
name: 'pdf4qt-${{ runner.os }}.zip'
name: 'PDF4QT-${{ runner.os }}-${{ env.pdf4qt_version }}.zip'
path: .\pdf4qt\build\install\usr\bin
retention-days: 30
@ -102,6 +176,6 @@ jobs:
- name: Upload MSI package
uses: actions/upload-artifact@v4
with:
name: 'JakubMelka.PDF4QT_${{ env.pdf4qt_version }}.msi'
path: .\pdf4qt\build\install\PDF4QT.msi
name: '${{ env.msipackagefilename }}'
path: .\pdf4qt\build\install\${{ env.msipackagefilename }}
retention-days: 30

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Package xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10" xmlns:mp="http://schemas.microsoft.com/appx/2014/phone/manifest" xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10" IgnorableNamespaces="uap mp">
<Identity Name="io.github.JakubMelka.PDF4QT" Publisher="CN=JakubMelka" Version="${PDF4QT_VERSION}.0" />
<Identity Name="io.github.JakubMelka.PDF4QT" Publisher="CN=Jakub Melka, O=Jakub Melka, L=Tursko, C=CZ" Version="${PDF4QT_VERSION}" />
<Properties>
<DisplayName>PDF4QT</DisplayName>
<PublisherDisplayName>Jakub Melka</PublisherDisplayName>
@ -39,18 +39,18 @@
</Application>
<Application Id="Pdf4QtPageMaster" Executable="Pdf4QtPageMaster.exe" EntryPoint="windows.fullTrustApplication">
<uap:VisualElements DisplayName="PDF4QT PageMaster"
Description="Take control of your documents. Manage whole documents or individual pages with ease. Merge documents into a single file, or split them into multiple ones. You can also move, clone, or add pages with a few clicks, all within an intuitive user interface."
BackgroundColor="transparent"
Square150x150Logo="assets\150x150\io.github.JakubMelka.Pdf4qt.Pdf4QtPageMaster.png"
Square44x44Logo="assets\44x44\io.github.JakubMelka.Pdf4qt.Pdf4QtPageMaster.png">
Description="Take control of your documents. Manage whole documents or individual pages with ease. Merge documents into a single file, or split them into multiple ones. You can also move, clone, or add pages with a few clicks, all within an intuitive user interface."
BackgroundColor="transparent"
Square150x150Logo="assets\150x150\io.github.JakubMelka.Pdf4qt.Pdf4QtPageMaster.png"
Square44x44Logo="assets\44x44\io.github.JakubMelka.Pdf4qt.Pdf4QtPageMaster.png">
</uap:VisualElements>
</Application>
<Application Id="Pdf4QtDiff" Executable="Pdf4QtDiff.exe" EntryPoint="windows.fullTrustApplication">
<uap:VisualElements DisplayName="PDF4QT PageMaster"
Description="Spot differences effortlessly. This tool allows users to open two documents and receive a detailed list of differences. View these differences in a page-to-page window where they are clearly marked."
BackgroundColor="transparent"
Square150x150Logo="assets\150x150\io.github.JakubMelka.Pdf4qt.Pdf4QtDiff.png"
Square44x44Logo="assets\44x44\io.github.JakubMelka.Pdf4qt.Pdf4QtDiff.png">
<uap:VisualElements DisplayName="PDF4QT Diff"
Description="Spot differences effortlessly. This tool allows users to open two documents and receive a detailed list of differences. View these differences in a page-to-page window where they are clearly marked."
BackgroundColor="transparent"
Square150x150Logo="assets\150x150\io.github.JakubMelka.Pdf4qt.Pdf4QtDiff.png"
Square44x44Logo="assets\44x44\io.github.JakubMelka.Pdf4qt.Pdf4QtDiff.png">
</uap:VisualElements>
</Application>
</Applications>

View File

@ -17,7 +17,7 @@
cmake_minimum_required(VERSION 3.16)
set(PDF4QT_VERSION 1.4.0)
set(PDF4QT_VERSION 1.4.0.0)
message(STATUS "Build type - CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
project(PDF4QT VERSION ${PDF4QT_VERSION} LANGUAGES CXX)
@ -143,6 +143,8 @@ endif()
message("CMAKE_PREFIX_PATH = " ${CMAKE_PREFIX_PATH})
message("CMAKE_TOOLCHAIN_FILE = " ${CMAKE_TOOLCHAIN_FILE})
configure_file(version.txt.in version.txt)
if(NOT PDF4QT_BUILD_ONLY_CORE_LIBRARY)
if(WIN32)
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/Desktop/44x44/
@ -254,8 +256,13 @@ if(PDF4QT_INSTALL_DEPENDENCIES AND NOT PDF4QT_BUILD_ONLY_CORE_LIBRARY)
endif()
if(WIN32 AND MSVC AND PDF4QT_INSTALL_MSVC_REDISTRIBUTABLE)
get_filename_component(MSVC_REDISTRIBUTABLES_PATH $ENV{VCToolsRedistDir}/$ENV{VSCMD_ARG_TGT_ARCH}/Microsoft.VC${MSVC_TOOLSET_VERSION}.CRT/ ABSOLUTE)
message(STATUS "MSVC Redistributable Package Path = ${MSVC_REDISTRIBUTABLES_PATH}")
if(DEFINED ENV{MSVC_REDISTRIBUTABLES_PATH})
set(MSVC_REDISTRIBUTABLES_PATH $ENV{MSVC_REDISTRIBUTABLES_PATH})
message(STATUS "Using existing MSVC Redistributable Package Path = ${MSVC_REDISTRIBUTABLES_PATH}")
else()
get_filename_component(MSVC_REDISTRIBUTABLES_PATH $ENV{VCToolsRedistDir}/$ENV{VSCMD_ARG_TGT_ARCH}/Microsoft.VC${MSVC_TOOLSET_VERSION}.CRT/ ABSOLUTE)
message(STATUS "MSVC Redistributable Package Path = ${MSVC_REDISTRIBUTABLES_PATH}")
endif()
install(DIRECTORY ${MSVC_REDISTRIBUTABLES_PATH}/
RUNTIME DESTINATION ${PDF4QT_INSTALL_LIB_DIR}/

View File

@ -24,7 +24,7 @@
<launchable type="desktop-id">io.github.JakubMelka.Pdf4qt.desktop</launchable>
<releases>
<release version="1.3.7" date="2024-01-10"/>
<release version="1.3.6" date="2023-11-24"/>
<release version="1.3.6" date="2023-11-24"/>
<release version="1.3.5" date="2023-09-08"/>
<release version="1.3.4" date="2023-08-03"/>
<release version="1.3.3" date="2023-04-22"/>
@ -36,14 +36,11 @@
<release version="1.1.0" date="2021-12-19"/>
<release version="1.0.0" date="2021-09-19"/>
</releases>
<requires>
<internet>offline-only</internet>
</requires>
<screenshots>
<screenshot><caption>Browse PDF files easily and efficiently</caption>https://jakubmelka.github.io/assets/flatpak/profi-default.png</screenshot>
<screenshot><caption>Utilize the 'magnifying glass' feature to zoom in on specific sections of the page</caption>https://jakubmelka.github.io/assets/flatpak/profi-magnifier.png</screenshot>
<screenshot><caption>Display statistics for various content types within the PDF file</caption>https://jakubmelka.github.io/assets/flatpak/profi-object-statistics.png</screenshot>
<screenshot><caption>View the document details</caption>https://jakubmelka.github.io/assets/flatpak/profi-properties.png</screenshot>
<screenshot><caption>List of add-ons available for the PDF editor</caption>https://jakubmelka.github.io/assets/flatpak/profi-addons.png</screenshot>
<screenshot><caption>Browse PDF files easily and efficiently</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-default.png</image></screenshot>
<screenshot><caption>Utilize the 'magnifying glass' feature to zoom in on specific sections of the page</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-magnifier.png</image></screenshot>
<screenshot><caption>Display statistics for various content types within the PDF file</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-object-statistics.png</image></screenshot>
<screenshot><caption>View the document details</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-properties.png</image></screenshot>
<screenshot><caption>List of add-ons available for the PDF editor</caption><image>https://jakubmelka.github.io/assets/flatpak/profi-addons.png</image></screenshot>
</screenshots>
</component>

View File

@ -14,24 +14,24 @@
<ComponentGroupRef Id="PDF4QT_Framework" />
<ComponentRef Id="ProgramMenuDir" />
<Feature Id="feature_PDF4QT_ViewerProfi" Absent="allow" AllowAdvertise="no" Title="Viewer Profi" Display="expand" Level="1" Description="Advanced PDF viewer/editor with many functions, such as annotation editing, form filling, signature verification, and many optional plugins.">
<ComponentGroupRef Id="PDF4QT_ViewerProfi"/>
<Feature Id="feature_PDF4QT_Editor" Absent="allow" AllowAdvertise="no" Title="Editor" Display="expand" Level="1" Description="Advanced PDF viewer/editor with many functions, such as annotation editing, form filling, signature verification, and many optional plugins.">
<ComponentGroupRef Id="PDF4QT_Editor"/>
<Feature Id="feature_PDF4QT_ViewerProfi_Plugins" Absent="allow" AllowAdvertise="no" Title="Plugin Pack" Level="1" Description="Plugin pack for Viewer Profi. Contains additional editing features, such as audio book conversion, signatures, soft-proofing, dimensions, object inspector, redaction etc.">
<ComponentGroupRef Id="PDF4QT_ViewerProfi_Plugins"/>
<Feature Id="feature_PDF4QT_Editor_Plugins" Absent="allow" AllowAdvertise="no" Title="Plugin Pack" Level="1" Description="Plugin pack for editor. Contains additional editing features, such as audio book conversion, signatures, soft-proofing, dimensions, object inspector, redaction etc.">
<ComponentGroupRef Id="PDF4QT_Editor_Plugins"/>
</Feature>
</Feature>
<Feature Id="feature_PDF4QT_ViewerLite" Absent="allow" AllowAdvertise="no" Title="Viewer Lite" Level="1" Description="Simple PDF viewer with basic functions.">
<ComponentGroupRef Id="PDF4QT_ViewerLite"/>
<Feature Id="feature_PDF4QT_Viewer" Absent="allow" AllowAdvertise="no" Title="Viewer" Level="1" Description="Simple PDF viewer with basic functions.">
<ComponentGroupRef Id="PDF4QT_Viewer"/>
</Feature>
<Feature Id="feature_PDF4QT_DocPageOrganizer" Absent="allow" AllowAdvertise="no" Title="DocPage Organizer" Level="1" Description="Document page organizer (split/merge documents, insert/remove/move/clone pages, insert blank pages and images to create a new document).">
<ComponentGroupRef Id="PDF4QT_DocPageOrganizer"/>
<Feature Id="feature_PDF4QT_PageMaster" Absent="allow" AllowAdvertise="no" Title="PageMaster" Level="1" Description="Document page organizer (split/merge documents, insert/remove/move/clone pages, insert blank pages and images to create a new document).">
<ComponentGroupRef Id="PDF4QT_PageMaster"/>
</Feature>
<Feature Id="feature_PDF4QT_DocDiff" Absent="allow" AllowAdvertise="no" Title="DocDiff" Level="1" Description="Compare content of two documents.">
<ComponentGroupRef Id="PDF4QT_DocDiff"/>
<Feature Id="feature_PDF4QT_Diff" Absent="allow" AllowAdvertise="no" Title="Diff" Level="1" Description="Compare content of two documents.">
<ComponentGroupRef Id="PDF4QT_Diff"/>
</Feature>
</Feature>
@ -69,8 +69,8 @@
<Component Id="cmpPdf4QtLibWidgets" Directory="INSTALLFOLDER" Guid="{40A714A4-3F2A-41BE-9C70-216FAB048061}">
<File Id="filPdf4QtLibWidgets" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtLibWidgets.dll" />
</Component>
<Component Id="cmpA99D3E7760DA61048DF14141B017863B" Directory="INSTALLFOLDER" Guid="{7EFA71AF-99EC-40D8-9C07-4B99EB3FAECB}">
<File Id="fil0CB615EFFEBF4E5461A1C353B0A551E2" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtViewer.dll" />
<Component Id="cmpPdf4QtLibGui" Directory="INSTALLFOLDER" Guid="{A6399A6E-EF73-4699-A723-E72529C248DB}">
<File Id="fil0CB615EFFEBF4E5461A1C353B0A551E2" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtLibGui.dll" />
</Component>
<Component Id="cmpFC336ADC1B94F4FDF274016576CE9B0E" Directory="INSTALLFOLDER" Guid="{E5C28C55-AC18-4E71-B84E-82745BC0360B}">
<File Id="filB2658D09DD3F25C5086312C63CF0EC25" KeyPath="yes" Source="$(var.MyInstallDir)\PdfTool.exe" />
@ -132,8 +132,8 @@
<Component Id="cmp893EFF82D727F74847CD545558FE34F9" Directory="dir_platforms" Guid="{8A574FB6-B003-45E6-80F2-0989BEE14A63}">
<File Id="filD985A5747A9613717D389F1D3912E702" KeyPath="yes" Source="$(var.MyInstallDir)\platforms\qwindows.dll" />
</Component>
<Component Id="cmp68D943E1439A6058C3156551EE80749B" Directory="dir_styles" Guid="{61EF162D-B428-4A5C-BE6E-8BB5F8A45BEB}">
<File Id="fil5C550A2AFF340D0DC4E7D7A674142A92" KeyPath="yes" Source="$(var.MyInstallDir)\styles\qwindowsvistastyle.dll" />
<Component Id="cmp68D943E1439A6058C3156551EE80749B" Directory="dir_styles" Guid="{1A418DAB-7A24-4695-A773-4DC161926350}">
<File Id="fil5C550A2AFF340D0DC4E7D7A674142A92" KeyPath="yes" Source="$(var.MyInstallDir)\styles\qmodernwindowsstyle.dll" />
</Component>
<Component Id="cmpAF41975820F68671CC4EF8EDCC9B3135" Directory="dir_texttospeech" Guid="{305900CC-4483-4E0F-B611-C32FD9E01021}">
<File Id="fil06D2402D329F17F0309E6FB70C194C77" KeyPath="yes" Source="$(var.MyInstallDir)\texttospeech\qtexttospeech_sapi.dll" />
@ -174,12 +174,6 @@
<Component Id="cQt6Multimedia" Directory="INSTALLFOLDER" Guid="{726B6B8D-04F0-46A2-9716-E6FFCEEB00B7}">
<File Id="fQt6Multimedia" KeyPath="yes" Source="$(var.MyInstallDir)\Qt6Multimedia.dll" />
</Component>
<Component Id="cQt6OpenGL" Directory="INSTALLFOLDER" Guid="{A9903431-BCCD-483F-A715-921371B27525}">
<File Id="fQt6OpenGL" KeyPath="yes" Source="$(var.MyInstallDir)\Qt6OpenGL.dll" />
</Component>
<Component Id="cQt6OpenGLWidgets" Directory="INSTALLFOLDER" Guid="{C42FEDDA-E7B5-4540-8598-F20031DF8621}">
<File Id="fQt6OpenGLWidgets" KeyPath="yes" Source="$(var.MyInstallDir)\Qt6OpenGLWidgets.dll" />
</Component>
<Component Id="copenjp2" Directory="INSTALLFOLDER" Guid="{951B543B-4241-4DF9-962B-2E255A1C1230}">
<File Id="fopenjp2" KeyPath="yes" Source="$(var.MyInstallDir)\openjp2.dll" />
</Component>
@ -211,10 +205,10 @@
</Fragment>
<Fragment>
<ComponentGroup Id="PDF4QT_ViewerProfi">
<ComponentGroup Id="PDF4QT_Editor">
<Component Id="cmp188606497BACB312973D307393C8D3AF" Directory="INSTALLFOLDER" Guid="{52D3CF62-F556-4E7A-BCEB-75E5E65ED786}">
<File Id="fil382C8CB744D292C33773197891A6A24E" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtEditor.exe">
<Shortcut Id="PDF4QT_ViewerProfi_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT Viewer Profi" Description="Advanced PDF viewer/editor" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_VP_Icon.exe" IconIndex="0" Advertise="yes"/>
<Shortcut Id="PDF4QT_Editor_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT Editor" Description="Advanced PDF editor" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_VP_Icon.exe" IconIndex="0" Advertise="yes"/>
</File>
<ProgId Id='default_profi.pdf' Description='PDF Document'>
<Extension Id='pdf' ContentType='application/pdf'>
@ -230,10 +224,10 @@
</Fragment>
<Fragment>
<ComponentGroup Id="PDF4QT_ViewerLite">
<ComponentGroup Id="PDF4QT_Viewer">
<Component Id="cmp891B7ED2D028329F4330A2C46EF56E40" Directory="INSTALLFOLDER" Guid="{2D222775-6DA7-43E6-B212-3A142622190C}">
<File Id="fil84879C1A606C2A34C05AE592C1DC0E90" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtViewer.exe">
<Shortcut Id="PDF4QT_ViewerLite_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT Viewer Lite" Description="Simple PDF viewer" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_VL_Icon.exe" IconIndex="0" Advertise="yes"/>
<Shortcut Id="PDF4QT_Viewer_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT Viewer" Description="Simple PDF viewer" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_VL_Icon.exe" IconIndex="0" Advertise="yes"/>
</File>
<ProgId Id='default_lite.pdf' Description='PDF Document'>
<Extension Id='pdf' ContentType='application/pdf'>
@ -249,10 +243,10 @@
</Fragment>
<Fragment>
<ComponentGroup Id="PDF4QT_DocPageOrganizer">
<ComponentGroup Id="PDF4QT_PageMaster">
<Component Id="cmp8323DF5465210B8C0ACBA71BACE6D2C9" Directory="INSTALLFOLDER" Guid="{9D248BEE-BA78-4050-B362-0694B11AA326}">
<File Id="fil82A5A2280AE5FAD2BDA0C3AD486F406A" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtPageMaster.exe">
<Shortcut Id="PDF4QT_DPO_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT DocPage Organizer" Description="PDF Document page organizer" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_DPO_Icon.exe" IconIndex="0" Advertise="yes"/>
<Shortcut Id="PDF4QT_DPO_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT PageMaster" Description="PDF Document page organizer" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_DPO_Icon.exe" IconIndex="0" Advertise="yes"/>
</File>
</Component>
</ComponentGroup>
@ -263,10 +257,10 @@
</Fragment>
<Fragment>
<ComponentGroup Id="PDF4QT_DocDiff">
<ComponentGroup Id="PDF4QT_Diff">
<Component Id="cmpF7C26D935DF63326446EC8C73E470F3A" Directory="INSTALLFOLDER" Guid="{067D40E9-4FAE-472D-BCC3-B92A23CA0028}">
<File Id="fil71267885AEBCC05676DCDCB1DC20FB06" KeyPath="yes" Source="$(var.MyInstallDir)\Pdf4QtDiff.exe">
<Shortcut Id="PDF4QT_DD_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT DocDiff" Description="Compare two similar PDF documents" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_DD_Icon.exe" IconIndex="0" Advertise="yes"/>
<Shortcut Id="PDF4QT_DD_Shortcut" Directory="ProgramMenuDir" Name="PDF4QT Diff" Description="Compare two similar PDF documents" WorkingDirectory="INSTALLFOLDER" Icon="PDF4QT_DD_Icon.exe" IconIndex="0" Advertise="yes"/>
</File>
</Component>
</ComponentGroup>
@ -277,7 +271,7 @@
</Fragment>
<Fragment>
<ComponentGroup Id="PDF4QT_ViewerProfi_Plugins">
<ComponentGroup Id="PDF4QT_Editor_Plugins">
<Component Id="cmpF3C540FEAD14FBC1B56CE4C51B406A28" Directory="dir_pdfplugins" Guid="{06D159D2-0F34-417E-9134-7E9195E697A0}">
<File Id="fil997E8EDEF5A10B95CDD22A2FBE5C2BB1" KeyPath="yes" Source="$(var.MyInstallDir)\pdfplugins\AudioBookPlugin.dll" />
</Component>

1
version.txt.in Normal file
View File

@ -0,0 +1 @@
${PDF4QT_VERSION}