获取错误“访问被拒绝”在构建WIX解决方案文件时 [英] Getting an error "access is denied" while building the WIX solution file

查看:97
本文介绍了获取错误“访问被拒绝”在构建WIX解决方案文件时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在构建WIX解决方案文件时收到错误访问被拒绝。





错误:访问被拒绝。 (来自HRESULT的异常:0x80070005(E_ACCESSDENIED))

抛出错误的文件名:light.exe



如何解决此问题?< br $> b $ b

我的尝试:



谷歌搜索。但没有运气。我不知道如何解决,因为我是WIX安装程序的新手

Hi All,

I am getting an error "Access is denied" while building the WIX solution file.


Error:Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
File name where error is thrown: light.exe

how to fix this?

What I have tried:

Googled. but no luck. I do not know how to fix as I am new to the WIX installer

推荐答案

你好

我目前遇到同样的问题。

作为一个解决方案,我发现如果你将你的Wix资源放在小熊中,那么构建不会失败,这可以通过添加< MediaTemplate />来完成。你的product.wxs。

我认为当你有这么多文件需要复制时,light.exe会以一种奇怪的方式运行并且卡住访问正在使用的文件。

如果您找到任何其他解决方案,请告诉我们!
Hello
I am currently having the same issue.
As a solution I found that if you put your Wix resources in cubs, the build wont fail, this can be done by adding <MediaTemplate /> to your product.wxs.
I think when you have so many files to copy, light.exe behaves in a strange way and get stuck accessing files that are in use.
Please let me know if you found any other solution !


这篇关于获取错误“访问被拒绝”在构建WIX解决方案文件时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆