Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Disable WM2003 CAB Install Alert

22 Dec 2004 0  
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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here