如何让发布者名称显示在 ClickOnce 安装程序对话框中
How do get the publisher name to display in the ClickOnce installer dialog box
在 Visual Studio 2015 年,如何让 ClickOnce 安装程序对话框显示如图所示的发布者名称?
我尝试将名称输入 Project Properties -> Publish -> Options -> Description -> Publisher Name
,但安装后只会将名称添加到“开始”菜单上的文件夹。
Project Properties -> Application -> Assembly Information
下的公司字段也不起作用。
MSIX: Maybe consider having a quick read about MSIX - a new universal package format designed for Windows 10 apps.
ClickOnce: 虽然我不使用 ClickOnce, I believe the problem you see is due to a missing certificate. You need an Authenticode code signing certificate to sign your setup: ClickOnce and Authenticode.
Extract:在上面链接的文档中,它说:
"您可以通过以下三种方式之一获取代码签名证书:
- 从证书供应商处购买一个。
- 从您组织中负责创建数字证书的小组那里获得一份。
- 使用 New-SelfSignedCertificate PowerShell cmdlet 或使用 MakeCert.exe 生成您自己的证书,后者包含在 Windows 软件开发工具包 (SDK) 中.
您需要使用 option 1
进行 一般部署 。 Option 2
用于公司使用,而option 3
基本上用于测试.
Summary: With option 1 you should get the right Publisher
name displayed. So obtain a proper code signing certificate from an issuing authority to correct the problem you see. Obviously first check if your company already has such a certificate (very frequently they do these days).
SmartScreen: Here is an answer on SmartScreen and digital certificates using MSI. Please skim: How to add publisher in Installshield 2018
链接:
在 Visual Studio 2015 年,如何让 ClickOnce 安装程序对话框显示如图所示的发布者名称?
我尝试将名称输入 Project Properties -> Publish -> Options -> Description -> Publisher Name
,但安装后只会将名称添加到“开始”菜单上的文件夹。
Project Properties -> Application -> Assembly Information
下的公司字段也不起作用。
MSIX: Maybe consider having a quick read about MSIX - a new universal package format designed for Windows 10 apps.
ClickOnce: 虽然我不使用 ClickOnce, I believe the problem you see is due to a missing certificate. You need an Authenticode code signing certificate to sign your setup: ClickOnce and Authenticode.
Extract:在上面链接的文档中,它说:
"您可以通过以下三种方式之一获取代码签名证书:
- 从证书供应商处购买一个。
- 从您组织中负责创建数字证书的小组那里获得一份。
- 使用 New-SelfSignedCertificate PowerShell cmdlet 或使用 MakeCert.exe 生成您自己的证书,后者包含在 Windows 软件开发工具包 (SDK) 中.
您需要使用 option 1
进行 一般部署 。 Option 2
用于公司使用,而option 3
基本上用于测试.
Summary: With option 1 you should get the right
Publisher
name displayed. So obtain a proper code signing certificate from an issuing authority to correct the problem you see. Obviously first check if your company already has such a certificate (very frequently they do these days).SmartScreen: Here is an answer on SmartScreen and digital certificates using MSI. Please skim: How to add publisher in Installshield 2018
链接: