33 lines
1 KiB
C
33 lines
1 KiB
C
|
//
|
||
|
// The purpose of this include file is to change the minor version number for
|
||
|
// Windows Update components from 1 (Whistler) to 4.
|
||
|
//
|
||
|
#include <windows.h>
|
||
|
#include <ntverp.h>
|
||
|
|
||
|
// Override ntverp.h
|
||
|
// Minor version 4 is Windows Update specific, Whistler is minor version 1.
|
||
|
#undef VER_PRODUCTMINORVERSION
|
||
|
#define VER_PRODUCTMINORVERSION 4
|
||
|
|
||
|
// Override the build number when the Windows Update build lab is building.
|
||
|
#ifdef VER_PRODUCTBUILD
|
||
|
#undef VER_PRODUCTBUILD
|
||
|
#define VER_PRODUCTBUILD 3630
|
||
|
#endif
|
||
|
|
||
|
|
||
|
// Override the QFE number when the Windows Update build lab is building.
|
||
|
//#ifdef VER_PRODUCTBUILD_QFE
|
||
|
//#undef VER_PRODUCTBUILD_QFE
|
||
|
//#include "wubldnum.h"
|
||
|
//#endif
|
||
|
|
||
|
#undef VER_PRODUCTVERSION_STRING
|
||
|
#define VER_PRODUCTVERSION_STRING VER_PRODUCTVERSION_MAJORMINOR1(VER_PRODUCTMAJORVERSION, VER_PRODUCTMINORVERSION)
|
||
|
|
||
|
#undef VER_PRODUCTVERSION
|
||
|
#define VER_PRODUCTVERSION VER_PRODUCTMAJORVERSION,VER_PRODUCTMINORVERSION,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
|
||
|
|
||
|
#define WU_VER_FILEDESCRIPTION_STR(component) "Windows Update " component
|