The INF file used in building an installation of a Pocket PC program has a
section for writing registry keys such as:

HKLM,Software\Publisher\App\MajorVersion,0x00010001,1
HKLM,Software\Publisher\App\MinorVersion,0x00010001,0

I read somewhere that these entries are just for being a "Good Citizen" for the
benefit of the Windows CE Application Manager. Where can I find out the exact
function of these entries, and what the consequences would be if I left them out
of my INF file. When I release an upgrade with a different "internal" version
number, should I update this record of the version numbers too? And what is
that 0x00010001 all about?


Robert Scott
Ypsilanti, Michigan

Re: INF file entries :MajorVersion, MinorVersion? by r_z_aret

r_z_aret
Wed May 09 15:26:14 CDT 2007

On Tue, 08 May 2007 23:37:55 GMT, ---@--- (Robert Scott) wrote:

>The INF file used in building an installation of a Pocket PC program has a
>section for writing registry keys such as:
>
>HKLM,Software\Publisher\App\MajorVersion,0x00010001,1
>HKLM,Software\Publisher\App\MinorVersion,0x00010001,0
>
>I read somewhere that these entries are just for being a "Good Citizen" for the
>benefit of the Windows CE Application Manager. Where can I find out the exact
>function of these entries, and what the consequences would be if I left them out
>of my INF file. When I release an upgrade with a different "internal" version
>number, should I update this record of the version numbers too? And what is
>that 0x00010001 all about?

FWIW:
I see no evidence of such strings in my inf files, and I haven't seen
or heard about any problems installing or running my programs.


>
>
>Robert Scott
>Ypsilanti, Michigan

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

Re: INF file entries :MajorVersion, MinorVersion? by Mike

Mike
Wed May 09 18:25:05 CDT 2007

The two entries are merely examples on how to use registry values in an INF
file - there is no requirement or recommendation around those values in
particular. As for 0x00010001 - that is a bit mask that defines the data
type of the registry value - see
http://msdn2.microsoft.com/en-us/library/ms933191.aspx. In this case, it
defines the values as REG_DWORDs.

--
---
Mike Harris
Microsoft Corp.
This posting is provided "AS IS" with no warranties, and confers no rights.

<r_z_aret@pen_fact.com> wrote in message
news:bja4435uk5hh27hlg1qdj96dc9871kd3f4@4ax.com...
> On Tue, 08 May 2007 23:37:55 GMT, ---@--- (Robert Scott) wrote:
>
>>The INF file used in building an installation of a Pocket PC program has a
>>section for writing registry keys such as:
>>
>>HKLM,Software\Publisher\App\MajorVersion,0x00010001,1
>>HKLM,Software\Publisher\App\MinorVersion,0x00010001,0
>>
>>I read somewhere that these entries are just for being a "Good Citizen"
>>for the
>>benefit of the Windows CE Application Manager. Where can I find out the
>>exact
>>function of these entries, and what the consequences would be if I left
>>them out
>>of my INF file. When I release an upgrade with a different "internal"
>>version
>>number, should I update this record of the version numbers too? And what
>>is
>>that 0x00010001 all about?
>
> FWIW:
> I see no evidence of such strings in my inf files, and I haven't seen
> or heard about any problems installing or running my programs.
>
>
>>
>>
>>Robert Scott
>>Ypsilanti, Michigan
>
> -----------------------------------------
> To reply to me, remove the underscores (_) from my email address (and
> please indicate which newsgroup and message).
>
> Robert E. Zaret, eMVP
> PenFact, Inc.
> 20 Park Plaza, Suite 478
> Boston, MA 02116
> www.penfact.com