forked from uup-dump/api
add new OOBE attributes
This commit is contained in:
@@ -116,7 +116,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type, $fl
|
|||||||
$attrib = array(
|
$attrib = array(
|
||||||
'App=WU_OS',
|
'App=WU_OS',
|
||||||
'AppVer='.$build,
|
'AppVer='.$build,
|
||||||
'AttrDataVer=331',
|
'AttrDataVer=352',
|
||||||
'AllowInPlaceUpgrade=1',
|
'AllowInPlaceUpgrade=1',
|
||||||
'AllowOptionalContent=1',
|
'AllowOptionalContent=1',
|
||||||
'AllowUpgradesWithUnsupportedTPMOrCPU=1',
|
'AllowUpgradesWithUnsupportedTPMOrCPU=1',
|
||||||
@@ -174,6 +174,7 @@ function composeDeviceAttributes($flight, $ring, $build, $arch, $sku, $type, $fl
|
|||||||
'IsDeviceRetailDemo=0',
|
'IsDeviceRetailDemo=0',
|
||||||
'IsFlightingEnabled='.$flightEnabled,
|
'IsFlightingEnabled='.$flightEnabled,
|
||||||
'IsRetailOS='.$isRetail,
|
'IsRetailOS='.$isRetail,
|
||||||
|
'LaunchUserOOBE=1',
|
||||||
'LCUVer=0.0.0.0',
|
'LCUVer=0.0.0.0',
|
||||||
'MediaBranch=',
|
'MediaBranch=',
|
||||||
'MediaVersion='.$build,
|
'MediaVersion='.$build,
|
||||||
@@ -317,10 +318,12 @@ function branchFromBuild($build) {
|
|||||||
case 26100:
|
case 26100:
|
||||||
case 26120:
|
case 26120:
|
||||||
case 26200:
|
case 26200:
|
||||||
|
case 26300:
|
||||||
$branch = 'ge_release';
|
$branch = 'ge_release';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 28000:
|
case 28000:
|
||||||
|
case 28100:
|
||||||
$branch = 'br_release';
|
$branch = 'br_release';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -474,6 +477,8 @@ function composeFetchUpdRequest($arch, $flight, $ring, $build, $sku = 48, $type
|
|||||||
$products[] = "PN=Windows.FeatureExperiencePack.$currArch&Repairable=1&V=0.0.0.0";
|
$products[] = "PN=Windows.FeatureExperiencePack.$currArch&Repairable=1&V=0.0.0.0";
|
||||||
$products[] = "PN=Windows.ManagementOOBE.$currArch&IsWindowsManagementOOBE=1&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.OOBE.$currArch&IsWindowsOOBE=1&Repairable=1&V=$build";
|
||||||
|
$products[] = "PN=Windows.OOBE.Cumulative.$currArch&V=0.0.0.0";
|
||||||
|
$products[] = "PN=Windows.OOBE.Standalone.$currArch&V=0.0.0.0";
|
||||||
$products[] = "PN=Windows.UpdateStackPackage.$currArch&Name=Update Stack Package&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";
|
$products[] = "PN=Hammer.$currArch&Source=UpdateOrchestrator&V=0.0.0.0";
|
||||||
$products[] = "PN=MSRT.$currArch&Source=UpdateOrchestrator&V=0.0.0.0";
|
$products[] = "PN=MSRT.$currArch&Source=UpdateOrchestrator&V=0.0.0.0";
|
||||||
|
|||||||
Reference in New Issue
Block a user