Multi-OEM/Retail Project {MRP} - Mk3

Discussion in 'MDL Projects and Applications' started by mxman2k, Oct 15, 2016.

  1. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,762
    340
    #9041 abbodi1406, Nov 1, 2022
    Last edited: Nov 1, 2022
    Office 2016 and later are all v16
    VC++ 2015 and later are all v14
    it's Microsoft interpretation for AaaS (Anything as a Service) :D

    although, it give reasonable amount of continuous compatibility
     
  2. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    More like Microsoft AaaS hole :D:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #9043 mxman2k, Nov 1, 2022
    Last edited: Nov 2, 2022
    (OP)
    Added updated C2R and Non C2R office routines, if this not work this time round then all office references will be removed. Have spent all day testing with a C2R install etc, looks ok on my tests but then there is so many office's now it getting as silly as the amount of Editions in the W10/11 OS!

    Adjusted font for w10 so i hope it looks better and not chop the tails of y and g etc...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Having my chill out time so will log on a bit later on my phone,

    If the C2R stuff is working i may add other bits for it such as activation status etc.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. haris_mdlf69

    haris_mdlf69 MDL Addicted

    Oct 23, 2018
    574
    968
    30
    Capture08.PNG
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #9047 mxman2k, Nov 2, 2022
    Last edited: Nov 2, 2022
    (OP)
    Just fixed the m$ Office (non c2r) result if a C2R office is detected, i had the switch in the code but was checking wrong variable so both got shown even if there was no non C2R office installed.


    example:
    Code:
    MS Office {Not C2R}             : Not Checked as C2R detected
    C2R MS Office                   : ProPlus2021Volume {x86}
    C2R Excluded Apps               : lync,onenote,outlook
    C2R Last Update Channel         : Production 2021 LTSC
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #9048 mxman2k, Nov 2, 2022
    Last edited: Nov 2, 2022
    (OP)
    The C2R excluded apps may not be a complete list as there is another registry area that shows more but i cannot seem to access that registry area because there is no easy way to query the Key... So that may have to stay like that for a while.

    No ID's seem to be static they appear to be dynamic which means i cant just point the query to X as Y and Z are never the same so cannot find a match. :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,762
    340
    But older Office MSI versions (15, 14, ...) can coexist with Office C2R :D
     
  9. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #9050 mxman2k, Nov 2, 2022
    Last edited: Nov 2, 2022
    (OP)
    i know but separating them is a bit awkward in autoit.

    so to make my life easier i just look for one or the other C2R takes preference.:D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    With a bit of Select * From SoftwareLicensingProduct where (ApplicationID='0ff1ce15-a989-479d-af46-f275c6370663' and PartialProductKey is not null) managed a bit more info :D

    Code:
    
    MS Office {Not C2R}             : Not Checked as a C2R version detected
    C2R MS Office                   : Office 21, VOLUME_KMSCLIENT channel {x86}
    C2R Excluded Apps               : lync,onedrive,onenote,outlook,teams
    C2R Last Update Channel         : Production 2021 LTSC
    C2R Office Activation Status    : Licensed
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    #9052 mxman2k, Nov 2, 2022
    Last edited: Nov 3, 2022
    (OP)
    Updated C2R routine, shows more info such as full name/channel, License data etc But only if it can be detected or it then defaults back to original C2R routine which may not show as much or N/A where the old way cant detect something.

    Fixed the issue when a C2R office detected that the Non C2R office is now properly skipped/ignored to prevent confusing results as it awkward to separate 2016/19 office in AutoIT so to be easier on me i just show one or the other, C2R takes preference.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    I am hoping the C2R info works for others as on my tests it all seems to be shown as expected, but as usual other office versions may show different or no info, i will try to adjust the code as and when needed to cover other C2R versions where required.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    I think C2R does not run/work on below windows 8.x ?

    So much conflicting info on the net, if i know which os it works on i can set flags in the code to not look for C2R versions under the wrong OS's
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. migascalp

    migascalp MDL Senior Member

    Sep 18, 2009
    447
    760
    10
    A bit confused with the difference between the info returned by QT GUI and what is installed on my Desktop
    Befor
    Office 2019 Single Apps
    Excel2019Volume,PowerPoint2019Volume,Publisher2019Volume,Word2019Volume
    Code:
    -------------------------------------------------------------------------------------------------------------------
                                                 Query Tool GUI v0.10.0.94
    -------------------------------------------------------------------------------------------------------------------
    
    Log Date {UTC}: 11/02/2022 -- 17:39 {24-hour}
    
    Some results may be shortened to fit the output stage, such as RAM information.
    
    This is the postable report that does not contain full serial or sensitive information.
    
    [...]
    ===================================================================================================================
                                              Miscellaneous Information                                              
    ===================================================================================================================
    Which MRP Version Used          : N/A
    
    Installed Dot Net Frameworks    : 2.0  3.0  3.5  4.8  4.0
    Installed Powershell Versions   : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
    
    Security Product Name{s}        : Windows Defender
    Defender Tamper Protection      : Both Tamper and Cloud-delivered Protections are disabled
    Defender Service Status         : Manual
    Windows Firewall Service State  : Running {Reg: Auto}
    
    Windows Activation Status       : Activated
    Windows Licence Reason          : Digital Store Licence
    Windows Product Key Channel     : OEM System Builder {OEM_COA_NSLP}
    Device has KMS Enabled          : No
    KMS Auto Renewal (hook)         : Yes
    
    MS Office {Not C2R}             : N/A
    C2R MS Office                   : Office 16, VOLUME_KMSCLIENT channel
    C2R Excluded Apps               : N/A
    C2R Last Update Channel         : N/A
    C2R Office Activation Status    : Licensed
    C2R Partial Product Key         : XW3J6
    
    -------------------------------------------------------------------------------------------------------------------
    
    I therefore used the tools developed by abbodi1406 to erase and reinstall Office
    After
    Code:
    [configuration]
    SourcePath=
    Type=Local
    Version=16.0.14332.20324
    Architecture=x64
    O32W64=0
    Language=fr-FR
    LCID=1036
    Channel=PerpetualVL2021
    CDN=5030841d-c919-4594-8d2d-84ae4f96e58e
    SKUs=Excel2021Volume,PowerPoint2021Volume,Publisher2021Volume,Word2021Volume
    ExcludedApps=OneDrive
    UpdatesEnabled=True
    AcceptEULA=True
    PinIconsToTaskbar=False
    ForceAppShutdown=True
    AutoActivate=True
    DisableTelemetry=True
    DisplayLevel=True
    AutoInstallation=True
    
    Code:
    -------------------------------------------------------------------------------------------------------------------
                                                 Query Tool GUI v0.10.0.94
    -------------------------------------------------------------------------------------------------------------------
    
    Log Date {UTC}: 11/02/2022 -- 18:40 {24-hour}
    
    Some results may be shortened to fit the output stage, such as RAM information.
    
    This is the postable report that does not contain full serial or sensitive information.
    [...]
    ===================================================================================================================
                                              Miscellaneous Information                                              
    ===================================================================================================================
    Which MRP Version Used          : N/A
    
    Installed Dot Net Frameworks    : 2.0  3.0  3.5  4.8  4.0
    Installed Powershell Versions   : 1.0, 2.0, 3.0, 4.0, 5.0, 5.1
    
    Security Product Name{s}        : Windows Defender
    Defender Tamper Protection      : Both Tamper and Cloud-delivered Protections are disabled
    Defender Service Status         : Manual
    Windows Firewall Service State  : Running {Reg: Auto}
    
    Windows Activation Status       : Activated
    Windows Licence Reason          : Digital Store Licence
    Windows Product Key Channel     : OEM System Builder {OEM_COA_NSLP}
    Device has KMS Enabled          : No
    KMS Auto Renewal (hook)         : Yes
    
    MS Office {Not C2R}             : Not Checked as a C2R version detected
    C2R MS Office                   : Office 21, VOLUME_KMSCLIENT channel {x64}
    C2R Excluded Apps               :
    C2R Last Update Channel         : Production 2021 LTSC
    C2R Office Activation Status    : Licensed
    C2R Partial Product Key         : G6RVC
    
    -------------------------------------------------------------------------------------------------------------------
    
     
  15. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    interesting as the main code is the same just that the excluded apps is looking in another place, the C2R info uses a wmi call to get the description , license status, partial key etc
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    on my tests using office 2021 on several test pc's they all give same info :g:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Excel2019Volume,PowerPoint2019Volume,Publisher2019Volume,Word2019Volume

    Single Apps, not looked into that as there is so many factors in C2R im getting confused what is what :(
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. mxman2k

    mxman2k MDL Developer

    Jun 20, 2007
    6,315
    21,049
    210
    Will look into it tomorrow.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,204
    90,762
    340
    It works for Windows 7 SP1 and later