How to sign maintenancetool.exe ? [Qt Installer Framework]
Unsolved
General and Desktop
-
See https://bugreports.qt.io/projects/QTIFW/issues/QTIFW-1482?filter=allissues it seems to contain an answer.
-
Probably I do not catch something, because it's not working.
What I do:
I have the offline installer, so:- copy with renaming QtIFW-4.1.0/bin/installerbase.exe to my
packages/com.project.root/data/maintenancetool.exe - sign the packages/com.project.root/data/maintenancetool.exe
- at to installer script:
packages/com.project.root/meta/installscript.qs
the following lines:
Component.prototype.onInstallationStarted = function() { if (component.updateRequested() || component.installationRequested()) { if (installer.value("os") == "win") { component.installerbaseBinaryPath = "@TargetDir@/maintenancetool.exe"; installer.setInstallerBaseBinary(component.installerbaseBinaryPath); } } }
- Create an installer with binarycreator.exe
Installed it for the test, and as a result, the maintencetool.exe is not signed and it's not the same file as installerbase.exe.
I.E. QTIFW rewrote this file with a self file version.
What I missed? - copy with renaming QtIFW-4.1.0/bin/installerbase.exe to my