我已经发布了ClickOnce签名的文档级VSTO应用程序。 我使用自己的不受信任的证书。 它的应用程序分布在大学生中间。
在某些计算机上,我们遇到了受信任位置的问题,因此无法在那里安装该应用。
我找到了通过最终用户PC上的Excel设置受信任位置(甚至使用子文件夹)的建议。 不幸的是,它没有帮助(即使PC重启)。 我已经找到了设置一些值注册表的建议,听起来有些讨厌(因为我习惯通过ClickOnce舒适和直接发布)。
我想避免准备Windows Installer或购买可信证书。
有帮助吗? 谢谢。
VSTO是一个非常强大的概念,但部署部分非常令人沮丧(与用户视图中的老式VBA相比)。
I have released signed document-level VSTO app by ClickOnce. I use my own untrusted certificate. It's app distributed among university students.
On some computers we encounter a problem with trusted location, so the app cannot be installed there.
I found advices to set trusted location (even with subfolders) via Excel on end-user PC. It unfortunately does not help (even with PC restart). I have found advices to set some values registries which sounds a bit nerdy (as I got used to comfortable and direct release via ClickOnce).
I would like to avoid preparing Windows Installer or buying trusted certificate.
Any help? Thank you.
VSTO is very powerful concept, but the deployment part is really frustrating (compare to old-school VBA from user view).
最满意答案
Windows在我的安装文件中添加了一个标志(一种“锁定”),因此无法安装它(通过单击一次)。 一旦我得到它是由这个标志引起的,我只是“解锁”文件,安装在各处顺利进行。
Windows adds a flag (kind of "lock") to my installation file, so it was not possible to install it (via click once). Once I got it is caused by this flag, I simply "unblock" the file and installation went smoothly everywhere.
更多推荐
发布评论