Click here to Skip to main content
15,867,488 members
Articles / Mobile Apps / Windows Mobile

Disable WM2003 CAB Install Alert

Rate me:
Please Sign up or sign in to vote.
1.89/5 (7 votes)
22 Dec 2004CPOL1 min read 47.7K   292   16   3
How to disable WM2003 CAB install alert

Introduction

When I move my pocket PC 2003 projects to Windows Mobile, like Dell X50, Windows mobile will show a message like "The program you installed may not be displayed correctly....". This is because Windows mobile supports LandScape display mode. But your program did not support it. There is no way to disable this alert by playing with the registry. Upgrading the SDK is of no use either. But you can add a trick into your INF file of cab.

Add "BuildMax=0xE0000000" to the [CEDevice.ARM] section.

For other cabs, if you cannot build the cab yourself, there is another way to disable the message by editing the cab file. Because the cab file for mobile device is not compressed; you can open the cab file with VC or EVC in Binary mode.

Mostly, the first file section is the INF file which starts with "MSCF....". This is right. Then find another place "MSCE", then keep going forward 47 bytes, you can see the value is 00. Change it to E0. Then Windows mobile will not show the message when this cab is installed. Actually, this changing will do the same thing as adding "BuildMax...." into the INF file.

Some Useful Links

About the Download

In the download, there is just a tool. You can select the cab file, and it will find the right place and change it for you. Actually it is very easy, isn't it?

History

  • 22nd December, 2004: Initial post

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
General"Can not find the right place" Pin
ajhuddy13-May-05 12:36
ajhuddy13-May-05 12:36 
GeneralRe: "Can not find the right place" Pin
Chad Cheng17-May-05 4:16
Chad Cheng17-May-05 4:16 
GeneralWinCE CAB Manager Pin
Anonymous26-Jan-05 14:34
Anonymous26-Jan-05 14:34 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.