MSI 安装程序错误 2203;如何强制安装程序目录的权限?
[也在 SuperUser.com 上交叉发布,因为问题与权限有关。请随时让我知道它最适合的位置。]
大家好,
我将尝试要点以使其简短:
背景/问题
- 尝试在我的 Windows 7 计算机上安装 ASP.NET MVC 3 RC。
- 卸载了其他版本的 MVC(2 和 3 Beta 1)。
- 运行安装程序 - 出现一般错误 2203。
- 日志文件表明这是 C:\Windows\Installer 上的权限错误。
- 检查了 C:\Windows\Installer——果然,它被标记为只读。
- 我在文件夹属性中取消选中“只读”并应用。它似乎打开了对话框并应用于所有文件。
- 但是,当再次单击“属性”时,只读框将恢复为选中状态。
- 检查了文件夹的安全选项卡——系统组和管理员组都具有完全访问权限。
- 我检查了所有权——管理员组被列为所有者。
- 已验证我在系统中的身份是管理员(事实上,这是管理员组中除管理员之外的唯一帐户)。
那么,什么给出呢?预先感谢您提供的任何帮助!
[Cross-Posted on SuperUser.com as well because the question relates to permissions. Feel free to let me know where it best belongs.]
Hi all,
I'll try to bullet-point to keep it short:
Background / Issue
- Trying to install ASP.NET MVC 3 RC on my Windows 7 machine.
- Uninstalled other versions of MVC (2 and 3 Beta 1).
- Ran the installer -- got a generic error, 2203.
- Log files said that it was a permissions error on C:\Windows\Installer.
- Checked C:\Windows\Installer -- sure enough, it's marked as read-only.
- I un-checked "Read-Only" in the folder properties and applied. It appears to open the dialog and apply to all files.
- However, when clicking properties again, the read-only box is backed to checked.
- Checked the security tab of the folder -- both system and the Administrators group have full access.
- I checked ownership -- the Administrators group is listed as an owner.
- Verified that I'm in the system as an Administrator (in fact, the only account in the Administrators group besides Administrator).
So, what gives? Thanks in advance for any help you can provide!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试使用 attrib 命令。对于从 XP 升级到 Win7 的人来说,这似乎是一个常见问题:http://social.answers.microsoft.com/Forums/en-US/w7security/thread/be05c603-8a55-4fe6-9335-6fa125d47381/
Try using the attrib command. Seems to be a common problem for people that upgrade from XP to Win7 according to this: http://social.answers.microsoft.com/Forums/en-US/w7security/thread/be05c603-8a55-4fe6-9335-6fa125d47381/
通过两次获取相关目录的所有权并两次更改属性来解决问题。不确定这是否是正确的过程,但它已经安装了,所以我现在必须将其作为答案。
感谢所有提供帮助的人!
Issue was solved by taking ownership of directories in question twice, and changing the attributes twice. Not sure that this is the correct procedure, but it installed, so I'll have to go with this being the answer for now.
Thanks to all who helped!