Inno Setup安装程序为什么无法正确处理网络驱动器?

huangapple go评论64阅读模式
英文:

Why Inno Setup installer doesn't handle correctly network drive?

问题

当我在Windows 10中使用Inno Setup安装程序时,我无法从网络驱动器中选择文件。例如,在以下图片中,我无法访问S:驱动器并浏览其内容:

Inno Setup安装程序为什么无法正确处理网络驱动器?

非常感谢您的帮助。

英文:

When I use an Inno Setup installer in Windows 10, I can't select files from a network drive. For example, in the following picture, I can't access the S: drive and browse its content:

Inno Setup安装程序为什么无法正确处理网络驱动器?

Thank you very much for your help.

答案1

得分: 0

确实,这个问题似乎与用户账户控制(User Account Control,UAC)有关,正如这篇帖子中所解释的:https://stackoverflow.com/questions/33238581/windows-10-and-network-drive/33241079#33241079
感谢@StayOnTarget提供的答案。

英文:

Indeed, this problem seems related to the User Account Control (UAC) as explained in this post : https://stackoverflow.com/questions/33238581/windows-10-and-network-drive/33241079#33241079.
Thanks to @StayOnTarget for the answer.

答案2

得分: 0

Inno Setup FAQ 包括主题
Mapped drives aren't showing up on the Select Destination Location wizard page, or cannot be browsed into:

> 您的安装需要管理员权限并正在以提升的方式运行:
>
> 默认情况下,映射驱动器对任何已提升的应用程序都不可用。这是在 Windows Vista 中引入的。
>
> 有一个 选项 可以使它们对同一用户提升可用,但当从 LUA 中运行且用户更改时,这并不能解决问题。

另请参阅 https://stackoverflow.com/q/33238581/850848

英文:

Inno Setup FAQ includes topic
Mapped drives aren't showing up on the Select Destination Location wizard page, or cannot be browsed into:

> Your installation requires administrative privileges and is running elevated:
>
> Mapped drives are not available (by default) to any elevated application. This was introduced in Windows Vista.
>
> There is an option to make them available for same user elevation, but this won't help the situation when run from a LUA where the user changes.

Also, see https://stackoverflow.com/q/33238581/850848

huangapple
  • 本文由 发表于 2023年2月6日 18:33:05
  • 转载请务必保留本文链接:https://go.coder-hub.com/75360128.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定