pbowden-msft / MAUCacheAdmin

Microsoft AutoUpdate Cache Admin
70 stars 15 forks source link

Remote Help / Quick Assist #46

Open nixtar opened 6 months ago

nixtar commented 6 months ago

Hello,

I was looking to add support for Remote Help and when looking here I noticed that Quick Assist was also missing from MAUCacheAdmin.

It appears that Remote Help and Quick Assist are missing the -chk.xml file (https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/0409MSRH01-chk.xml and https://officecdnmac.microsoft.com/pr/C1297A47-86C4-4C1F-97FA-950631F94777/MacAutoupdate/0409MSQA01-chk.xml returns a 404). Is this expected?

The PowerShell module relies on the -chk.xml for pulling version and more importantly datetime information (so it can write the date to the downloaded files date modified and perform a kind of "robocopy" style file modified check). I can probably work around this for apps that don't have a -chk.xml, but just wanted to check to see if this is intended before spending any time on it. ๐Ÿ˜Š

Thanks, Nick

MrCoBalt commented 5 months ago

Hi @nixtar it looks like the prod URLs you'd be looking for would be:

The MAUCache scripts are what seem to add the -chk portion to the downloaded files, as per https://github.com/pbowden-msft/MAUCacheAdmin/blob/77fa35f29b9d676e96c44aede6b74cec7fde5413/MAUCacheAdmin#L190 & https://github.com/pbowden-msft/MAUCacheAdmin/blob/77fa35f29b9d676e96c44aede6b74cec7fde5413/psMacUpdatesOFFICE.ps1#L167

In terms of integrating those two apps into the existing scripts I think you should be able to add new MAUID_MSQA01 and MAUID_MSRD10 values alongside the existing constants and arrays throughout the scripts โ€”just clone something like any lines mentioning MAUID_TEAMS2 and then update the identifiers throughout?

nixtar commented 5 months ago

@MrCoBalt As I understand it, psMacUpdatesOFFICE.ps1 is abandoned.

I wrote the PS Module here https://github.com/pbowden-msft/MAUCacheAdmin/tree/master/PSModule/MAUCacheAdmin. Was just looking for clarification if the update check xmls (0409MSQA01-chk.xml for eg) are not on the CDN by design or not before updating the module to handle this scenario.

From my testing the bash MAUCacheAdmin handles this by default by ignoring errors when downloading collaterals.