Cab文件创建错误 [英] Cab file creation error

查看:282
本文介绍了Cab文件创建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想创建可以在ie中使用的cab文件。



到目前为止我做了什么。

1.从逐步在.NET中创建ActiveX [ ^ ]

2.然后在我的项目中添加安装程序类以创建setup.exe。

3.要创建setup.exe,我在创建设置的步骤中添加了dll。

除了原来的dll我还没有添加任何内容。

3.我下载了内阁sdk来自互联网和二手命令

cabarc.exe n OurActiveX.cab OurActiveX.inf setup.exe



它给我的错误

FCIAddfile()失败:代码1 [无法打开文件存储在机柜中。]



请帮我解决这个问题我很生气s。



先谢谢。

Hello all,

I want to create cab file which can be used in ie.

What i have done so far.
1. Created class library from Create ActiveX in .NET Step by Step[^]
2. Then added installer class in my project inorder to create setup.exe.
3. To create setup.exe i added dll during steps of creating setup.
Other than my original dll i have not added anything.
3. I downloaded cabinet sdk from internet and used command
cabarc.exe n OurActiveX.cab OurActiveX.inf setup.exe

Its giving me error
FCIAddfile() failed: code 1[Failure opening file to be stored in cabinet.]

Please help me resolve this i am pissed of with this.

Thanks in Advance.

推荐答案

如果你使用这样的命令:

If you use command like this:
cabarc.exe n OurActiveX.cab OurActiveX.inf setup.exe



那么最可能的原因是你没有指定要添加到cab文件的文件路径。



看看这里: Cabarc语法 [ ^ ]


这篇关于Cab文件创建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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