我已经成功构建了一个Installshield安装程序..它已启动并正在运行..但我距离完美还有一些定制。在安装过程中请求管理权限..寻求权限对话框显示奇怪的消息。这对任何人来说都是不愉快的。我附上下面的屏幕截图..
由于我是 Installshield Premier 版本的新手..任何人都可以帮我解决这个问题 - 如何更改指向的字符串 以及将发布者名称从未知更改为我的名字(如果可能)?
最佳答案
UAC 提示:“如果您对 .msi 软件包进行 Authenticode 签名,Windows 会将其显示为名称。否则,您将获得 MSI 的临时副本它有一个随机名称。”(from Bob Arnson's answer here(WiX 开发人员和简洁性大师
)。
因此,您需要获得数字代码签名证书(如果您没有),一旦签署 MSI 包,您就可以解决此问题。
从技术上讲,您在执行 signtool.exe
时使用 /d
命令行参数来签署 MSI 文件 ( source - Scott Langham)。我相信您指定了要使用此选项显示的名称。 Also see this answer .
代码签名证书和 SmartScreen:请参阅此答案,了解有关签名、Installshield 以及信任问题和 SmartScreen/Windows 的更多详细信息后卫(非常重要的问题):How to add publisher in Installshield 2018 。
Installshield 帮助文件的直接链接:Digital Signing and Security .
一些链接(添加作为社区引用 - 您不需要):
- The UAC prompt shows a temporary random Program Name for msi, can the correct name be displayed?
- WIX-Installer MSI Publisher Unknown
- Package signing , and digital certificate
- WIX-Installer MSI Publisher Unknown
- Odd 'Program name' when installing signed msi installer
- Why do I still see publisher unknown with the UAC prompt?
- How to pass the Windows Defender SmartScreen Protection?
- How to avoid the "Windows Defender SmartScreen prevented an unrecognized app from starting warning"
- WiX: Digitally Sign BootStrapper project
- signtool fail with Inno Setup with exit code 0x1
- InnoSetup - fails to use global sign EV code signing
- Is it possible to define a Windows Installer-uninstaller filename?
关于vb.net - Installshield自定义对话安装程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51204163/