【问题标题】:UAC promts "Unknown Publisher" on uninstall onlyUAC 仅在卸载时提示“未知发布者”
【发布时间】:2012-11-24 07:51:27
【问题描述】:

我已使用有效证书签署了我的 MSI 安装程序。 当我安装此 MSI 时,UAC 会提示并正确显示发布者名称。 但是,当我卸载 MSI UAC 时提示“未知发布者”。

如果在C:\Windows\Installer 文件夹中检查缓存的安装程序并且它没有证书!

那么为什么它不保留缓存安装程序的证书呢?

【问题讨论】:

    标签: windows-installer uac uninstallation publisher


    【解决方案1】:

    如果您在 Windows Vista(或 Windows Server 2008)上运行,这是well-known behavior of Windows Installer archive

    Windows Installer 剥离嵌入式机柜以节省空间。不幸的是,以这种方式更改 .msi 也会使数字签名无效。

    您可以通过构建不带嵌入式 cab 的 .msi 来避免这种情况;也就是说,您安装的所有文件都在.msi 本身之外。但是,如果您在 Windows 7 或更高版本上看到这种情况,那将是意料之外的。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-12-01
    • 1970-01-01
    • 2023-04-09
    • 2020-04-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多