From ccfb9c1b3e7344b1918404e7a427c11cab4047c6 Mon Sep 17 00:00:00 2001 From: whatever127 Date: Thu, 24 Oct 2019 20:49:08 +0200 Subject: [PATCH] Update attributes --- shared/main.php | 2 +- shared/requests.php | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/shared/main.php b/shared/main.php index 81d958f..fc7410a 100644 --- a/shared/main.php +++ b/shared/main.php @@ -16,7 +16,7 @@ limitations under the License. */ function uupApiVersion() { - return '1.27.0'; + return '1.27.1'; } require_once dirname(__FILE__).'/auths.php'; diff --git a/shared/requests.php b/shared/requests.php index 2e02ebc..1a776aa 100644 --- a/shared/requests.php +++ b/shared/requests.php @@ -37,7 +37,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku) { $attrib = array( 'App=WU_OS', 'AppVer='.$build, - 'AttrDataVer=66', + 'AttrDataVer=69', 'BlockFeatureUpdates='.$blockUpgrades, 'BranchReadinessLevel=CB', 'CurrentBranch='.$branch, @@ -45,6 +45,8 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku) { 'DataVer_RS5=2000000000', 'DefaultUserRegion=191', 'DeviceFamily=Windows.Desktop', + 'EKB19H2InstallCount=1', + 'EKB19H2InstallTimeEpoch=1255000000', 'FlightContent='.$flight, 'FlightRing='.$ring, 'FlightingBranchName=external', @@ -213,6 +215,7 @@ function composeFetchUpdRequest($device, $encData, $arch, $flight, $ring, $build $products[] = "PN=Windows.Appraiser.$currArch&Repairable=1&V=$build"; $products[] = "PN=Windows.AppraiserData.$currArch&Repairable=1&V=$build"; $products[] = "PN=Windows.EmergencyUpdate.$currArch&Repairable=1&V=$build"; + $products[] = "PN=Windows.ManagementOOBE.$currArch&IsWindowsManagementOOBE=1&Repairable=1&V=$build"; $products[] = "PN=Windows.OOBE.$currArch&IsWindowsOOBE=1&Repairable=1&V=$build"; $products[] = "PN=Windows.UpdateStackPackage.$currArch&Name=Update Stack Package&Repairable=1&V=$build"; $products[] = "PN=Hammer.$currArch&Source=UpdateOrchestrator&V=0.0.0.0";