8/28/2008
When working with .inf files that the CAB Wizard will use to create .cab files, you can use a combination of the platform string and version numbers to specify the operating systems on which your application will run.
The following table lists valid PlatformString values for all platforms:
|
OS name
|
PlatformString
|
Platform version
|
|---|
|
Smartphone for Windows Mobile Version 5.0
|
Smartphone
|
4.0
|
|
Pocket PC for Windows Mobile Version 5.0
|
PocketPC
|
4.0
|
|
Windows Mobile 2003
|
Smartphone
|
3.0
|
|
Windows Mobile 2003 Second Edition
|
PocketPC
|
3.1
|
|
Windows Mobile 2003
|
PocketPC
|
3.0
|
Example
The following code example shows a [Platform] section targeting Windows Mobile 2003 or later:
[Platform.MS_SP]
PlatformString=Smartphone
PlatformMin=3.0
The following table lists additional valid PlatformString values for Windows Mobile:
|
OS name
|
PlatformString
|
Platform version
|
|---|
|
Windows Mobile 6
|
Smartphone
|
5.2
|
|
Windows Mobile 6
|
PocketPC
|
5.2
|
Reference
CEDevice
DefaultInstall
SourceDisksFiles
SourceDisksNames
Concepts
Platform
Information File