Click here to Skip to main content
Licence CPOL
First Posted 22 Dec 2004
Views 29,793
Downloads 249
Bookmarked 16 times

Disable WM2003 CAB Install Alert

By | 22 Dec 2004 | Article
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)

About the Author

Chad Cheng



United States United States

Member



Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
General"Can not find the right place" PinmemberAaron Hudon12:36 13 May '05  
GeneralRe: "Can not find the right place" PinmemberChad Cheng4:16 17 May '05  
GeneralWinCE CAB Manager PinsussAnonymous14:34 26 Jan '05  

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.

Permalink | Advertise | Privacy | Mobile
Web03 | 2.5.120517.1 | Last Updated 22 Dec 2004
Article Copyright 2004 by Chad Cheng
Everything else Copyright © CodeProject, 1999-2012
Terms of Use
Layout: fixed | fluid