Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INF issues

Status
Not open for further replies.

ladybast

Programmer
Jun 29, 2004
2
ZA
This should be really simple, but it's just not working.
I'm trying to deploy a component via a dll within a cab file. My dll depends on 3 other dll's. They don't need to be registered, mine does. They need to go into the system folder. This is the INF I have at the moment:

;INF file for UtilScript.dll
[version]
Signature="$CHICAGO$"
DriverVer=28/06/2004

[Add.Code]
UtilScript.dll=UtilScript.dll
advapi32.dll=advapi32.dll
msvcp71d.dll=msvcp71d.dll
msvcr71d.dll=msvcr71d.dll

[UtilScript.dll]
file=thiscab
clsid={E3B9A441-2C7D-4F54-84B4-9BE773EBD2CE}
FileVersion=1,0,0,1
RegisterServer=yes

[advap132.dll]
file=thiscab
FileVersion=
DestDir=11

[msvcp71d.dll]
file=thiscab
FileVersion=
DestDir=11

[msvcr71d.dll]
file=thiscab
FileVersion=
DestDir=11

It's not copying the 3 dependant dll's to the system dir. Anybody spot any problems? This is driving me nuts. I'm building the cab with:
cabarc n telematic.cab msvcp71d.dll msvcr71d.dll advapi32.dll UtilScript.dll Util.inf
Something wrong with how I'm ordering things?
Any help much appreciated.
 
Yes. I thought that setting the file versions may be the problem, so I removed them. It shouldn't be an issue anyway, since I'm deliberately removing those dll's prior to testing to check that they get copied. Ie version wont make a difference
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top