当我运行 WiX 安装程序时,它会触发用户访问控制,要求确认运行 MSI,MSI 文件名显示为“7 位数字.msi”(例如“3858264.msi”)。
有没有办法将该名称更改为其他名称?
最佳答案
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.
我认为你确实签署了你的 MSI,但这是我最初写的:
数字签名 :这是一个已知问题,您需要使用验证码证书签署您的 MSI 才能显示制造商名称而不是文件名:Installshield Custom Dialogue Installer
UAC 提示 :“如果你对你的 .msi 包进行了 Authenticode 签名,Windows 将把它显示为名称。否则,你会得到 MSI 的临时副本,它有一个随机名称。”
关于wix - 使用 WiX 创建的 MSI 数字文件名,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58153598/