惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

宝玉的分享
宝玉的分享
NISL@THU
NISL@THU
E
Exploit-DB.com RSS Feed
L
LINUX DO - 热门话题
L
Lohrmann on Cybersecurity
K
Kaspersky official blog
Project Zero
Project Zero
Cisco Talos Blog
Cisco Talos Blog
T
The Exploit Database - CXSecurity.com
P
Palo Alto Networks Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
T
Threatpost
S
Schneier on Security
G
GRAHAM CLULEY
The Hacker News
The Hacker News
T
Threat Research - Cisco Blogs
Scott Helme
Scott Helme
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
P
Privacy & Cybersecurity Law Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Cyberwarzone
Cyberwarzone
C
CERT Recently Published Vulnerability Notes
T
Tor Project blog
AWS News Blog
AWS News Blog
Simon Willison's Weblog
Simon Willison's Weblog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
爱范儿
爱范儿
P
Privacy International News Feed
云风的 BLOG
云风的 BLOG
P
Proofpoint News Feed
S
Securelist
G
Google Developers Blog
The Last Watchdog
The Last Watchdog
Google Online Security Blog
Google Online Security Blog
美团技术团队
F
Fortinet All Blogs
小众软件
小众软件
Recorded Future
Recorded Future
V
Visual Studio Blog
B
Blog RSS Feed
H
Help Net Security
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Google DeepMind News
Google DeepMind News
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
Martin Fowler
Martin Fowler
Latest news
Latest news
Spread Privacy
Spread Privacy
H
Heimdal Security Blog

博客园 - JerryZhao

[转载]jQuery对象VS DOM对象 [Reference] Navigation on Matrix Subtotal [Refereces] Developing and Deploying Pocket PC Setup Applications [References]More on device app installs - Installing a Windows Mobile device application from a desktop MSI [References]Deploying .NET Compact Framework 2.0 Applications with .cab and .msi Files [References]Installing Multiple CAB Files [Reference]Wix Restart IIS code snippet [Reference] Windows Installer XML (WiX) 3.0 Snippets [Reference] Casle Demo App: Midway Summary [ActiveRecord] 之五:ActiveRecordMediator [Reference][ActiveRecord] 之四:Cascade [Reference][ActiveRecord] 之六:继承 [Referece][ActiveRecord] 之七:多数据库配置 [Reference] [Castle AR] 5. Base Relations [Reference][Castle AR] 3. Validate [Reference][Castle AR] 2. ActiveRecord [Reference][Castle AR] 1. Starter [reference][Castle AR] 4. CRUD [Reference]NHibernateDataSource: A DataSourceControl for ASP.NET 2.0
[Refereces]Creating an .ini File for the Application Manager
JerryZhao · 2008-02-28 · via 博客园 - JerryZhao

http://msdn2.microsoft.com/en-us/library/ms889558.aspx

Windows Mobile Version 5.0 SDK

Creating an .ini File for the Application Manager

Send Feedback

The .ini file contains information that registers an application with the Application Manager. The .ini file uses the following format:

[CEAppManager]
Version      = 1.0
Component    = component_name
[component_name]
Description  = descriptive_name
[Uninstall   = uninstall_name]
[IconFile    = icon_filename]
[IconIndex   = icon_index]
[DeviceFile  = device_filename]
CabFiles     = cab_filename [,cab_filename]
component_name
String that identifies the name of the section for the application.
descriptive_name
String that will appear in the Description field of the Application Manager when a user chooses the application. The full name of the application is found in the CAB Wizard .inf file, in the format "provider appname". The value for provider is from [Version] Provider, while appname is from the [CEStrings] AppName.

If there is more than one CAB file listed in the .ini file, the name is taken from the first CAB file on the list.

uninstall_name
String that identifies the application's Windows Uninstall registry key name. This name must match the application's registered Windows Uninstall key name, which is found in the HKLM\Software\Microsoft\Windows
\CurrentVersion\Uninstall registry key. Providing this name enables the Application Manager to automatically remove the application from the desktop computer and the device when a user clicks the Remove button in the Application Manager UI.
icon_filename
String that identifies the desktop icon file. This string is used to display the device_filename when the file name is viewed in ActiveSync.
icon_index
Numeric index into icon_filename. The value is used to display the device_filename when it is viewed in ActiveSync. If this key is nonexistent, the first icon in icon_filename is used.
device_filename
File name on the device that will display the icon specified by icon_filename and icon_index when the device_filename is viewed in ActiveSync.
cab_filename
File name of the available .cab files, relative to install_directory. Use commas to separate multiple cab_filenames. Do not include unnecessary spaces in this list of file names.
Note   In a situation where the .ini file lists multiple .cab files, to ensure that the correct .cab is installed on the device, the list must follow a specific order. This list must begin with the .cab file that is targeted at the widest range of platform types and versions, and end with the .cab file for the most specific platform types and versions. The list must also use an order that begins with the newest version and ends with the earliest version. Finally, if platform string and version information are specified, information about the OS version is ignored.

Example

In the following example of a versioning scenario, there are three cab files targeted toward the following platforms:

  • Windows Mobile 5.0 for both Smartphone and Pocket PC platforms
  • All versions of Windows Mobile™-based Smartphone
  • Windows Mobile™-based Pocket PC 2003.

In the Application Manager .ini file, these .cab files would be listed according to the platform that they are targeted toward. The following list shows the order that the .cab files are listed in.

  • All versions of Windows Mobile™-based Smartphone
  • Windows Mobile 5.0 for both Smartphone and Pocket PC
  • Windows Mobile™-based Pocket PC 2003

See Also

Using the Application Manager | Sample .ini File | Delivering Applications

posted on 2008-02-28 06:17  JerryZhao  阅读(628)  评论()    收藏  举报