wix - 使用 WiX 创建的 MSI 数字文件名

标签 wix windows-installer installation

当我运行 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

UAC

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/

相关文章:

wix - 如何让 Windows 安装程序 (WiX) 始终认为它正在运行升级或新安装?

windows-installer - 在 linux 中打开 MSI 文件的方法有哪些?

powershell - 如何在powershell中使用带有空格的$ScriptDir传递msi ArgumentList?

Android 使用 busybox 命令行安装 apk

java - 没有 java 就无法运行 izpack 安装程序

wix - 如何确定 Wix 中是否存在注册表项

wix - 通过网络从 Microsoft 下载软件包的 Bootstrap

wix - 安装后执行需要提升的自定义操作

.net - 如何将热量输出包含在 wix 文件中? (没有 Visual Studio 项目)

python - 如何在Python中编写设置路径的setup.py和其他安装文件?