在 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;
所以我尝试确保该文件夹存在。这没有帮助。
关于如何解决这个问题有什么想法建议吗?
浏览看起来像这样:
并且错误消息仍然存在。
最佳答案
尝试在 .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/