[Help Us!] more of OS properties to log (1 Viewer)

Vasilich

Portal Pro
August 30, 2009
3,394
1,170
Germany, Mayence
Home Country
Russian Federation Russian Federation
Last time we had more problems caused by missing WMP component in Windows version N. And people (as it seems) have really no idea that they have Windows N, and our installer cannot download and install WMP because now it is called Media feature pack.
To be able to help such users faster i suggest to log in Mediaportal.log not only Windows version, but also "bitness" (x32/x64) and features (Pro/Home/ N / KN / whatever else).
Attached is console app that should show needed information (look for string "OSInfo: ").
After testing we can also add manifest entries to TVService for it able to log proper version it running on (for now W8.1 and w10 are logged as W8 by TVService).
So please test it and report whether the info delievered in line starting with "OSInfo" is correct.

@Developers @Testers do we need anything else to be reported about OS?

P.S. attach updated 16.12.2015 22:47 CET
 

Attachments

  • OSTest.zip
    13.9 KB
Last edited:

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    for me seems work
    Code:
    OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
    WMI:       Microsoft Windows 7 Professionnel
    Registry:  Windows 7 Professional (Service Pack 1)
    OSInfo:    Windows 7 Professional (Service Pack 1) x64 [6.1.7601.65536]
    Main: Last install from WindowsUpdate is dated 2015-12-15 07:02:52
    Press any key to continue . . .
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Small error here on XP:
    Code:
    OSVersion: Microsoft Windows NT 5.1.2600 Service Pack 3
    WMI:  Microsoft Windows XP Professional
    Registry:  Microsoft Windows XP (Service Pack 3)
    OSInfo:  Windows XP Professional (Service Pack 3) x32 [5.1.2600.196608]
    RegOpenKeyEx retval=<2>, lastError=<1150>
    Main: Last install from WindowsUpdate is dated NEVER !!!
    Press any key to continue . . .
     

    Iwen

    Portal Pro
    August 14, 2007
    464
    32
    Home Country
    Germany Germany
    Looks good

    Code:
    OSVersion: Microsoft Windows NT 6.3.9600.0
    WMI:       Microsoft Windows 8.1
    Registry:  Windows 8.1
    OSInfo:    Windows 81 Home x64 [6.3.9600.0]
    Main: Last install from WindowsUpdate is dated 2015-12-10 13:52:51
    Press any key to continue . . .
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    do we need anything else to be reported about OS?
    You mentioned N and KN versions. Is it possible to detect whether the Media Feature Pack is installed for those versions?
    ...and how about detecting the Media Pack (WMC) on W8/8.1?
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    Is it possible to detect whether the Media Feature Pack is installed for those versions?
    GetProductInfo - https://msdn.microsoft.com/en-us/library/windows/desktop/ms724358(v=vs.85).aspx
    pdwReturnedProductType:
    Code:
    PRODUCT_HOME_BASIC_N
    PRODUCT_HOME_PREMIUM_N
    PRODUCT_PROFESSIONAL_N
    PRODUCT_BUSINESS_N
    PRODUCT_ULTIMATE_N
    PRODUCT_ENTERPRISE_N
    PRODUCT_PRERELEASE_N
    PRODUCT_CORE_N
    PRODUCT_EDUCATION_N
    PRODUCT_ENTERPRISE_N_EVALUATION
    PRODUCT_ENTERPRISE_S_N
    PRODUCT_ENTERPRISE_S_N_EVALUATION

    Windows K:
    Code:
    The K versions of Windows XP contain the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\WindowsFeatures
    The following registry entries are associated with this subkey:
    
    Value name: KWeblinks
    Value type: REG_DWORD
    Value data: 0
    
    These registry entries are used to identify Windows XP K SKUs. When it is present, the KWebLinks=dword:0 registry entry identifies the Windows XP operating system as a K version.
     
    Last edited by a moderator:

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Yes, this tells us whether the Windows version/edition is "N". However my question was whether it was possible to know if the Media Feature Pack is installed. In other words: I'm interested to know if we can detect that the user is missing the Media Feature Pack and give them a warning.

    Maybe the Windows version/edition changes from N/KN to regular non-N/KN after Media Feature Pack is installed???
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    15,492
    10,371
    Kyiv
    Home Country
    Ukraine Ukraine
    However my question was whether it was possible to know if the Media Feature Pack is installed
    If set, the key must be:
    Code:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\WindowsFeatures\WindowsMediaVersion
     

    Users who are viewing this thread

    Top Bottom