Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Cant sign dlls exes inside my MSIX when creating a published package to microsfot store #595

Closed
jmecosta opened this issue Aug 16, 2023 · 3 comments
Labels
Needs-Triage Issue needs to be triaged by a member of the core team

Comments

@jmecosta
Copy link

Hi,

I dont want to unpack the package, repack everything after signing. it doesnt feel natural.... Whats the proper way to sign DLLs and Exes inside my msix package...

Is there a easy way to do it while building the package?

thanks
Jorge Costa

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue needs to be triaged by a member of the core team label Aug 16, 2023
@florelis
Copy link
Member

I don't think you can sign the DLLs and EXEs at the same time you sign the whole package. You have to sign the files before you create the package with makeappx (which you may not be calling directly).

There may be ways to avoid having to unpack and repack depending on how you are building the package. For example, if you are using MSBuild (projects defined in .vcxproj or .csproj), you can add a post-build "target" to your project to sign the files after compiling them, but before it gets to the target that creates the package.

@DrusTheAxe
Copy link
Member

+1

@jmecosta
Copy link
Author

@florelis that can work at the moment, because we still have a certificate around and we can use sign tool. But very soon those certificates will no longer be issued by authorities... and we need to send the files to some server to get signed... I dont think its a good idea to hold the build process to send tons of dlls over network to be signed. Generally it would be better if this would be provided by Microsoft store. But maybe thats another side question.

Thanks for the tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage Issue needs to be triaged by a member of the core team
Projects
None yet
Development

No branches or pull requests

3 participants