My blog has moved!

You should be automatically redirected in 6 seconds. If not, visit
http://kavachai.com
and update your bookmarks.

Thursday, October 15, 2009

What is MaxBuild Property in .inf File for Cabwiz is Actually For

When installing cab file on devices that have square screens or support screen rotation (last is applicable to all devices starting from WM 2003 SE) you may receive an error message:
The program you have installed may not dispay properly because it was designed for a previous version of Windows Mobile software.
Text of this message is not really correct because actually cab installer complains about screen on WM, not OS version.
To omit this error MaxBuild property declared in Vestion section of .inf file can be used. According to Microsoft:
The BuildMax value can be used to indicate that the application supports square screens (BuildMax=0xA0000000), screen rotation (BuildMax=0xC0000000), or both (BuildMax=0xE0000000).
This is one of those odd things that we can found in sometimes. Error message leads us to wrong direction and name of property doesn't have any connection to what it does :)

No comments:

Post a Comment