mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-12 18:07:24 +10:00
Support for product version supplied by AppVeyor (#12)
* Set version of binaries based on CS_VERSION environment variable * Use AppVeyor supplied product version * Automatically generate ProductCode GUID * Convert version (CS_VERSION) to number (CS_VERSION_NUM)
This commit is contained in:
@@ -687,7 +687,7 @@ static void WriteLogFile( FILE *f )
|
||||
|
||||
DWORD val;
|
||||
if (regKey.QueryDWORDValue(L"Version",val)==ERROR_SUCCESS)
|
||||
fwprintf(f,L"\tClassic Shell version: %d.%d.%d\r\n",val/10000,(val/100)%100,val%100);
|
||||
fwprintf(f,L"\tClassic Shell version: %d.%d.%d\r\n",val>>24,(val>>16)&0xFF,val&0xFFFF);
|
||||
|
||||
if (regKey.QueryDWORDValue(L"WinVersion",val)==ERROR_SUCCESS)
|
||||
fwprintf(f,L"\tWin version during installation: %d.%02d.%d\r\n",val>>24,(val>>16)&0xFF,val&0xFFFF);
|
||||
|
||||
Reference in New Issue
Block a user