Click here to Skip to main content
Click here to Skip to main content
Go to top

Disable WM2003 CAB Install Alert

, 22 Dec 2004
Rate this:
Please Sign up or sign in to vote.
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)

Share

About the Author

Chad Cheng

United States United States
No Biography provided

Comments and Discussions

 
General"Can not find the right place" PinmemberAaron Hudon13-May-05 12:36 
GeneralRe: "Can not find the right place" PinmemberChad Cheng17-May-05 4:16 
GeneralWinCE CAB Manager PinsussAnonymous26-Jan-05 14:34 

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

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

| Advertise | Privacy | Mobile
Web04 | 2.8.140926.1 | Last Updated 22 Dec 2004
Article Copyright 2004 by Chad Cheng
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid