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

Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by HimaNshu

HimaNshu
Wed Aug 23 04:35:58 CDT 2006

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


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by Puneet

Puneet
Wed Aug 23 08:05:22 CDT 2006

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


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by HimaNshu

HimaNshu
Wed Aug 23 22:48:29 CDT 2006

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


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by Puneet

Puneet
Thu Aug 24 03:51:22 CDT 2006

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


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by HimaNshu

HimaNshu
Thu Aug 24 04:15:40 CDT 2006

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


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by HimaNshu

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


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by Puneet

Puneet
Sat Aug 26 08:00:19 CDT 2006

Please suggest how can i use the wceload.exe tool. When i do
double click on this tool in CEPC it says "Please specify a cab file or

double-tap file to install the application". I think cab file is
somehow linked
with this tool, so wceload.exe does defult installation

I think this tool can be used if we have command prompt shell.
When I tried to create the run time image that has feature of "Shell"
then I was not successful. I am getting the following error message:

(Snip)
LINK : fatal error LNK1201: error writing to program database
'J:\WINCE500\platform\CEPC\target\x86\debug\kernkitl.pdb'; check for
insufficient disk space, invalid path, or insufficient privilege
(Snip end)

I have checked that disk space is sufficient but I don't have idea
regarding
"insufficient privilege". I have tried to create run time image 3/4
times with
"shell" feature enabled and I am getting this error message every time

Please suggest whether it is used from command prompt or is there some
other procedure?


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by Steve

Steve
Sat Aug 26 09:52:08 CDT 2006

wceload requires a GUI, there is a command line version for headless devices
called wceldcmd. Creating the CAB file is covered in the help files for
Windows CE.

> LINK : fatal error LNK1201: error writing to program database
>'J:\WINCE500\platform\CEPC\target\x86\debug\kernkitl.pdb'; check for
>insufficient disk space, invalid path, or insufficient privilege
This typically indicates that the debugger is still running and has a lock
on the file. Stop debugging in the IDE and try to build again.
--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by Puneet

Puneet
Wed Sep 20 04:00:11 CDT 2006

Thank you Mr. Steve for your kind suggestions.
Now i have a query:
I have created cab file for installing my wince driver on CE device.
I have also created ver info using .rc file in win driver dll file.

Now, Suppose i have two versions of my driver i.e. 1.0, 2.0
If my driver with newer version (2.0) is already been installed on CE
device and now if i am trying to install the older version (1.0) then
how shall CAB installer identify that some newer version is already
been installed and should
notify the user that he should not install the older version on CE
device.

If driver with older version (1.0) is already been installed on CE
device and now if i am trying to
install the newer version (2.0) then how shall CAB installer notify the

user that version 1.0 is already been installed and new version (2.0)
can be installed now.

Please suggest whether this is feasible or not?

I think we can't define file version in .inf file
Steve Maillet (eMVP) wrote:

> wceload requires a GUI, there is a command line version for headless devices
> called wceldcmd. Creating the CAB file is covered in the help files for
> Windows CE.
>
> > LINK : fatal error LNK1201: error writing to program database
> >'J:\WINCE500\platform\CEPC\target\x86\debug\kernkitl.pdb'; check for
> >insufficient disk space, invalid path, or insufficient privilege
> This typically indicates that the debugger is still running and has a lock
> on the file. Stop debugging in the IDE and try to build again.
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com


Re: Help needed in creating installation utility for Installing the WinCE 5.0 driver on CEPC using .cab files for some device by jfiguero

jfiguero
Thu Sep 28 16:01:04 CDT 2006

You could create a device-side win32 application that invoked wceldcmd. In
this scenario the win32 app could use the FindResource API
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceshellui
5/html/wce50lrffindresource.asp) to determine the version of the DLL on the
device and display information to the user via some UI.