将.EXE文件包装到MSIX并签名

发布于 2025-01-26 19:02:37 字数 389 浏览 5 评论 0原文

我已经开发了一个应用程序,并想发布到Microsoft Store。我尝试使用高级安装程序,但是除非我支付500美元,否则我无法发布它,我认为使用试用版?我还尝试使用MSIX软件包(Windows),但随后我需要数字签名,然后我无法添加徽标等。我也不知道如何获得证书并将其转换为.pfx格式,以便为此工作。

老实说,这个过程使我想停下来,这是不幸的。因此,我试图找到可以将.EXE应用程序打包给MSIX,签名和所有内容的服务或某人,以便我可以将其上传到我的帐户上的商店。.但是我在Google上找不到任何东西。

有人知道服务,甚至更好的应用程序提供了更好的指南用于MSIX包装和签名吗?高级安装程序非常广泛,但他们的指南基于MSI,而不是MSIX。当他们甚至不使用Microsoft商店所需格式的情况下,他们甚至不付出500美元的费用。

I have developed an application and want to publish to the microsoft store. I have tried using advanced installer but unless I pay $500 I cannot publish it i think using the trial version? I have also tried using MSIX Package (Windows) but then I need to digitally sign it, and then I can't add logos and etc. I also do not know how to get a certificate and convert it to .pfx format for this to work.

Honestly, this process has just made me want to stop, which is unfortunate. So I am trying to find a service or someone that I can pay to package my .exe app to an MSIX, signed and everything so that I can just upload it to the store on my account..but I cannot find anything on google.

Does anyone know of a service, or even a better application that has better guides for MSIX packaging and signing? Advanced Installer is pretty extensive, but their guides are based on MSI, not MSIX. Not worth paying $500 for when they are not even current with Microsoft Stores required format.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

故事灯 2025-02-02 19:02:37

仅供参考 - 在这里获得有用的答案,如果您提出特定的问题,它会有所帮助。例如,将您的问题分为多个问题,例如:

  1. 我是否需要在MS商店签署一个应用程序?
  2. 如何添加徽标...?

回到你的问题。我在高级安装程序上工作,我将尝试给您一些建议,以帮助您清除您的一部分问题。

  1. 首先,要在Microsoft商店中发布应用程序,您不需要证书。如我们的指南在您的商店开发人员帐户中,您会发现分配给您的应用程序的软件包身份,这是一个示例:

    “在此处输入图像描述”

    cn = ... 开头的价值必须复制并粘贴到您的高级安装程序项目中, package Information page ,在ID字段下。确保项目中的数字签名已禁用。 (仅当您在MS商店外部署时才需要数字签名)

    此身份将使MS团队能够证明您为应用程序的所有者。 Microsoft批准您的应用程序提交后,您上传的MSIX软件包将通过Microsoft Digital证书签名。商店中上传的所有MSIX软件包均由Microsoft签名。

  2. 我不知道您的应用程序有多复杂,但是大多数应用程序都可以用”免费高级安装程序Express Edition 。你尝试过吗?商业版包括其他功能,但您可能不需要它们。

FYI - to get a useful answer around here it helps if you place specific questions. As an example, split your question into multiple ones, like:

  1. Do I need to digitally sign an application for the MS Store?
  2. How do I add logos...?

Back to your problem. I work on the Advanced Installer, and I will try to give you some advice to help clear a part of your problems.

  1. First of all, to publish an application in the Microsoft Store you don't need a certificate. As explained in our guide, in your Store developer account you will find a package identity assigned to your application, here is an example:

    enter image description here

    The value that starts with CN=... must be copied and pasted into your Advanced Installer project, on the Package Information page, under the ID field. Make sure Digital Signing is disabled in your project. (You need to digitally sign the MSIX only when you deploy it outside the MS Store)

    This identity will allow the MS team to certify you as the owner of the application. Once Microsoft approves your application submission, the MSIX package you upload will be signed with a Microsoft digital certificate. All MSIX packages uploaded in the store are signed by Microsoft.

  2. I don't know how complex your application is, but most apps can be packaged with the free Advanced Installer Express edition. Have you tried that? The commercial editions include additional features, but you might not need them.

哀由 2025-02-02 19:02:37

msix英雄非常好,是开源的。 应用程序只是包含一个或多个EXE的文件的目录

假设您的 src =“ https://i.sstatic.net/rvx6i.png” alt =“'pack目录到msix of msix hero in msix hero in pack目录”>

然后选择包含您的应用程序文件和exes的文件夹您想在“开始”菜单中创建快捷方式。它将从Exes的元数据中拉出很多包装元数据。

如果您要发布到Windows Store,则无需签署软件包。

如果您确实想签名以在商店外部分发,那么它的选项也很容易使用。唯一的问题是您需要一份代码签名证书,每年约300美元。

MSIX Hero is pretty great and is open source. Assuming your application is just a directory of files containing one or more EXEs just click "pack directory to MSIX"

Image of "pack directory to MSIX" button in MSIX Hero

Then select the folder containing your application files and the EXEs you want to create shortcuts for in the start menu. It will pull a lot of the package metadata from the metadata in the EXEs.

Pack MSIX dialogue

If you are publishing to the Windows store you don't need to sign the package.

If you do want to sign it for distribution outside the store the options for that are pretty easy to use as well. The only issue is you will need a code signing certificate, which is ~$300 a year.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文