这是一个Windows文件系统权限问题,看到中文社区完全没有任何有意义的文章,使用英文Query “Failed to enumerate objects in the container. Access is denied.” 得到有意义的答案[1]。
安装Python 2.7.4,提示There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor.
查系统Log得知是拿不到C:\Users\x\AppData\Local\Temp权限[2]。实际上是everyone用户拿不到temp权限。尝试改C:\Users\x\AppData\Local\Temp的everyone用户权限,提示 “无法枚举容器内对象,访问被拒绝。”
之所以这么麻烦,是由于msi不能像exe一样以管理员身份运行,所以得取得该权限。至于为何直接修改权限有问题,可能是我我用Windows 8系统前用Windows 7系统,同为NTFS分区,用户名不同,有遗留问题
[1]http://answers.microsoft.com/en-us/windows/forum/windows_8-security/permission-error-failed-to-enumerate-objects-in/93ea883f-853f-4981-a697-928bfbc71642?page=2
[2]http://superuser.com/questions/478631/dll-could-not-be-run-for-msi-installers
联系客服