Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
End Users
Pocket PCActiveSyncMultimediaEBooksWirelessSmartPhones
Developers
Windows MobileSmartPhonesWinCE ProgrammingVB for WinCEVC++ for WinCEPlatform BuilderTest Tools
PocketPC DirectoryFree SoftwareWeb Resources
Related Topics
PalmMobile PhonesMore Topics ...

Pocket PC Forum / Developers / WinCE Programming / July 2008

Tip: Looking for answers? Try searching our database.

Cab File

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sshekharsingh - 29 Jul 2008 06:47 GMT
Hi,

I am using Windows Emb CE 6.0. I am creating a cab file, using the CAB
Wizard. But my cab file contains the file extensions as .001, .002,..

Here is the code in my TestINF.inf file:

-----

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

[CEStrings]
AppName ="MyApp"            
InstallDir =%CE1%\%AppName%      

[SourceDisksNames]                
1=,"Common1",,"D:\CreateCab\"

[SourceDisksFiles]                
"Hello.exe"=1
"TestFile.doc"=1
TestFile1.doc=1
my.bmp=1

[DefaultInstall]                  
CopyFiles = CopyToProgramFiles
AddReg = RegData
CEShortcuts = Shortcuts

[DestinationDirs]                 
CopyToProgramFiles =0, %InstallDir%
Shortcuts =0, %CE14%

[CopyToProgramFiles]              
"Hello.exe", Hello.exe
"TestFile.doc", TestFile.doc
"TestFile1.doc",TestFile1.doc
"my.bmp",my.bmp

[RegData]                        
HKCU,Software\%AppName%,MajorVersion,0x00010001,1
HKCU,Software\%AppName%,MinorVersion,0x00010001,0

[Shortcuts]                      
%AppName%,0,Hello.exe

-------
I am getting TestINF.cab, which includes the following files
1. _setup.xml
2. 0TestINF.000
3. 000Hello.001
4. TestFile.002
5. TestFI~1.003
6. 000000my.004

I am unable to figure out why my file extensions(which i specific in
[SourceDisksFiles])  are changed to .001, .002,                

Any pointer\reference would be of great help!

With Regards,
sshekharsingh
Luca Calligaris - 29 Jul 2008 07:59 GMT
The extension of the files in the .cab are not relevant: if you install the
CAB the files will be copied to the target destination with the correct
extension

Signature

Luca Calligaris
www.eurotech.it

> Hi,
>
[quoted text clipped - 61 lines]
> With Regards,
> sshekharsingh
sshekharsingh - 29 Jul 2008 08:17 GMT
Thanks for a prompt reply.

Can i test the cab file on Emulator or i need a target device for it.

With Regards,
sshekharsingh

> The extension of the files in the .cab are not relevant: if you install the
> CAB the files will be copied to the target destination with the correct
[quoted text clipped - 65 lines]
> > With Regards,
> > sshekharsingh
Luca Calligaris - 29 Jul 2008 09:37 GMT
Yes you can: share the folder that containd the .cab file with the emulator
(will appear as 'Storage Card') and double click it

Signature

Luca Calligaris
www.eurotech.it

> Thanks for a prompt reply.
>
[quoted text clipped - 73 lines]
>> > With Regards,
>> > sshekharsingh
sshekharsingh - 29 Jul 2008 10:01 GMT
I tried as suggested by you, but got an error
"There is no application associated with 'TestINF'. Run application first ..."

I think i need to add support corresponding to CAB file from the catalog

With Regards,
sshekharsingh

> Hi,
>
[quoted text clipped - 61 lines]
> With Regards,
> sshekharsingh
sshekharsingh - 29 Jul 2008 10:58 GMT
I added sysgen variable 'SYSGEN_WCELOAD' to my run-time image and tested the
cab file on Emulator.

With Regards,
sshekharsingh

> I tried as suggested by you, but got an error
> "There is no application associated with 'TestINF'. Run application first ..."
[quoted text clipped - 69 lines]
> > With Regards,
> > sshekharsingh
sshekharsingh - 29 Jul 2008 11:06 GMT
Thanks Luca Calligaris , for the prompt replies and the guidance.

With Regards,
sshekharsingh

> I tried as suggested by you, but got an error
> "There is no application associated with 'TestINF'. Run application first ..."
[quoted text clipped - 69 lines]
> > With Regards,
> > sshekharsingh
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.