-
Content Count
1277 -
Joined
-
Last visited
-
Days Won
28
Everything posted by Sherlock
-
So, I've been kept from doing things by this little, trivial problem. I've been trying to sign an msix package for days now, and am getting nowhere. I can sign Win32 and Win64 executables just fine, Delphi will create unsigned msix packages just as good. But I just can't for the life of me sign an msix. I always get the same error message, it does not matter, if this package contains my application or just a simple dummy, or if it is win32 or win64: "C:\Program Files (x86)\Windows Kits\10\bin\10.0.26100.0\x64\signtool.exe" sign /v /a /fd SHA256 C:\Win\SignTest\Win64\Release\SignTest\bin\SignTest.msix The following certificate was selected: Issued to: My Company Issued by: Certum Extended Validation Code Signing 2021 CA Expires: Sat Jan 08 12:11:18 2028 SHA1 hash: E7C16794EA23F573DE3EA32B5B564717CE84CC75 Done Adding Additional Store SignTool Error: This file format cannot be signed because it is not recognized. SignTool Error: An error occurred while attempting to sign: C:\Win\SignTest\Win64\Release\SignTest\bin\SignTest.msix Number of files successfully Signed: 0 Number of warnings: 0 Number of errors: 1 I even built the msix externally with the makeappx tool from the SDK, that works just fine (as it should, Delphi uses it as well), but in the end...same error as above as soon as I want to sign the package. The AppManifest.xml is in good shape, syntactically and content-wise. The only assets are two png Icons that can be read just fine. The executable itself can be signed with no trouble at all. What am I missing?
-
OK, so good news: I finally got it. Thanks to "msix hero" an OS tool specifically made for everything msix. https://github.com/marcinotorowski/MSIX-Hero. It just signed my little test project right away. Now I can go on working. Thanks everyone for your contributions and support.
-
That site has been up for a week. You can work fast with Delphi, but you can't work magic.
-
How does this construct work on Windows? As expected?
-
Oh, that sounds great. For a test run, I downloaded the installer and am quite overwhelmed by the further needs (service user, SSL-certificate, Server) to run the "server". For a small test if my msix could be signed by this, it seems quite the overkill. 😞
-
I have, and that uses an older version of signtool: "C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe" sign /v /a /fd SHA256 C:\Win\SignTest\Win64\Release\SignTest\bin\SignTest.msix The following certificate was selected: Issued to: My Company Issued by: Certum Extended Validation Code Signing 2021 CA Expires: Sat Jan 08 12:11:18 2028 SHA1 hash: E7C16794EA23F573DE3EA32B5B564717CE84CC75 Done Adding Additional Store SignTool Error: An unexpected internal error has occurred. Error information: "Error: SignerSign() failed." (-2147024885/0x8007000b) File version is 10.0.19041.685. I'm using 10.0.26100.0 which at least gives a slightly better error message.
-
I actually don't want to upload to the store. I need this to be able to create a Kiosk application for Windows 10/11. At least that is how I understand what I have found on the net so far. msix is not a must, but recommended. Also signed msix is not a must, but from a customers POV nice to have. Thanks @Patrick PREMARTIN for the /tr hint. I just shortened the command for ease of use. I really hope once the easy signature works, adding the time server will not be an issue.
-
Suggestions for new vendor of a delphi app?
Sherlock replied to Paul Dardeau's topic in General Help
Well, I might be way out on a limb here, but how your product was developed is of no concern to your potential customers. So just look how others have started their software business. Here is a reddit thread(?) on that subject. -
There are always remote connection possibilities as a compromise. I firmly believe an unfixed product can cost more than a trip for two guys, that know their stuff, to find out what the hell is going on.
-
Not much since 2022. Sadly I just now got interested in the subject. So I'm putting my hopes on @Mark NZs efforts.
-
Check If File is what he claim to be
Sherlock replied to mazluta's topic in RTL and Delphi Object Pascal
In all my years I saw this happen countless times and never had a name for it. Thank you. -
Programming with AI Assistance: A personal reflection.
Sherlock replied to Juan C.Cilleruelo's topic in Tips / Blogs / Tutorials / Videos
Thanks for the quick glance at the subject. I feel it to be important to know which AIs you have tried out though. Especially for the more specific tasks like bug hunting or performance tweaks. A comparison would have been cool, for any of those tasks which AIs shine and which don't. -
What does opinionated mean in this context?
-
The GExperts formatter or the built-in one? For the latter see here: https://docwiki.embarcadero.com/RADStudio/Sydney/en/Formatter.EXE,_the_Command_Line_Formatter For the former, it should be as easy as calling GExpertsFormatter.exe <YOURFILE_HERE>
-
How do I close a modal form without ModalResult being set to mrCancel ?
Sherlock replied to dormky's topic in VCL
Yeah, I feel the question has been answered. Everybody should now move on...nothing to see here. -
How do I close a modal form without ModalResult being set to mrCancel ?
Sherlock replied to dormky's topic in VCL
Luckily Delphi isn't the only IDE out there. Freedom of choice is a thing. -
I thought they had gone under, due to gross incompetence. But as one can see, that is no reason to die as a business anymore...quite the opposite even.
-
This is a crosspost from the german DP. Short question: How can I create an APPX using Delphi, when I have no means of accessing the PFX from the Certum Token? The Delphi options for distribution type "ad hoc" require a pfx file. What to do?
-
Making both vertical axis visible at all times in TeeChart
Sherlock replied to dummzeuch's topic in VCL
Visible but without data, best describes what I meant. I currently don't use TChart but had to, several years ago. I remember the necessity for trickery like that to reach the expected outcome. But my brain is not good at storing code...sorry. -
Making both vertical axis visible at all times in TeeChart
Sherlock replied to dummzeuch's topic in VCL
Perhaps draw invisible point belonging to the axis? -
New Code Signing Certificate Recommendations
Sherlock replied to James Steel's topic in General Help
That would have been nice to know...but alas, just finished the verification process. Note to self: always read a thread to the end, before responding. -
Cosmetics aside, you should not store values in (visual) components. Store values in variables, class members or a database... not in a visual component. That is not its purpose. Try to avoid misuse of objects. For very small projects this might be OK. But overall and in real life this is not a way to go.
-
What does "work" mean in this case? No Compiler error?
-
Same here
-
Funny, I got "Don't bother installing Parnassus" on mine.