为所有用户部署ClickOnce VSTO文档级Excel应用程序。(Deployment of ClickOnce VSTO document

编程入门 行业动态 更新时间:2024-10-21 15:45:16
为所有用户部署ClickOnce VSTO文档级Excel应用程序。(Deployment of ClickOnce VSTO document-level Excel app for all users. Trusted location issue)

我已经发布了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.

enter image description here

更多推荐

本文发布于:2023-08-05 07:47:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1428924.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   文档   用户   ClickOnce   document

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!