小编ant*_*tar的帖子

运行Installutil以在共享文件夹上安装Windows服务

-你好,

我试图从共享文件夹安装Windows服务,如下所示:

installutil "\\\10.1.5.120\Path1\Path2\MyService.exe"
Run Code Online (Sandbox Code Playgroud)

有这个错误:

Exception occurred while initializing the installation:
System.IO.FileLoadException: Could not load file or assembly 'file://\\10.1.5.120\Path1\Path2\MyService.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).
Run Code Online (Sandbox Code Playgroud)

在installutil日志文件中没有日志,当我尝试从本地路径安装服务时,它会成功安装.

所以我想知道是否可以从共享路径在PC上安装Windows服务?

谢谢你的帮助.

windows-services installutil

2
推荐指数
1
解决办法
8204
查看次数

标签 统计

installutil ×1

windows-services ×1