RE: WM5 - CAB file install fails on device
- From: "Shiv" <Shiv@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 12 Oct 2005 12:27:03 -0700
I think i found it!.
The culprit is COPYFLG_NOSKIP. Combining COPYFLG_NOSKIP and
CE_COPYFLG_NO_DATE_DIALOG is causing the problem.
Since CE_COPYFLG_NO_DATE_DIALOG is set the file is skipped since a newer
version exists on the device which is fine but the very fact that the file
was skipped is treated as an error since COPYFLG_NOSKIP is set and the
installation fails.
Maybe it is an illegal combination to begin with. Never had a problem until
now. Maybe MS fixed the cab installer in WM5.
-Shiva
"Shiv" wrote:
> Hi,
>
> I have a CAB file which has a few DLLs in them which are installed to the
> Windows folder on the device.
>
> Issue: The install on device fails when the device contains a newer version
> of the DLLs.
>
> The flags iam using in the CopyFiles section is 0xa0000002 which is a
> combination of CE_COPYFLG_SHARED | CE_COPYFLG_NO_DATE_DIALOG |
> COPYFLG_NOSKIP.
>
> It succeeds when i use 0x80000002 which is a combination of
> CE_COPYFLG_SHARED | COPYFLG_NOSKIP
>
> but as a result happily overwrites the newer version installed on the device
> which is no good for our purposes.
>
> Here is what i want to know:
>
> 1. Has anyone come across this issue and has a workaround
> 2. Is this a known issue with the CAB installer in WM5. If so are there any
> workarounds.
> 3. Is there something wrong in the flag value.
>
> I would greatly appreciate your feedback.
>
> - Shiva
>
.
- Prev by Date: Re: IMEI key registry on WM5
- Next by Date: Re: For WM5, where should I put my program to avoid data lost?
- Previous by thread: ActiveSync and ReportStatus bug on the device
- Next by thread: Re: How to pop up dialog not full Screen
- Index(es):
Relevant Pages
|