windows-8 - innosetup : "the driver or unc share you selected does not exist or is not accessible. Please select another."

标签 windows-8 inno-setup

在 Windows 8 上运行 inno setup 安装,选择网络驱动器(映射驱动程序),将导致错误消息:

"the driver or unc share you selected does not exist or is not accessible. Please select another."

谷歌搜索导致here ,建议更改

'默认目录名称'

成为

DefaultDirName={sd}\folder

产量没有变化。

打开inno setup got from git hub显示消息保存在参数名称“msgInvalidDrive”上,查找使用它的代码位于第 2574 至 2579 行

  { Check if it's a valid drive, reconnecting it first if necessary }
  RootPath := RemoveBackslashUnlessRoot(AddBackslash(PathExtractDrive(T)));
  ReconnectPath(RootPath);
  if not DirExists(RootPath) then begin
    LoggedMsgBox(SetupMessages[msgInvalidDrive], '', mbError, MB_OK, True, IDOK);
    Exit;
  end;

所以我尝试确保该文件夹存在。这没有帮助。

关于如何解决这个问题有什么想法建议吗?

浏览看起来像这样:

inno setup browse

并且错误消息仍然存在。

最佳答案

尝试在 .iss 脚本的 [setup] 部分中使用 PrivilegesRequired=lowest,如果您没有使用任何管理员所需的功能,则应该显示该字样。

关于windows-8 - innosetup : "the driver or unc share you selected does not exist or is not accessible. Please select another.",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18466156/

相关文章:

c# - 安装 Win 8 Pro 和 IIS 8 后 - 缺少 StaticFileModule

windows-8 - Win8 : Registration of the app in the layout folder . .. 失败

javascript - 如何在 Metrostyle Javascript 中使用索引数据库

c# - 将自定义类放入 C# 中的 ApplicationDataContainer (WinRT)

download - Inno Setup 出错时如何继续下载?

inno-setup - 在安装过程中下载最新文件 Inno Setup

css - Windows 8 输入[类型 ="range"] 在触摸设备上不好

inno-setup - 尽管已安装,但 Windows 10 上的 URL 开始菜单条目丢失

sql-server-ce - sql Compact 3.5 sp2 下载并静默安装

position - wpLicese 页面检查 ScrollBars 位置是否最大(Inno Setup)