Click here to Skip to main content
13,511,371 members
Rate this:
Please Sign up or sign in to vote.
See more:
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.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.
Posted 2-Jan-14 20:23pm
CHill60 3-Jan-14 16:11pm
Could the file be open in something else?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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

then the most likely reason is that you did not specify path to file which you want to add to cab file.

Have a look here: Cabarc Syntax[^]
sunil mali 11-Jan-14 7:02am
Thanks i got my answer my command was wrong
it looks like it should be extension .ini instead of .inf.
In blog its written as .inf.
Maciej Los 11-Jan-14 9:04am
Please, mark this answer as solution (green button) - formally.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.180417.1 | Last Updated 5 Jan 2014
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100