PDA

View Full Version : PocketPC 2003 problems



kornalius
08-16-2007, 01:41 PM
Hi,

I just bought InstallShield Express 2008 and when cab files are generated for the PocketPC 2003 platform, they don't have the right versions.

Is there a way to change the versions?

[CEDevice.PPC420]
UnsupportedPlatforms = "HPC","Palm PC2","Smartphone","Jupiter"
VersionMin=3.00
VersionMax=3.99
BuildMax=0xE0000000

[Platform.PPC420]
PlatformString=PocketPC
PlatformMin=3.00
PlatformMax=3.99

Shouldn't 3.00 and 3.99 be something else for this platform? 4.20 I believe?

kornalius
08-16-2007, 01:44 PM
Btw, it use to work fine in Express 12 (trial mode).

davidh
08-16-2007, 04:52 PM
Our internal testing revealed that the numbers should be the following, possibly (can't find a link at this time) due to a Microsoft bug with cabwiz.exe.

Following are the numbers that I would expect to see:
PlatformMin="3.0" PlatformMax="3.9"

I think with 2008 Express it is 3.99. Have you noticed a problem when installing to ppc 2003?

davidh
08-16-2007, 04:56 PM
I believe 4.20 would target mobile 5 (versus 2003) devices. Please let us know if you see otherwise.

davidh
08-16-2007, 05:16 PM
Ok, you made me paranoid about whether we are getting the versions right. So, I did the following:
1. built a InstallShield 2008 Express project with a cab targeting 2003 and a cab targeting mobile 5.
2. ran while connected to a 2003 (emulator) device.
3. The 2003 cab installed on the device and the 5 cab did not, as expected.

So, it looks like everything is ok, perhaps it was actually a bug with the old express version. Please let me know if you have further questions.

kornalius
08-17-2007, 08:32 AM
Thank you for your quick response.

I am testing using an ASUS A620 which is a WM2003 device.

I just did an installation test:

New Project -> Smart Device Setup Wizard.

Add three files with one using the following settings:

1. Pocket PC 2003 + Smartphone 2003 + Windows CE .NET (4.x).

I then copied the following file:

Installer Test.PPC300_StrongARM-XScale.PPC300_StrongARM-XScale.CAB

And I get the following error message:

"The program is not compatible with the current operating system and, therefore, may not run on this device. Do you want to continue installation?"

Do you know why this error message is showing in Express 2008 when it wasn't showing in Express 12 Trial ?

kornalius
08-17-2007, 08:39 AM
4.20 is PocketPC 2003 indeed. Even my device says so: version 4.20.1081

Please check the following link for correct version #'s:

http://www.pocketpcfaq.com/wce/versions.htm

davidh
08-17-2007, 11:24 AM
This version information can be very confusing. I have used that link in the past as well, it is interesting that it clears things up more than any Microsoft documentation out there.:(

However, even though that document seems to match up with the versions you see when you check the settings of your device (Start->settings->System->About), it doesn't seem to work with the PlatformMin used in the inf file for building the cab.

The following link also mentions a problem with PlatformMin that seems related:
http://www.pcreview.co.uk/forums/thread-1298108.php

Also, the platforms section is ignored if the '/platform' parameter is not passed to cabwiz.exe. I know of a bug in the past where we built that section of the inf file, but did not pass the '/platform' parameter. Perhaps that explains the difference between the two versions of InstallShield.

I keep running tests here and it seems that cabs do not want to install to 2003 devices unless we use the range 3.0 to 3.9. Even though logic suggests to try using 4.2. Very frustrating. I'm trying to get my hands on an actual device versus an emulator. But, if you are having better luck with using 4.2, perhaps you can just check mobile 5 as a workaround (or whatever combination works best for you).

kornalius
08-17-2007, 11:41 AM
Hi David,

Thank you for your great help. It looks like WM5 is not working either.

Look at this file, the version settings for PPC420 and PPC202 are almost identical.

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


[CEStrings]
AppName="PPL Core"
InstallDir=%CE1%\PPL


[DestinationDirs]
Files00.PPC300_StrongARM-XScale = 0, %InstallDir%
Shortcuts00.PPC300_StrongARM-XScale = 0, %CE11%
Files00.PPC202_StrongARM-XScale = 0, %InstallDir%
Shortcuts00.PPC202_StrongARM-XScale = 0, %CE11%
Files00.PPC420_StrongARM-XScale = 0, %InstallDir%
Files00.CE4_StrongARM-XScale = 0, %InstallDir%
Files00.CE5_StrongARM-XScale = 0, %InstallDir%
Files00.PPC500_StrongARM-XScale = 0, %InstallDir%
Files00.SMARTPHONE2002_StrongARM-XScale = 0, %InstallDir%
Shortcuts00.SMARTPHONE2002_StrongARM-XScale = 0, %CE11%
Files00.SMARTPHONE2003_StrongARM-XScale = 0, %InstallDir%
Files00.SMARTPHONE2005_StrongARM-XScale = 0, %InstallDir%
Files00.CE6_StrongARM-XScale = 0, %InstallDir%


[CEDevice.PPC300_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","PocketPC","Smartphone","Jupiter"
VersionMin=3.00
VersionMax=3.10


[Platform.PPC300_StrongARM-XScale]
PlatformString=PalmPC2
PlatformMin=3.00
PlatformMax=3.10


[SourceDisksNames.PPC300_StrongARM-XScale]
1=, "SourceDisk01",,C:\ppl\ARMV4Rel
2=, "SourceDisk02",,C:\ppl\PPC2000


[SourceDisksFiles.PPC300_StrongARM-XScale]
"PPL.exe" = 1
"gsgetfile.dll" = 2


[DefaultInstall.PPC300_StrongARM-XScale]
CopyFiles = Files00.PPC300_StrongARM-XScale
CEShortcuts = Shortcuts00.PPC300_StrongARM-XScale
AddReg = AddRegistry.PPC300_StrongARM-XScale


[Files00.PPC300_StrongARM-XScale]
"PPL.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[Shortcuts00.PPC300_StrongARM-XScale]
"PPL", 0, PPL.exe


[AddRegistry.PPC300_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.PPC202_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC2","Smartphone","Jupiter"
VersionMin=3.00
VersionMax=3.10


[Platform.PPC202_StrongARM-XScale]
PlatformString=PocketPC
PlatformMin=3.00
PlatformMax=3.10


[SourceDisksNames.PPC202_StrongARM-XScale]
3=, "SourceDisk03",,C:\ppl\ARMV4Rel
4=, "SourceDisk04",,C:\ppl\PPC2000


[SourceDisksFiles.PPC202_StrongARM-XScale]
"PPL.exe" = 3
"gsgetfile.dll" = 4


[DefaultInstall.PPC202_StrongARM-XScale]
CopyFiles = Files00.PPC202_StrongARM-XScale
CEShortcuts = Shortcuts00.PPC202_StrongARM-XScale
AddReg = AddRegistry.PPC202_StrongARM-XScale


[Files00.PPC202_StrongARM-XScale]
"PPL.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[Shortcuts00.PPC202_StrongARM-XScale]
"PPL", 0, PPL.exe


[AddRegistry.PPC202_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.PPC420_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC2","Smartphone","Jupiter"
VersionMin=3.00
VersionMax=3.99
BuildMax=0xE0000000


[Platform.PPC420_StrongARM-XScale]
PlatformString=PocketPC
PlatformMin=3.00
PlatformMax=3.99


[SourceDisksNames.PPC420_StrongARM-XScale]
5=, "SourceDisk05",,C:\ppl\ppl3\ARMRel
6=, "SourceDisk06",,C:\ppl\WM2003


[SourceDisksFiles.PPC420_StrongARM-XScale]
"ppl.exe" = 5
"gsgetfile.dll" = 6


[DefaultInstall.PPC420_StrongARM-XScale]
CopyFiles = Files00.PPC420_StrongARM-XScale
AddReg = AddRegistry.PPC420_StrongARM-XScale


[Files00.PPC420_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.PPC420_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.CE4_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC","Palm PC2","PocketPC","Smartphone","Jupiter"
VersionMin=3.00
VersionMax=4.99
BuildMax=0xE0000000


[Platform.CE4_StrongARM-XScale]
PlatformString=
PlatformMin=3.00
PlatformMax=4.99


[SourceDisksNames.CE4_StrongARM-XScale]
7=, "SourceDisk07",,C:\ppl\ppl3\ARMRel
8=, "SourceDisk08",,C:\ppl\WM2003


[SourceDisksFiles.CE4_StrongARM-XScale]
"ppl.exe" = 7
"gsgetfile.dll" = 8


[DefaultInstall.CE4_StrongARM-XScale]
CopyFiles = Files00.CE4_StrongARM-XScale
AddReg = AddRegistry.CE4_StrongARM-XScale


[Files00.CE4_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.CE4_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.CE5_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC","Palm PC2","PocketPC","Smartphone","Jupiter"
VersionMin=5.00
VersionMax=5.99
BuildMax=0xE0000000


[Platform.CE5_StrongARM-XScale]
PlatformString=
PlatformMin=5.00
PlatformMax=5.99


[SourceDisksNames.CE5_StrongARM-XScale]
9=, "SourceDisk09",,C:\ppl\ppl3\ARMRel
10=, "SourceDisk10",,C:\ppl\WM2005


[SourceDisksFiles.CE5_StrongARM-XScale]
"ppl.exe" = 9
"gsgetfile.dll" = 10


[DefaultInstall.CE5_StrongARM-XScale]
CopyFiles = Files00.CE5_StrongARM-XScale
AddReg = AddRegistry.CE5_StrongARM-XScale


[Files00.CE5_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.CE5_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.PPC500_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC2","Smartphone","Jupiter"
VersionMin=4.00
VersionMax=1000.00
BuildMax=0xE0000000


[Platform.PPC500_StrongARM-XScale]
PlatformString=PocketPC
PlatformMin=4.00
PlatformMax=1000.00


[SourceDisksNames.PPC500_StrongARM-XScale]
11=, "SourceDisk11",,C:\ppl\ppl3\ARMRel
12=, "SourceDisk12",,C:\ppl\WM2005


[SourceDisksFiles.PPC500_StrongARM-XScale]
"ppl.exe" = 11
"gsgetfile.dll" = 12


[DefaultInstall.PPC500_StrongARM-XScale]
CopyFiles = Files00.PPC500_StrongARM-XScale
AddReg = AddRegistry.PPC500_StrongARM-XScale


[Files00.PPC500_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.PPC500_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.SMARTPHONE2002_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC2","PocketPC","Jupiter"
VersionMin=0.10
VersionMax=2.90


[Platform.SMARTPHONE2002_StrongARM-XScale]
PlatformString=Smartphone
PlatformMin=0.10
PlatformMax=2.90


[SourceDisksNames.SMARTPHONE2002_StrongARM-XScale]
13=, "SourceDisk13",,C:\ppl\ARMV4Rel
14=, "SourceDisk14",,C:\ppl\PPC2000


[SourceDisksFiles.SMARTPHONE2002_StrongARM-XScale]
"PPL.exe" = 13
"gsgetfile.dll" = 14


[DefaultInstall.SMARTPHONE2002_StrongARM-XScale]
CopyFiles = Files00.SMARTPHONE2002_StrongARM-XScale
CEShortcuts = Shortcuts00.SMARTPHONE2002_StrongARM-XScale
AddReg = AddRegistry.SMARTPHONE2002_StrongARM-XScale


[Files00.SMARTPHONE2002_StrongARM-XScale]
"PPL.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[Shortcuts00.SMARTPHONE2002_StrongARM-XScale]
"PPL", 0, PPL.exe


[AddRegistry.SMARTPHONE2002_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.SMARTPHONE2003_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC2","PocketPC","Jupiter"
VersionMin=3.00
VersionMax=3.99
BuildMax=0xE0000000


[Platform.SMARTPHONE2003_StrongARM-XScale]
PlatformString=Smartphone
PlatformMin=3.00
PlatformMax=3.99


[SourceDisksNames.SMARTPHONE2003_StrongARM-XScale]
15=, "SourceDisk15",,C:\ppl\ppl3\ARMRel
16=, "SourceDisk16",,C:\ppl\WM2003


[SourceDisksFiles.SMARTPHONE2003_StrongARM-XScale]
"ppl.exe" = 15
"gsgetfile.dll" = 16


[DefaultInstall.SMARTPHONE2003_StrongARM-XScale]
CopyFiles = Files00.SMARTPHONE2003_StrongARM-XScale
AddReg = AddRegistry.SMARTPHONE2003_StrongARM-XScale


[Files00.SMARTPHONE2003_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.SMARTPHONE2003_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.SMARTPHONE2005_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC2","PocketPC","Jupiter"
VersionMin=4.00
VersionMax=1000.00
BuildMax=0xE0000000


[Platform.SMARTPHONE2005_StrongARM-XScale]
PlatformString=Smartphone
PlatformMin=4.00
PlatformMax=1000.00


[SourceDisksNames.SMARTPHONE2005_StrongARM-XScale]
17=, "SourceDisk17",,C:\ppl\ppl3\ARMRel
18=, "SourceDisk18",,C:\ppl\WM2005


[SourceDisksFiles.SMARTPHONE2005_StrongARM-XScale]
"ppl.exe" = 17
"gsgetfile.dll" = 18


[DefaultInstall.SMARTPHONE2005_StrongARM-XScale]
CopyFiles = Files00.SMARTPHONE2005_StrongARM-XScale
AddReg = AddRegistry.SMARTPHONE2005_StrongARM-XScale


[Files00.SMARTPHONE2005_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.SMARTPHONE2005_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""


[CEDevice.CE6_StrongARM-XScale]
ProcessorType = 2577 ; StrongARM-XScale
UnsupportedPlatforms = "HPC","Palm PC","Palm PC2","PocketPC","Smartphone","Jupiter"
VersionMin=6.00
VersionMax=1000.00
BuildMax=0xE0000000


[Platform.CE6_StrongARM-XScale]
PlatformString=
PlatformMin=6.00
PlatformMax=1000.00


[SourceDisksNames.CE6_StrongARM-XScale]
19=, "SourceDisk19",,C:\ppl\ppl3\ARMRel
20=, "SourceDisk20",,C:\ppl\WM2005


[SourceDisksFiles.CE6_StrongARM-XScale]
"ppl.exe" = 19
"gsgetfile.dll" = 20


[DefaultInstall.CE6_StrongARM-XScale]
CopyFiles = Files00.CE6_StrongARM-XScale
AddReg = AddRegistry.CE6_StrongARM-XScale


[Files00.CE6_StrongARM-XScale]
"ppl.exe",,,0x40000002
"gsgetfile.dll",,,0x40000002


[AddRegistry.CE6_StrongARM-XScale]
HKCR, ".ppc", "", 0x00000002, isce_ppcfile
HKCR, "isce_ppcfile", "", 0x00000002, PPC File
HKCR, "isce_ppcfile\DefaultIcon", "", 0x00000002, "%InstallDir%\ppl.exe,-119"
HKCR, "isce_ppcfile\Shell\Open\Command", "", 0x00000002, """%InstallDir%\ppl.exe"" ""%%1"""

davidh
08-17-2007, 02:35 PM
Could you please elaborate on your comment that "It looks like WM5 is not working either." What specific error message do you get? It seems to me that cabs built for WM5 install fine on WM5.

kornalius
08-17-2007, 04:07 PM
Sorry I wasn't clear enough. WM5 cab file will obviously not work with PPC2003 device, that is what I wanted to mean.

Any news on this issue David. I was planning to release my product today but it looks like it will have to wait until there is a fix for this. I forked some good money for this product, Express 12 was working for me, now I am stuck to square one. Please help me.

kornalius
08-20-2007, 10:56 AM
Hi David,

Any news for me?

Regards,
Alain

davidh
08-20-2007, 01:28 PM
Sorry, this could take some time. Unfortunately it will be a bit difficult to change the numbers in the inf file. I am sending you an e-mail with more information.

More information that you need to know, but going forward we are going to put all these numbers in an xml file so we (or our customers) can easily change them.

So, please watch for my e-mail and we will get this resolved asap.

davidh
08-24-2007, 11:06 AM
Here is some more information that could be helpful:
1 - There was some cases prior to 2008 where we built cab files without calling the '/platform' parameter when we should have. So, the Platform section was ignored. This is fixed with 2008 Express. So, perhaps we are preventing the install on purpose based on your selections? So, Express 12 'appeared' to work, but really the cab wasn't built quite right.
2 - For Pocket PC 2003, we use PPC420, not PPC300. This is why the PPC300 cab is not installing on PPC 2003. I built a PPC420 cab targeting the Strong ARM processor (as you are) and I got a cab named this:
My Company smart device.PPC420_StrongARM-XScale.PPC420_StrongARM-XScale.CAB

So, check for the PPC420 cabs. PPC300 is targeting Pocket PC devices (the system prior to PPC 2002.

kornalius
09-10-2007, 10:15 AM
Thank you David, I will contact you via email.