Install - inf-file

  • Thread starter Thread starter Sven Rutten
  • Start date Start date
S

Sven Rutten

Hi all!

I have a problem making a CAB of some files!
I can make a CAB, but I have problem with the "CESelfRegister" for
registring the dll itself....

My inf file is like this:

[Version]
Signature="$Windows NT$"
Provider="RuttenSoft"
CESignature="$Windows CE$"

[CEStrings]
AppName="eRuntimes"
InstallDir=%CE2%

[CEDevice]
VersionMin=4.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files.Common
CESelfRegister = MSCEComm.dll
CESelfRegister = MSCEComDlg.dll

[SourceDisksNames]
1=,"Common1",,"C:\Dokumente und Einstellungen\Sven Rutten\Eigene
Dateien\eVB_Runtimes_SP2003"

[SourceDisksFiles]
MSCEComm.dll=1
MSCEComDlg.dll=1

[DestinationDirs]
Files.Common=0,%InstallDir%

[Files.Common]
MSCEComm.dll,,,0
MSCEComDlg.dll,,,0

[Shortcuts]


This is working, I get a CAB-File, but when I install it, the dll are not
registered!
Allthough they should because I used the CESelfRegister as proposed on MSDN

Any suggestions?

Thanks
 
Hi,

I think the com dll files will not come under common files as they are
processor dependent. U will be having dll files for each processor you are
targetting. Maybe you will have to include these files in [sourcefiles.ARM],
[sourcefiles.X86] and whatever platforms u are targetting.

Actually what happens is that the cab wizard generates .cab files for each
processor you are targetting. So you have to provide the com dll files for
all the platforms you are targetting. Regarding you .net cf assemblies its
platform independent as it is executed by the CLR. But this is not the case
with win32 dlls and com dlls. because they are native code

Hope this helps..

Girish.
 
Hi

I have solved it - it was only this:

CESelfRegister=MSCEComm.dll and not
CESelfRegister = MSCEComm.dll

;-)



Girish NS said:
Hi,

I think the com dll files will not come under common files as they are
processor dependent. U will be having dll files for each processor you are
targetting. Maybe you will have to include these files in [sourcefiles.ARM],
[sourcefiles.X86] and whatever platforms u are targetting.

Actually what happens is that the cab wizard generates .cab files for each
processor you are targetting. So you have to provide the com dll files for
all the platforms you are targetting. Regarding you .net cf assemblies its
platform independent as it is executed by the CLR. But this is not the case
with win32 dlls and com dlls. because they are native code

Hope this helps..

Girish.

Sven Rutten said:
Hi all!

I have a problem making a CAB of some files!
I can make a CAB, but I have problem with the "CESelfRegister" for
registring the dll itself....

My inf file is like this:

[Version]
Signature="$Windows NT$"
Provider="RuttenSoft"
CESignature="$Windows CE$"

[CEStrings]
AppName="eRuntimes"
InstallDir=%CE2%

[CEDevice]
VersionMin=4.00
VersionMax=4.99

[DefaultInstall]
CopyFiles=Files.Common
CESelfRegister = MSCEComm.dll
CESelfRegister = MSCEComDlg.dll

[SourceDisksNames]
1=,"Common1",,"C:\Dokumente und Einstellungen\Sven Rutten\Eigene
Dateien\eVB_Runtimes_SP2003"

[SourceDisksFiles]
MSCEComm.dll=1
MSCEComDlg.dll=1

[DestinationDirs]
Files.Common=0,%InstallDir%

[Files.Common]
MSCEComm.dll,,,0
MSCEComDlg.dll,,,0

[Shortcuts]


This is working, I get a CAB-File, but when I install it, the dll are not
registered!
Allthough they should because I used the CESelfRegister as proposed on MSDN

Any suggestions?

Thanks
 
wince .inf file registration

I am facing a prob in registration of .inf file which is written for wince .net
It is registrying in win xp but how to regiter in hand held which is having wince .net os. is it necessary to make cab file for that



[Version]
Signature="$Windows NT$"
Provider="Prodigy"
CESignature="$Windows CE$"

[CEStrings]
AppName="APP"
InstallDir=%CE2%


[CEDevice]
VersionMin=4.00
VersionMax=4.99


[DefaultInstall]
CopyFiles=Files.Common
CESelfRegister=Dar.dll

[SourceDisksNames]
1=,"Common1",,"C:\Program Files\Microsoft eMbedded C++ 4.0\Common\EVC\MyProjects\Dar\ARMV4IDbg"

[SourceDisksFiles]
Dar.dll=1

[DestinationDirs]
Files.Common=0,%InstallDir%


[Files.Common]
Dar.dll,,,0
 
Back
Top