HimaNshu
Thu Aug 24 04:26:04 CDT 2006
sorry [SourceDisksNames] should be "Common1" insted of "ARMV4"
1=,"ARMV4",,"D:\PROJECT_WB\WirelessBarometer\WBEngine\Pocket PC 2003
(ARMV4)\Release\"
it should be
1=,"Common1",,"D:\PROJECT_WB\WirelessBarometer\WBEngine\Pocket PC 2003
(ARMV4)\Release\"
HimaNshu wrote:
> I think this may help you, your dirver file should be in windows
> forlder not in program files
>
> [Version]
> Signature="$Windows NT$"
> Provider="inCode Wireless"
> CESignature="$Windows CE$"
>
> [CEStrings]
> AppName="WirelessBarometer"
> InstallDir=%CE1%\%AppName%
>
> [Strings]
> UplaodURL="
http://in.icdwb.com/w/post3nb.cgi"
> ;"
http://in.icdwb.com/w/post3.cgi"
>
> [CEDevice]
> VersionMin=3.00
> VersionMax=4.99
> BuildMax=0xE0000000
>
> [DefaultInstall]
> CEShortcuts=Shortcuts
> CopyFiles=Files.Common
> AddReg = RegSettings
>
> [RegSettings]
> HKLM,Services\WBEngine,Dll, 0x00000000,WBEngine.dll
> HKLM,Services\WBEngine,Prefix, 0x00000000,WBE
> HKLM,Services\WBEngine,Order, 0x00010001, 8
> HKLM,Services\WBEngine,Keep, 0x00010001, 1
> HKLM,Services\WBEngine,Index, 0x00010001, 0
> HKLM,Services\WBEngine,Context, 0x00010001, 0
> HKLM,Services\WBEngine,DisplayName, 0x00000000,WBEngine
> HKLM,Services\WBEngine,Description, 0x00000000,Wireless Barometer
> engine
> HKLM,Wireless Barometer\Settings,URL, 0x00000000,%UplaodURL%
>
> [SourceDisksNames]
> 1=,"ARMV4",,"D:\PROJECT_WB\WirelessBarometer\WBEngine\Pocket PC 2003
> (ARMV4)\Release\"
>
> [SourceDisksFiles]
> WBEngine.dll=1
>
> [DestinationDirs]
> Files.Common=0,%CE2%
>
> [Files.Common]
> WBEngine.dll,,,1
>
> here I paste on sample of inf file for installing stream driver file
> just make changes according to your requirement.
>
> HimaNshu Gajjar
>
>
> Puneet wrote:
> > Thanx Mr. Himanshu for your suggestions
> > Your suggestion is working. If run time image has support for cab
> > installer then it extracts the files. I am able to install it from the
> > cab file.
> >
> > Now i have one more query. I am having the following section in .inf
> > file
> >
> > .....snip..............
> > [DefaultInstall]
> > CopyFiles = CopyToInstallDir
> >
> > [CopyToInstallDir]
> > "Driver dll file",acmmodem.dll,,0x00000001
> >
> > [DestinationDirs]
> > CopyToInstallDir=0,%CE1%\WinCEDriverDirectory
> > ....snip end..................
> >
> > When the cab file installs the driver that time instead of the driver
> > acmmodem.dll in Program files this file "Driver dll file" was created.
> > So in reality the driver .dll file was not placed in program files....I
> > think i have made some problem in
> > ...snip....
> > [CopyToInstallDir]
> > "Driver dll file",acmmodem.dll,,0x00000001
> > ...snip end........
> >
> > Please suggest
> >
> >
> >
> >
> > HimaNshu wrote:
> >
> > > Hi Puneet,
> > > yes you have to just run that cab file it shows cab file icon if it
> > > shows unknow file icon means you dont have include cab intaller in your
> > > OS image. when you double click it then cab file automatically make
> > > entries in registry and copy your file into \windows folder.
> > >
> > > Puneet wrote:
> > > > Thanx Mr. Himanshu for your suggestions
> > > > Actually I want to install my driver .dll for some device on CEPC and i
> > > > have created cab file for this.
> > > >
> > > > Now if i am copying that .cab file in CEPC so whether i shall do double
> > > > click on this cab file in CEPC or what other process i shall follow.
> > > > Please suggest...
> > > >
> > > > (Snip)
> > > > > run that cab file WinCE suports cab installation.
> > > > (Snip end)
> > > >
> > > > The above mentioned sentence is not clear to me. Please explain so that
> > > > i can understnd it.
> > > >
> > > >
> > > >
> > > > HimaNshu wrote:
> > > >
> > > > > I am confuse Puneet,
> > > > > let me clear you want to install driver dll on your WinCE deivce is it
> > > > > so?
> > > > > if yes then you can direct copy that cab file in your device and just
> > > > > run that cab file WinCE suports cab installation.
> > > > >
> > > > > HimaNshu
> > > > >
> > > > > Puneet wrote:
> > > > > > I am using WinCE 5.0 and I have one system CEPC that has pentium II. I
> > > > > > have created some modem device driver on windows ce 5.0. I want to
> > > > > > create some installation utility to install the wince driver on CEPC
> > > > > > using .cab files. I have created .cab file using .inf file and
> > > > > > CabWizard utility.
> > > > > >
> > > > > > Now I have Installed ActiveSync 4.2 in my system as i find that
> > > > > > CEAppMgr.exe" is a component of ActiveSync, specifically the agent
> > > > > > which handles the transfer of CAB files onto the device. It has created
> > > > > > the following registry entries in the host system.
> > > > > > HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App
> > > > > > Paths\CEAPPMGR.EXE.
> > > > > >
> > > > > > I have also created .ini file that describes which .cab files
> > > > > > correspond to which platform
> > > > > >
> > > > > > Now still i am not getting how to use CEAppMgr and my .cab files to
> > > > > > install
> > > > > > the driver on CEPC for some handset.
> > > > > >
> > > > > > I find one setup.exe file that facilitates in installing the driver and
> > > > > > uses the .ini file as a command line argument.
> > > > > > Reference:
http://www.pocketpcdn.com/articles/creatingsetup.html
> > > > > > When i execute this I am getting the message "Application Manage can
> > > > > > run only when a mobile device is connected"
> > > > > >
> > > > > > Although i have booted the CEPC using run time image created on my host
> > > > > > system and also attached the nokia handset to install the driver, then
> > > > > > why i am getting the dialogue "Application Manage can run only when a
> > > > > > mobile device is connected"
> > > > > >
> > > > > > Please suggest me.....
> > > > > > Thanx for your suggestions in advance