高级安装程序 updater.exe 部署文件从哪里获取?
我无法弄清楚如何对高级安装程序 (AI) updater.exe
文件进行数字签名。
我有一个 Azure 管道,用于对运行 dotnetpublish
产生的所有 dll 和 exe 文件进行签名。 问题是,由于 AI 的 updater.exe 不是代码库的一部分,而是外部 AI 文件,因此它显然不会显示在 dotnetpublish
结果中。
安装使用高级安装程序创建的 MSI 包后 - updater.exe 文件在哪里 - 我们看到与
dotnetpublish
生成的所有 dll 和 exe 并排存在 - AI 将其带到哪里从将其部署到安装文件夹中?我需要知道这一点,因为我的产品是使用 azure signtool 进行数字签名的 - 通过发出命令在生成的每个文件
dotnetpublish
上(最终部署 进入 MSI 的客户端安装文件夹)。但由于我不知道 updater.exe 是从哪里获取的,所以我无法使用与所有其他文件相同的过程对其进行签名。我对 AI 不太熟悉,我相信它必须提供自己的定制机制来做到这一点,但对我来说,简单地知道安装文件夹中部署的 updater.exe 的来源就足够了 - 我会使用azure signtool
也可以对其进行签名 - 我将确保所有文件都以相同的方式、相同的证书版本等进行签名。
可以安全地假设其位置由以下屏幕定义(资源->文件和文件夹-> 右键单击 updater.exe -> 属性
),并在 MSI 解压时将其复制到安装文件夹中?
I am having trouble figuring out how to digitally sign Advanced Installer's (AI) updater.exe
file.
I have an Azure pipeline that signs all dlls and exe files that result from running dotnet publish
.
Problem is, since AI's updater.exe is not part the code base, rather an external AI file, it obviously does not show in dotnet publish
results.
After installing an MSI package created with Advanced Installer - where does the updater.exe file - we see residing side by side with all the dlls and exes generated by
dotnet publish
- where does AI take it from to deploy it in the installation folder ?I need to know this because my product is digitally signed using azure signtool - by issuing the command on each and every file
dotnet publish
generated (which are ultimately deployed
into the MSI's client installation folder). But since I do not know whereupdater.exe
is taken from I can't sign it using the same procedure as for all other files. I am not that familiar with AI, I believe it must provide its own customized mechanism for doing that, but feels to me that simply knowing where the updater.exe deployed in the installation folder is taken from would be enough - I would useazure signtool
to sign it just as well - and I will be sure all files are signed the same way, same certificate version, etc.
Is it safe to assume that its location is defined by the following screen (Resources -> Files And Folders -> right click on updater.exe -> Properties
) , and that it is copied at MSI unpack time into the installation folder?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
“updater.exe”是安装高级安装程序时附带的一个单独的工具,正如您所知,它用于部署产品的自动更新。
您可以在 Advanced Installer 安装文件夹中找到它,路径可能如下所示:
C:\Program Files (x86)\Caphyon\Advanced Installer 19.3\bin\x86\updater.exe
当然,“Advanced Installer 19.3”部分根据您的高级安装程序版本,路径可能会有所不同。
The "updater.exe" is a separate tool that comes when installing Advanced Installer and, as you already know, it is used to deploy automatic updates of your product.
You cand find it in the Advanced Installer installation folder and the path may look like this:
C:\Program Files (x86)\Caphyon\Advanced Installer 19.3\bin\x86\updater.exe
Of course, the "Advanced Installer 19.3" part of the path might be different depending of your Advanced Installer version.