使用 WiX 创建的 MSI 的数字文件名 [英] Numeric file name for MSI created with WiX

查看:14
本文介绍了使用 WiX 创建的 MSI 的数字文件名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行我的 WiX 安装程序时,它会触发要求确认运行 MSI 的用户访问控制,MSI 文件名显示为7-digit number.msi"(例如3858264.msi").

有没有办法将该名称更改为其他名称?

解决方案

数字文件名:我看到签名包显示您报告的行为:看到数字文件名.请试试这个:

基本上:signtool.exe/d "Your Software Name"

请尝试该命令并报告结果?(我们需要解决这个 - 行业问题).另一个示例.

<小时>

我认为你确实签署了你的 MSI,但这是我最初写的:

数字签名:这是一个已知问题,您需要使用验证码证书对 MSI 进行签名才能显示制造商名称而不是文件名:Installshield自定义对话安装程序

UAC 提示:如果您对 .msi 包进行 Authenticode 签名,Windows 会将其显示为名称.否则,您将获得 MSI 的临时副本它,它有一个随机的名字."

When I run my WiX installer it triggers User Access Control which asks for confirmation to run the MSI, the MSI file name is displayed as "7-digit number.msi" (e.g. "3858264.msi").

Is there a way to change that name to something else?

解决方案

Digit File Name: I have seen signed packages display the behavior you report: seeing a digit-file name. Please try this: Odd 'Program name' when installing signed msi installer

Essentially: signtool.exe /d "Your Software Name"

Please try that command and report the results? (we need this resolved - industry problem). One more sample.


I think you actually do sign your MSI, but here is what I originally wrote:

Digital Signature: It is a known issue that you need to sign your MSI with an authenticode certificate to have the Manufacturer name show up instead of file names: Installshield Custom Dialogue Installer

UAC Prompt: "If you Authenticode-sign your .msi package, Windows will show that as the name. Otherwise, you get MSI's temporary copy of it, which has a random name."

这篇关于使用 WiX 创建的 MSI 的数字文件名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆