mirror of
https://github.com/abbodi1406/KMS_VL_ALL_AIO.git
synced 2024-12-22 01:40:49 +01:00
v0.49.0 release
Replace cleanospp.exe with CleanOffice.ps1 Add fallback for Office 16.0 C2R licenses installer Enhance Office 15.0 C2R detection
This commit is contained in:
parent
f2da8d485e
commit
70b8de8b57
1 changed files with 153 additions and 216 deletions
|
@ -1,6 +1,6 @@
|
||||||
<!-- : Begin batch script
|
<!-- : Begin batch script
|
||||||
@setlocal DisableDelayedExpansion
|
@setlocal DisableDelayedExpansion
|
||||||
@set uivr=v48
|
@set uivr=v49
|
||||||
@echo off
|
@echo off
|
||||||
:: ### Configuration Options ###
|
:: ### Configuration Options ###
|
||||||
|
|
||||||
|
@ -214,6 +214,7 @@ set "_mO14m=Detected Office 2010 MSI Retail is not supported by KMS_VL_ALL"
|
||||||
set "_mO15m=Detected Office 2013 MSI Retail is not supported by KMS_VL_ALL"
|
set "_mO15m=Detected Office 2013 MSI Retail is not supported by KMS_VL_ALL"
|
||||||
set "_mO16m=Detected Office 2016 MSI Retail is not supported by KMS_VL_ALL"
|
set "_mO16m=Detected Office 2016 MSI Retail is not supported by KMS_VL_ALL"
|
||||||
set "_mOuwp=Detected Office 365/2016 UWP is not supported by KMS_VL_ALL"
|
set "_mOuwp=Detected Office 365/2016 UWP is not supported by KMS_VL_ALL"
|
||||||
|
set DO15Ids=ProPlus,Standard,Access,Lync,Excel,Groove,InfoPath,OneNote,Outlook,PowerPoint,Publisher,Word
|
||||||
set DO16Ids=ProPlus,Standard,Access,SkypeforBusiness,Excel,Outlook,PowerPoint,Publisher,Word
|
set DO16Ids=ProPlus,Standard,Access,SkypeforBusiness,Excel,Outlook,PowerPoint,Publisher,Word
|
||||||
set LV16Ids=Mondo,ProPlus,ProjectPro,VisioPro,Standard,ProjectStd,VisioStd,Access,SkypeforBusiness,OneNote,Excel,Outlook,PowerPoint,Publisher,Word
|
set LV16Ids=Mondo,ProPlus,ProjectPro,VisioPro,Standard,ProjectStd,VisioStd,Access,SkypeforBusiness,OneNote,Excel,Outlook,PowerPoint,Publisher,Word
|
||||||
set LR16Ids=%LV16Ids%,Professional,HomeBusiness,HomeStudent,O365Business,O365SmallBusPrem,O365HomePrem,O365EduCloud
|
set LR16Ids=%LV16Ids%,Professional,HomeBusiness,HomeStudent,O365Business,O365SmallBusPrem,O365HomePrem,O365EduCloud
|
||||||
|
@ -362,10 +363,11 @@ reg delete "%IFEO%\sppsvc.exe" /f %_Nul3%
|
||||||
call :StopService sppsvc
|
call :StopService sppsvc
|
||||||
)
|
)
|
||||||
|
|
||||||
set _Identity=0
|
|
||||||
set kNext=HKCU\SOFTWARE\Microsoft\Office\16.0\Common\Licensing\LicensingNext
|
set kNext=HKCU\SOFTWARE\Microsoft\Office\16.0\Common\Licensing\LicensingNext
|
||||||
dir /b /s /a:-d "!_Local!\Microsoft\Office\Licenses\*1*" %_Nul3% && set _Identity=1
|
:: set _Identity=0
|
||||||
dir /b /s /a:-d "!ProgramData!\Microsoft\Office\Licenses\*1*" %_Nul3% && set _Identity=1
|
:: dir /b /s /a:-d "!_Local!\Microsoft\Office\Licenses\*1*" %_Nul3% && set _Identity=1
|
||||||
|
:: dir /b /s /a:-d "!ProgramData!\Microsoft\Office\Licenses\*1*" %_Nul3% && set _Identity=1
|
||||||
|
:: if %_Identity% EQU 1
|
||||||
|
|
||||||
set _uRI=%KMS_RenewalInterval%
|
set _uRI=%KMS_RenewalInterval%
|
||||||
set _uAI=%KMS_ActivationInterval%
|
set _uAI=%KMS_ActivationInterval%
|
||||||
|
@ -379,7 +381,7 @@ set sub_next=0
|
||||||
set sub_o365=0
|
set sub_o365=0
|
||||||
set sub_proj=0
|
set sub_proj=0
|
||||||
set sub_vsio=0
|
set sub_vsio=0
|
||||||
if %_Identity% EQU 1 reg query %kNext% /v MigrationToV5Done %_Nul2% | find /i "0x1" %_Nul1% && call :officeSub
|
reg query %kNext% /v MigrationToV5Done %_Nul2% | find /i "0x1" %_Nul1% && call :officeSub
|
||||||
set Unattend=1
|
set Unattend=1
|
||||||
set _ReAR=0
|
set _ReAR=0
|
||||||
set _AUR=0
|
set _AUR=0
|
||||||
|
@ -400,7 +402,7 @@ set sub_next=0
|
||||||
set sub_o365=0
|
set sub_o365=0
|
||||||
set sub_proj=0
|
set sub_proj=0
|
||||||
set sub_vsio=0
|
set sub_vsio=0
|
||||||
if %_Identity% EQU 1 reg query %kNext% /v MigrationToV5Done %_Nul2% | find /i "0x1" %_Nul1% && call :officeSub
|
reg query %kNext% /v MigrationToV5Done %_Nul2% | find /i "0x1" %_Nul1% && call :officeSub
|
||||||
set _dMode=Manual
|
set _dMode=Manual
|
||||||
set _ReAR=0
|
set _ReAR=0
|
||||||
set _AUR=0
|
set _AUR=0
|
||||||
|
@ -838,6 +840,7 @@ if %sub_next% EQU 1 reg delete HKCU\SOFTWARE\Microsoft\Office\16.0\Common\Licens
|
||||||
set Off1ce=1
|
set Off1ce=1
|
||||||
set _sC2R=sppoff
|
set _sC2R=sppoff
|
||||||
set _fC2R=ReturnSPP
|
set _fC2R=ReturnSPP
|
||||||
|
|
||||||
set vol_off14=0&set vol_off15=0&set vol_off16=0&set vol_off19=0&set vol_off21=0
|
set vol_off14=0&set vol_off15=0&set vol_off16=0&set vol_off19=0&set vol_off21=0
|
||||||
set "_qr=%_zz1% %spp% %_zz2% %_zz5%Description like '%%KMSCLIENT%%' AND NOT Name like '%%MondoR_KMS_Automation%%' %_zz6% %_zz3% Name %_zz4%"
|
set "_qr=%_zz1% %spp% %_zz2% %_zz5%Description like '%%KMSCLIENT%%' AND NOT Name like '%%MondoR_KMS_Automation%%' %_zz6% %_zz3% Name %_zz4%"
|
||||||
%_qr% > "!_temp!\sppchk.txt" 2>&1
|
%_qr% > "!_temp!\sppchk.txt" 2>&1
|
||||||
|
@ -855,6 +858,7 @@ set "_qr=%_zz1% %spp% %_zz2% "ApplicationID='%_oApp%' AND LicenseFamily like 'Of
|
||||||
if %vol_off15% EQU 1 find /i "OfficeMondoVL_KMS_Client" "!_temp!\sppchk.txt" %_Nul1% && (
|
if %vol_off15% EQU 1 find /i "OfficeMondoVL_KMS_Client" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
%_qr% %_Nul2% | find /i "O365" %_Nul1% || (set vol_off15=0)
|
%_qr% %_Nul2% | find /i "O365" %_Nul1% || (set vol_off15=0)
|
||||||
)
|
)
|
||||||
|
|
||||||
set ret_off14=0&set ret_off15=0&set ret_off16=0&set ret_off19=0&set ret_off21=0
|
set ret_off14=0&set ret_off15=0&set ret_off16=0&set ret_off19=0&set ret_off21=0
|
||||||
set "_qr=%_zz1% %spp% %_zz2% %_zz5%ApplicationID='%_oApp%' AND NOT Name like '%%O365%%' %_zz6% %_zz3% Name %_zz4%"
|
set "_qr=%_zz1% %spp% %_zz2% %_zz5%ApplicationID='%_oApp%' AND NOT Name like '%%O365%%' %_zz6% %_zz3% Name %_zz4%"
|
||||||
%_qr% > "!_temp!\sppchk.txt" 2>&1
|
%_qr% > "!_temp!\sppchk.txt" 2>&1
|
||||||
|
@ -864,6 +868,7 @@ find /i "R_Retail" "!_temp!\sppchk.txt" %_Nul2% | find /i "Office 16" %_Nul1% &&
|
||||||
find /i "R_Retail" "!_temp!\sppchk.txt" %_Nul2% | find /i "Office 15" %_Nul1% && (set ret_off15=1)
|
find /i "R_Retail" "!_temp!\sppchk.txt" %_Nul2% | find /i "Office 15" %_Nul1% && (set ret_off15=1)
|
||||||
set "_qr=%_zz1% %spp% %_zz2% %_zz5%ApplicationID='%_oA14%'%_zz6% %_zz3% Description %_zz4%"
|
set "_qr=%_zz1% %spp% %_zz2% %_zz5%ApplicationID='%_oA14%'%_zz6% %_zz3% Description %_zz4%"
|
||||||
if %winbuild% LSS 9200 if %vol_off14% EQU 0 %_qr% %_Nul2% | findstr /i channel %_Nul1% && (set ret_off14=1)
|
if %winbuild% LSS 9200 if %vol_off14% EQU 0 %_qr% %_Nul2% | findstr /i channel %_Nul1% && (set ret_off14=1)
|
||||||
|
|
||||||
set run_off21=0&set prr_off21=0&set prv_off21=0
|
set run_off21=0&set prr_off21=0&set prv_off21=0
|
||||||
if %loc_off21% EQU 1 if %ret_off21% EQU 1 if %_O16MSI% EQU 0 if %vol_off21% EQU 0 set run_off21=1
|
if %loc_off21% EQU 1 if %ret_off21% EQU 1 if %_O16MSI% EQU 0 if %vol_off21% EQU 0 set run_off21=1
|
||||||
if %loc_off21% EQU 1 if %ret_off21% EQU 1 if %_O16MSI% EQU 0 if %vol_off21% EQU 1 (
|
if %loc_off21% EQU 1 if %ret_off21% EQU 1 if %_O16MSI% EQU 0 if %vol_off21% EQU 1 (
|
||||||
|
@ -889,6 +894,7 @@ if %sub_vsio% EQU 0 for %%a in (VisioPro,VisioStd) do find /i "Office21%%a2021R"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if %loc_off21% EQU 1 if %ret_off21% EQU 1 if %_O16MSI% EQU 0 if %vol_off21% EQU 1 if %prv_off21% LSS %prr_off21% (set vol_off21=0&set run_off21=1)
|
if %loc_off21% EQU 1 if %ret_off21% EQU 1 if %_O16MSI% EQU 0 if %vol_off21% EQU 1 if %prv_off21% LSS %prr_off21% (set vol_off21=0&set run_off21=1)
|
||||||
|
|
||||||
set run_off19=0&set prr_off19=0&set prv_off19=0
|
set run_off19=0&set prr_off19=0&set prv_off19=0
|
||||||
if %loc_off19% EQU 1 if %ret_off19% EQU 1 if %_O16MSI% EQU 0 if %vol_off19% EQU 0 set run_off19=1
|
if %loc_off19% EQU 1 if %ret_off19% EQU 1 if %_O16MSI% EQU 0 if %vol_off19% EQU 0 set run_off19=1
|
||||||
if %loc_off19% EQU 1 if %ret_off19% EQU 1 if %_O16MSI% EQU 0 if %vol_off19% EQU 1 (
|
if %loc_off19% EQU 1 if %ret_off19% EQU 1 if %_O16MSI% EQU 0 if %vol_off19% EQU 1 (
|
||||||
|
@ -914,6 +920,7 @@ if %sub_vsio% EQU 0 for %%a in (VisioPro,VisioStd) do find /i "Office19%%a2019R"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if %loc_off19% EQU 1 if %ret_off19% EQU 1 if %_O16MSI% EQU 0 if %vol_off19% EQU 1 if %prv_off19% LSS %prr_off19% (set vol_off19=0&set run_off19=1)
|
if %loc_off19% EQU 1 if %ret_off19% EQU 1 if %_O16MSI% EQU 0 if %vol_off19% EQU 1 if %prv_off19% LSS %prr_off19% (set vol_off19=0&set run_off19=1)
|
||||||
|
|
||||||
set run_off16=0&set prr_off16=0&set prv_off16=0
|
set run_off16=0&set prr_off16=0&set prv_off16=0
|
||||||
if %loc_off16% EQU 1 if %ret_off16% EQU 1 if %_O16MSI% EQU 0 if defined _C16R (
|
if %loc_off16% EQU 1 if %ret_off16% EQU 1 if %_O16MSI% EQU 0 if defined _C16R (
|
||||||
for %%a in (%DO16Ids%) do find /i "Office16%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
for %%a in (%DO16Ids%) do find /i "Office16%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
|
@ -952,11 +959,37 @@ set "_qr=%_zz1% %spp% %_zz2% %_zz5%ApplicationID='%_oApp%' AND LicenseFamily lik
|
||||||
if %loc_off16% EQU 1 if %run_off16% EQU 0 if %sub_o365% EQU 0 if defined _C16R %_qr% %_Nul2% | find /i "O365" %_Nul1% && (
|
if %loc_off16% EQU 1 if %run_off16% EQU 0 if %sub_o365% EQU 0 if defined _C16R %_qr% %_Nul2% | find /i "O365" %_Nul1% && (
|
||||||
find /i "Office16MondoVL" "!_temp!\sppchk.txt" %_Nul1% || set run_off16=1
|
find /i "Office16MondoVL" "!_temp!\sppchk.txt" %_Nul1% || set run_off16=1
|
||||||
)
|
)
|
||||||
set run_off15=0
|
|
||||||
if %loc_off15% EQU 1 if %ret_off15% EQU 1 if %_O15MSI% EQU 0 (
|
set run_off15=0&set prr_off15=0&set prv_off15=0
|
||||||
set vol_off15=0
|
if %loc_off15% EQU 1 if %ret_off15% EQU 1 if %_O15MSI% EQU 0 if %vol_off15% EQU 0 if defined _C15R set run_off15=1
|
||||||
if defined _C15R set run_off15=1
|
if %loc_off15% EQU 1 if %ret_off15% EQU 1 if %_O15MSI% EQU 0 if %vol_off15% EQU 1 if defined _C15R (
|
||||||
|
for %%a in (%DO15Ids%) do find /i "Office%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
|
call set /a prr_off15+=1
|
||||||
|
find /i "Office%%aVL" "!_temp!\sppchk.txt" %_Nul1% && call set /a prv_off15+=1
|
||||||
|
)
|
||||||
|
for %%a in (Professional) do find /i "Office%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
|
call set /a prr_off15+=1
|
||||||
|
find /i "OfficeProPlusVL" "!_temp!\sppchk.txt" %_Nul1% && call set /a prv_off15+=1
|
||||||
|
)
|
||||||
|
for %%a in (HomeBusiness,HomeStudent) do find /i "Office%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
|
call set /a prr_off15+=1
|
||||||
|
find /i "OfficeStandardVL" "!_temp!\sppchk.txt" %_Nul1% && call set /a prv_off15+=1
|
||||||
|
)
|
||||||
|
if %sub_proj% EQU 0 for %%a in (ProjectPro,ProjectStd) do find /i "Office%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
|
call set /a prr_off15+=1
|
||||||
|
find /i "Office%%aVL" "!_temp!\sppchk.txt" %_Nul1% && call set /a prv_off15+=1
|
||||||
|
)
|
||||||
|
if %sub_vsio% EQU 0 for %%a in (VisioPro,VisioStd) do find /i "Office%%aR" "!_temp!\sppchk.txt" %_Nul1% && (
|
||||||
|
call set /a prr_off15+=1
|
||||||
|
find /i "Office%%aVL" "!_temp!\sppchk.txt" %_Nul1% && call set /a prv_off15+=1
|
||||||
|
)
|
||||||
)
|
)
|
||||||
|
if %loc_off15% EQU 1 if %ret_off15% EQU 1 if %_O15MSI% EQU 0 if %vol_off15% EQU 1 if defined _C15R if %prv_off15% LSS %prr_off15% (set vol_off15=0&set run_off15=1)
|
||||||
|
set "_qr=%_zz1% %spp% %_zz2% %_zz5%ApplicationID='%_oApp%' AND LicenseFamily like 'OfficeO365%%' %_zz6% %_zz3% LicenseFamily %_zz4%"
|
||||||
|
if %loc_off15% EQU 1 if %run_off15% EQU 0 if defined _C15R %_qr% %_Nul2% | find /i "O365" %_Nul1% && (
|
||||||
|
find /i "OfficeMondoVL" "!_temp!\sppchk.txt" %_Nul1% || set run_off15=1
|
||||||
|
)
|
||||||
|
|
||||||
set vol_offgl=1
|
set vol_offgl=1
|
||||||
if %vol_off21% EQU 0 if %vol_off19% EQU 0 if %vol_off16% EQU 0 if %vol_off15% EQU 0 (
|
if %vol_off21% EQU 0 if %vol_off19% EQU 0 if %vol_off16% EQU 0 if %vol_off15% EQU 0 (
|
||||||
if %winbuild% GEQ 9200 set vol_offgl=0
|
if %winbuild% GEQ 9200 set vol_offgl=0
|
||||||
|
@ -1960,13 +1993,12 @@ pushd "!_oem!\KMS_VL_ALL_AIO-bin"
|
||||||
setlocal
|
setlocal
|
||||||
set "TMP=%SystemRoot%\Temp"
|
set "TMP=%SystemRoot%\Temp"
|
||||||
set "TEMP=%SystemRoot%\Temp"
|
set "TEMP=%SystemRoot%\Temp"
|
||||||
%_Nul3% %_psc% "cd -Lit($env:__CD__); $f=[IO.File]::ReadAllText('!_batp!') -split ':embdbin\:.*'; iex($f[1]); 2..6|%%{[BAT85]::Decode($_, $f[$_])}"
|
%_Nul3% %_psc% "cd -Lit ($env:__CD__); $f=[IO.File]::ReadAllText('!_batp!') -split ':embdbin\:.*';iex ($f[1]); 2..4|%%{[BAT85]::Decode($_, $f[$_])}; [IO.File]::WriteAllText('CleanOffice.ps1',$f[5].Trim(),[System.Text.Encoding]::ASCII)"
|
||||||
endlocal
|
endlocal
|
||||||
|
if %Unattend% EQU 0 title %_title%
|
||||||
%_Nul3% ren 2 SppExtComObjHook-x86.dll
|
%_Nul3% ren 2 SppExtComObjHook-x86.dll
|
||||||
%_Nul3% ren 3 SppExtComObjHook-x64.dll
|
%_Nul3% ren 3 SppExtComObjHook-x64.dll
|
||||||
%_Nul3% ren 4 SppExtComObjHook-arm64.dll
|
%_Nul3% ren 4 SppExtComObjHook-arm64.dll
|
||||||
%_Nul3% ren 5 cleanospp-x86.cab
|
|
||||||
%_Nul3% ren 6 cleanospp-x64.cab
|
|
||||||
popd
|
popd
|
||||||
echo.&echo %line3%&echo.
|
echo.&echo %line3%&echo.
|
||||||
echo Binaries Folder Created...
|
echo Binaries Folder Created...
|
||||||
|
@ -2026,12 +2058,14 @@ set "_LicensesPath="
|
||||||
set "_Integrator="
|
set "_Integrator="
|
||||||
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %_Nul6%') do (set "_InstallRoot=%%b\root")
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %_Nul6%') do (set "_InstallRoot=%%b\root")
|
||||||
if not "%_InstallRoot%"=="" (
|
if not "%_InstallRoot%"=="" (
|
||||||
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v InstallPath" %_Nul6%') do (set "_OSPPVBS=%%b\Office16\OSPP.VBS")
|
||||||
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v PackageGUID" %_Nul6%') do (set "_GUID=%%b")
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun /v PackageGUID" %_Nul6%') do (set "_GUID=%%b")
|
||||||
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds" %_Nul6%') do (set "_ProductIds=%%b")
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds" %_Nul6%') do (set "_ProductIds=%%b")
|
||||||
set "_Config=HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration"
|
set "_Config=HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration"
|
||||||
set "_PRIDs=HKLM\SOFTWARE\Microsoft\Office\ClickToRun\ProductReleaseIDs"
|
set "_PRIDs=HKLM\SOFTWARE\Microsoft\Office\ClickToRun\ProductReleaseIDs"
|
||||||
) else (
|
) else (
|
||||||
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun /v InstallPath" %_Nul6%') do (set "_InstallRoot=%%b\root")
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun /v InstallPath" %_Nul6%') do (set "_InstallRoot=%%b\root")
|
||||||
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun /v InstallPath" %_Nul6%') do (set "_OSPPVBS=%%b\Office16\OSPP.VBS")
|
||||||
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun /v PackageGUID" %_Nul6%') do (set "_GUID=%%b")
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun /v PackageGUID" %_Nul6%') do (set "_GUID=%%b")
|
||||||
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds" %_Nul6%') do (set "_ProductIds=%%b")
|
for /f "skip=2 tokens=2*" %%a in ('"reg query HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration /v ProductReleaseIds" %_Nul6%') do (set "_ProductIds=%%b")
|
||||||
set "_Config=HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration"
|
set "_Config=HKLM\SOFTWARE\WOW6432Node\Microsoft\Office\ClickToRun\Configuration"
|
||||||
|
@ -2121,10 +2155,12 @@ if %winbuild% GEQ 9200 (
|
||||||
set _spp=SoftwareLicensingProduct
|
set _spp=SoftwareLicensingProduct
|
||||||
set _sps=SoftwareLicensingService
|
set _sps=SoftwareLicensingService
|
||||||
set "_vbsi=%_SLMGR% /ilc "
|
set "_vbsi=%_SLMGR% /ilc "
|
||||||
|
set "_vbsf=%_SLMGR% /ilc "
|
||||||
) else (
|
) else (
|
||||||
set _spp=OfficeSoftwareProtectionProduct
|
set _spp=OfficeSoftwareProtectionProduct
|
||||||
set _sps=OfficeSoftwareProtectionService
|
set _sps=OfficeSoftwareProtectionService
|
||||||
set _vbsi="!_OSPP15VBS!" /inslic:
|
set _vbsi="!_OSPP15VBS!" /inslic:
|
||||||
|
set _vbsf="!_OSPPVBS!" /inslic:
|
||||||
)
|
)
|
||||||
set "_wmi="
|
set "_wmi="
|
||||||
set "_qr=%_zz7% %_sps% %_zz3% Version %_zz8%"
|
set "_qr=%_zz7% %_sps% %_zz3% Version %_zz8%"
|
||||||
|
@ -2142,43 +2178,14 @@ if %WMI_VBS% NEQ 0 %_qr% %_Nul2% >"!_temp!\crvRetail.txt"
|
||||||
find /i "RETAIL channel" "!_temp!\crvRetail.txt" %_Nul1% && set _Retail=1
|
find /i "RETAIL channel" "!_temp!\crvRetail.txt" %_Nul1% && set _Retail=1
|
||||||
find /i "RETAIL(MAK) channel" "!_temp!\crvRetail.txt" %_Nul1% && set _Retail=1
|
find /i "RETAIL(MAK) channel" "!_temp!\crvRetail.txt" %_Nul1% && set _Retail=1
|
||||||
find /i "TIMEBASED_SUB channel" "!_temp!\crvRetail.txt" %_Nul1% && set _Retail=1
|
find /i "TIMEBASED_SUB channel" "!_temp!\crvRetail.txt" %_Nul1% && set _Retail=1
|
||||||
set "_copp="
|
|
||||||
if exist "%SysPath%\msvcr100.dll" (
|
|
||||||
set _copp=%_temp%
|
|
||||||
) else if exist "!_InstallRoot!\vfs\System\msvcr100.dll" (
|
|
||||||
set _copp="!_InstallRoot!\vfs\System"
|
|
||||||
) else if exist "!_Install15Root!\vfs\System\msvcr100.dll" (
|
|
||||||
set _copp="!_Install15Root!\vfs\System"
|
|
||||||
) else if exist "%SystemRoot%\SysWOW64\msvcr100.dll" (
|
|
||||||
set _copp=%_temp%
|
|
||||||
set xBit=x86
|
|
||||||
) else if exist "!_InstallRoot!\vfs\SystemX86\msvcr100.dll" (
|
|
||||||
set _copp="!_InstallRoot!\vfs\SystemX86"
|
|
||||||
set xBit=x86
|
|
||||||
) else if exist "!_Install15Root!\vfs\SystemX86\msvcr100.dll" (
|
|
||||||
set _copp="!_Install15Root!\vfs\SystemX86"
|
|
||||||
set xBit=x86
|
|
||||||
)
|
|
||||||
set _exeNum=4
|
|
||||||
if %xBit%==x64 set _exeNum=5
|
|
||||||
set rancopp=0
|
set rancopp=0
|
||||||
if %_Identity% EQU 0 if %_Retail% EQU 0 if %_OMSI% EQU 0 if defined _copp call :oppcln
|
if %_Retail% EQU 0 if %_OMSI% EQU 0 call :oppcln
|
||||||
goto :oppchk
|
goto :oppchk
|
||||||
|
|
||||||
:oppcln
|
:oppcln
|
||||||
set rancopp=1
|
set rancopp=1
|
||||||
pushd %_copp%
|
%_Nul3% %_psc% "$f=[IO.File]::ReadAllText('!_batp!') -split ':embdbin\:.*';iex ($f[5])"
|
||||||
setlocal
|
|
||||||
set "TMP=%SystemRoot%\Temp"
|
|
||||||
set "TEMP=%SystemRoot%\Temp"
|
|
||||||
%_Nul3% %_psc% "$d='!cd!';$f=[IO.File]::ReadAllText('!_batp!') -split ':embdbin\:.*';iex ($f[1]);Y %_exeNum%"
|
|
||||||
endlocal
|
|
||||||
if %Unattend% EQU 0 title %_title%
|
if %Unattend% EQU 0 title %_title%
|
||||||
if exist cleanospp.exe (
|
|
||||||
%_Nul3% cleanospp.exe -Licenses
|
|
||||||
%_Nul3% del /f /q cleanospp.exe
|
|
||||||
)
|
|
||||||
popd
|
|
||||||
exit /b
|
exit /b
|
||||||
|
|
||||||
:oppchk
|
:oppchk
|
||||||
|
@ -2300,6 +2307,11 @@ echo Converting Office C2R Retail-to-Volume:
|
||||||
)
|
)
|
||||||
if %_C16Msg% EQU 0 (if %_Office15% EQU 1 (goto :R15V) else (goto :GVLKC2R))
|
if %_C16Msg% EQU 0 (if %_Office15% EQU 1 (goto :R15V) else (goto :GVLKC2R))
|
||||||
|
|
||||||
|
for %%# in ("!_LicensesPath!\client-issuance-*.xrm-ms") do (
|
||||||
|
%_cscript% %_vbsf%"!_LicensesPath!\%%~nx#"
|
||||||
|
)
|
||||||
|
%_cscript% %_vbsf%"!_LicensesPath!\pkeyconfig-office.xrm-ms"
|
||||||
|
|
||||||
if !_Mondo! EQU 1 (
|
if !_Mondo! EQU 1 (
|
||||||
call :InsLic Mondo
|
call :InsLic Mondo
|
||||||
)
|
)
|
||||||
|
@ -2468,11 +2480,6 @@ if !_O365ProPlus! EQU 0 if !_ProPlus2021! EQU 0 if !_ProPlus2019! EQU 0 if !_Pro
|
||||||
if %_Office15% EQU 1 (goto :R15V) else (goto :GVLKC2R)
|
if %_Office15% EQU 1 (goto :R15V) else (goto :GVLKC2R)
|
||||||
|
|
||||||
:R15V
|
:R15V
|
||||||
for %%# in ("!_Licenses15Path!\client-issuance-*.xrm-ms") do (
|
|
||||||
%_cscript% %_vbsi%"!_Licenses15Path!\%%~nx#"
|
|
||||||
)
|
|
||||||
%_cscript% %_vbsi%"!_Licenses15Path!\pkeyconfig-office.xrm-ms"
|
|
||||||
|
|
||||||
set _O15Ids=Standard,ProjectPro,VisioPro,ProjectStd,VisioStd,Access,Lync
|
set _O15Ids=Standard,ProjectPro,VisioPro,ProjectStd,VisioStd,Access,Lync
|
||||||
set _A15Ids=Excel,Groove,InfoPath,OneNote,Outlook,PowerPoint,Publisher,Word
|
set _A15Ids=Excel,Groove,InfoPath,OneNote,Outlook,PowerPoint,Publisher,Word
|
||||||
set _R15Ids=SPD,Mondo,%_O15Ids%,%_A15Ids%,Professional,HomeBusiness,HomeStudent,O365ProPlus,O365Business,O365SmallBusPrem,O365HomePrem
|
set _R15Ids=SPD,Mondo,%_O15Ids%,%_A15Ids%,Professional,HomeBusiness,HomeStudent,O365ProPlus,O365Business,O365SmallBusPrem,O365HomePrem
|
||||||
|
@ -2530,6 +2537,11 @@ echo Converting Office C2R Retail-to-Volume:
|
||||||
)
|
)
|
||||||
if %_C15Msg% EQU 0 goto :GVLKC2R
|
if %_C15Msg% EQU 0 goto :GVLKC2R
|
||||||
|
|
||||||
|
for %%# in ("!_Licenses15Path!\client-issuance-*.xrm-ms") do (
|
||||||
|
%_cscript% %_vbsi%"!_Licenses15Path!\%%~nx#"
|
||||||
|
)
|
||||||
|
%_cscript% %_vbsi%"!_Licenses15Path!\pkeyconfig-office.xrm-ms"
|
||||||
|
|
||||||
if !_Mondo! EQU 1 (
|
if !_Mondo! EQU 1 (
|
||||||
call :Ins15Lic Mondo
|
call :Ins15Lic Mondo
|
||||||
)
|
)
|
||||||
|
@ -2611,13 +2623,56 @@ goto :GVLKC2R
|
||||||
|
|
||||||
:InsLic
|
:InsLic
|
||||||
set "_ID=%1Volume"
|
set "_ID=%1Volume"
|
||||||
|
set "_patt=%1VL_"
|
||||||
set "_pkey="
|
set "_pkey="
|
||||||
|
set "_kpey="
|
||||||
if not "%2"=="" (
|
if not "%2"=="" (
|
||||||
set "_ID=%1Retail"
|
set "_ID=%1Retail"
|
||||||
|
set "_patt=%1R_"
|
||||||
set "_pkey=PidKey=%2"
|
set "_pkey=PidKey=%2"
|
||||||
|
set "_kpey=%2"
|
||||||
)
|
)
|
||||||
reg delete %_Config% /f /v %_ID%.OSPPReady %_Nul3%
|
reg delete %_Config% /f /v %_ID%.OSPPReady %_Nul3%
|
||||||
"!_Integrator!" /I /License PRIDName=%_ID%.16 %_pkey% PackageGUID="%_GUID%" PackageRoot="!_InstallRoot!" %_Nul1%
|
"!_Integrator!" /I /License PRIDName=%_ID%.16 %_pkey% PackageGUID="%_GUID%" PackageRoot="!_InstallRoot!" %_Nul1%
|
||||||
|
|
||||||
|
set fallback=0
|
||||||
|
set "_qr=wmic path %_spp% where ApplicationID='%_oApp%' get LicenseFamily"
|
||||||
|
if %WMI_VBS% NEQ 0 set "_qr=%_csq% %_spp% "ApplicationID='%_oApp%'" LicenseFamily"
|
||||||
|
%_qr% %_Nul2% | find /i "%_patt%" %_Nul1% || (set fallback=1)
|
||||||
|
if %fallback% equ 0 goto :IntOK
|
||||||
|
|
||||||
|
set "_lsfs="
|
||||||
|
for %%# in ("!_LicensesPath!\%_patt%*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
if defined _kpey (
|
||||||
|
for %%# in ("!_LicensesPath!\%1DemoR*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
for %%# in ("!_LicensesPath!\%1E5R*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
for %%# in ("!_LicensesPath!\%1EDUR*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
for %%# in ("!_LicensesPath!\%1MSDNR*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
for %%# in ("!_LicensesPath!\%1O365R*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
for %%# in ("!_LicensesPath!\%1CO365R*.xrm-ms") do (
|
||||||
|
set "_lsfs=!_lsfs! %%~nx#"
|
||||||
|
)
|
||||||
|
)
|
||||||
|
for %%# in (!_lsfs!) do (
|
||||||
|
%_cscript% %_vbsf%"!_LicensesPath!\%%#"
|
||||||
|
)
|
||||||
|
set "_qr=wmic path %_sps% where Version='%_wmi%' call InstallProductKey ProductKey="%_kpey%""
|
||||||
|
if %WMI_VBS% NEQ 0 set "_qr=%_csp% %_sps% "%_kpey%""
|
||||||
|
if defined _kpey %_qr% %_Nul3%
|
||||||
|
|
||||||
|
:IntOK
|
||||||
reg add %_Config% /f /v %_ID%.OSPPReady /t REG_SZ /d 1 %_Nul1%
|
reg add %_Config% /f /v %_ID%.OSPPReady /t REG_SZ /d 1 %_Nul1%
|
||||||
reg query %_Config% /v ProductReleaseIds | findstr /I "%_ID%" %_Nul1%
|
reg query %_Config% /v ProductReleaseIds | findstr /I "%_ID%" %_Nul1%
|
||||||
if %errorlevel% NEQ 0 (
|
if %errorlevel% NEQ 0 (
|
||||||
|
@ -4102,9 +4157,7 @@ Add-Type -Language CSharp -TypeDefinition @"
|
||||||
:: 4th Block:
|
:: 4th Block:
|
||||||
:: SppExtComObjHook-arm64.dll SHA-1: 1139ae6243934ca621e6d4ed2e2f34cc130ef88a
|
:: SppExtComObjHook-arm64.dll SHA-1: 1139ae6243934ca621e6d4ed2e2f34cc130ef88a
|
||||||
:: 5th Block:
|
:: 5th Block:
|
||||||
:: cleanospp-x86.cab SHA-1 cab: 77a936d8986fd46e098afe583fd2ebfb6af25031 / EXE: 39ed8659e7ca16aaccb86def94ce6cec4c847dd6
|
:: CleanOffice.ps1 SHA-1: e34083950878395df4e3101da19b4ad3248c943b
|
||||||
:: 6th Block:
|
|
||||||
:: cleanospp-x64.cab SHA-1 cab: 2ead12fea8eaf8f0d71bbcc06db84c7ba1879ca3 / EXE: d30a0e4e5911d3ca705617d17225372731c770e2
|
|
||||||
#>
|
#>
|
||||||
|
|
||||||
:embdbin:
|
:embdbin:
|
||||||
|
@ -4675,170 +4728,53 @@ Add-Type -Language CSharp -TypeDefinition @"
|
||||||
::00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
::00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||||
::0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
::0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||||
:embdbin:
|
:embdbin:
|
||||||
::O/bZg00000vK{~c00000EC2ui000000|5a50RR9100000N(o.=0RRIP07L++00000005js0BQgLV{Bz&Zf|pNa4uzdWdQc^MT=k^07P4WfQ;wY20#S?GDBb]000jF
|
function UninstallLicenses($DllPath) {
|
||||||
::;nm&MErwD{qEHrEKpp=lE4!StIjVhYGEh-9LZjuPWy,GR62Jlhej|n&_uKW6JX@WuJ4[Z_kYt3O-3H&yT7Xj+o4fURrH}b!/-?A$DH+m5C2L4!4FJpx9Mk~.J=kXZ
|
$DynAssembly = New-Object System.Reflection.AssemblyName('Win32Lib')
|
||||||
::U/CFjr&Rgvoq-h4u$rt9afgky.V1ZJS$m#hvh~{a73J9WY_2l~Yx~|L&G$l}k92Hp8jj}bq(3!5(?aM,uZbN;6eM6P0+iY8xIn]P|NHNMK?Pqe00319Kovt3[14wf
|
$AssemblyBuilder = [AppDomain]::CurrentDomain.DefineDynamicAssembly($DynAssembly, [Reflection.Emit.AssemblyBuilderAccess]::Run)
|
||||||
::Gv8x2-Z$F|L5ZeGO8hSfy&OR}5@}vCsQ=|MV#.(700|;!EiMQI=wAwEwmS^a)T42tWFa4HX|+uAA=#L]Hg{?d@eX#1;/l&/?B/Qr@c&!d/p@T?e&DgkS@J|/)Cxv!
|
$ModuleBuilder = $AssemblyBuilder.DefineDynamicModule('Win32Lib', $False)
|
||||||
::YiYHHOl-=mclY[+rH}t.^hQ_=9cQzpNk7h.3(0R?5@!@Jo=u@rvv(N6tc9_c#IhQ^{@nV1G!ZFl.MPTbqG00FD6It?[hBUDxvbs(5+7}fD^r4,c#+s=]Q)wGfCee8
|
$TypeBuilder = $ModuleBuilder.DefineType('sppc', 'Public, Class')
|
||||||
::xsM;#1g{S&Nb_72^^34Tu0pVq&i90Z_;jS_EOYmnZA$X,49L&_$5OK)wrh5t;k#uCuJbF;P87OqxG66jIDjCB!asve+[Rp=^GRecapW1ufaTT|6tnSgL5Lq,nG17!
|
$DllImportConstructor = [Runtime.InteropServices.DllImportAttribute].GetConstructor(@([String]))
|
||||||
::_^H9xIzJik)=_xRS-xF-3g-.;L7IJ^+^b{[v(VP=pbG@9LQ_.E0W}MFiD0p+Lz[T(b0GI&!-^v{a2JC$Gu.6L2tPm(K=}fP6|y)Pb]zI+pb3FDJhB,|ZUN?3ki7H$
|
$FieldArray = [Reflection.FieldInfo[]] @([Runtime.InteropServices.DllImportAttribute].GetField('EntryPoint'))
|
||||||
::2r^0s0zqI4fENbLbKnzgL)0MN0[4r-{eW}e^/F(e?/d@|NCy!2fmz@$5t{tyKR~UFe7_Lj#$F6c21$R38Bq(ZtAec!MS5PANT=8nI!)Pb$w3O?7v$I7IeBBU!kY-p
|
|
||||||
::klvN{f,gf7BB/pyCUxy05[+iLC}o&&P.i.[E9rWS;{(za0wz,e?eXya7nNwlDaxU-NjPr]F0(sqn}2DMzi^Jo,Se5.MivntdFL0NCY(!V]A2q6,V0@W24,M+Mjh=8
|
$Open = $TypeBuilder.DefineMethod('SLOpen', [Reflection.MethodAttributes] 'Public, Static', [int], @([IntPtr].MakeByRefType()))
|
||||||
::F(;^(aEZ},)2FX/lAPFu_vvv99VeC6O3_Qvmpq{igQggsMAzkL8X+yGdmhuD0i9VFc5vX@9Tf!Flv.,b3SDfBbnc9t2TWOtUDE?7lcxWS-IkM-hDLnpL]T&jL+7w9
|
$Open.SetCustomAttribute((New-Object Reflection.Emit.CustomAttributeBuilder(
|
||||||
::u{nv67x?cEdRSkTF^E~mH|6$dgT_hrY0$T4XQNAAJGU6SsX2,Ug?y1^9{AHqv/CLZG;WGi@bYS-;H&3Cv)}@IuTncv@$u;|U6S22o!&Ua=alSCr47d?C&4Z|a!2/(
|
$DllImportConstructor,
|
||||||
::U1=8$[tf~bf{EsAS.Vx&=.K7W/L.Tx==RKYYvJ1IY$~RRk.I6A@Mdj@RO/jFhnYYn[50#,^x,8mYIjotRG!)&?mBpJ;.GXOQ{B!(Pwk[(&VeGZCOtyBm[cUflKTF8
|
@($DllPath),
|
||||||
::9n4}c(4sBwa|Sh99SG+K-T|2e,G;Jzuv~FFOSdTU@+bRrTAb0KhSNwV#(c6Vh=I4CM0xt5#)q(wNi=@k^M_iVUaG|tJl,wbCPPvD+Ks}?v(3!&8Pei^x)5TNxIq3@
|
$FieldArray,
|
||||||
::)HZ.Kf!2,{tQR@CE#6|[qchRl]v!@Ism#ppc0oY5q[J3~ayWfA0Uk;k_!6lWGVo0E/#oOXC-Z2Ca!C&~2d#x98r8ikG33JLeG8(^hKQZ8(5,TI3v3;)-~-FSCK}5b
|
@('SLOpen'))))
|
||||||
::no#nRZXg@95UA98Xm5b1LFEYqM0$Zr;;?&(M_$vx{a}n39-eA4fj$eUBGM]V3[$SI,!-7i2]knF=w?j^]wxH0X^k|lOj6?T)IhY[0qYE,h|y.HO9U_V@8ic-1a4(|
|
|
||||||
::3=0zgh_7j2kcQ4CCLz5{0!RoJ$nnPIhh1obDO/ZuDDoq}HB5xQO$xcTp&iDcSL2UtCn0rQk}~?;^b-8zlqNTYjRsA5W1;#6;WfL8lEC1nqr?hFJfkssE.Je-C1pzF
|
$GetSLIDList = $TypeBuilder.DefineMethod('SLGetSLIDList', [Reflection.MethodAttributes] 'Public, Static', [int], @([IntPtr], [int], [guid].MakeByRefType(), [int], [int].MakeByRefType(), [IntPtr].MakeByRefType()))
|
||||||
::id^)GNFx&WJe0~!FXK@e[b/c_08BagZhlgN9e]3ORBXAyI|ztg|8{r]x3H!Fi{#T3a~qi3bcE[FZaO{_q..D24;NJefnrSCnghm](=5RQHK.,hIq5!nB9K5DW]zHw
|
$GetSLIDList.SetCustomAttribute((New-Object Reflection.Emit.CustomAttributeBuilder(
|
||||||
::rhwb,gvPbM3^(BTVnp$eP2dYzs0^+ZaDH{jRS)NVxAgNZX#UFBykAs|aGy;0jiPW#f}|?jCa7V0e-tY(KbVjp[{{2mF2zOFKOU=USnU8X41MI(-hD64HX5qqioJ;Y
|
$DllImportConstructor,
|
||||||
::p}0Zi$48aWXsey}OQ@-6t45zu9DJFoPYOuNX&a,T]xT4~7],Vy@q@lFcwZDyklB^)&9b5hGx(s21oELX[@nVFebC/ZYXpEmJ}Px/LM.2aB[CxQ)fqGBV=UTPq-tLA
|
@($DllPath),
|
||||||
::HAWSn&BRYu?X0g@8c3}@P$]pFGRS&n)&Eb6@=d@{2O}u~f)(^7MV36[FX.=F6KZ|0yo=Zv8QMPEy-=xd9wz_FYZ+&mZ~]Yq.-QOZDA~?q4NYSBb!g_hCV~OPV]OOq
|
$FieldArray,
|
||||||
::A#7$5D$3Pdll782#-aBb)Z))-eSDp)p?@}m/c7ZBvw;LOs9k5MQHQQQG[L2b{k#hnO^OiR6b.A?No1mqHJC/5BhBzrnRK3GU!hiIZU!12w2pWvrV2IVY!u-{[FN.2
|
@('SLGetSLIDList'))))
|
||||||
::CG?@Oh-o?+;W4B#;-?tQCtLYdGzD3AFUdDuD(mSc,XZR6bDQ)}h,[J.SI-AFUanfXRkQwoL9~Plr51u!NphusW?i$0c2+d.KY~]lEef1Osp|?N3gA8C.vxw9mvx|H
|
|
||||||
::ML80+sItx5Ws,x0qjJV)/QFf^g;h=,w=?]mEs$=t;[5CGo!R~8mvoh,,U|&[+qm@W38U|@8a@xJ#4{Cilfa{;,E+zQWn?BN=X@[efk|ZPZ$48]__mOk3@m.=dZSlS
|
$UninstallLicense = $TypeBuilder.DefineMethod('SLUninstallLicense', [Reflection.MethodAttributes] 'Public, Static', [int], @([IntPtr], [IntPtr]))
|
||||||
::D$5#k)rj9eRfVM@BZ_~N6b#mY6y1-_k|5Sn#D.neT!zN^,l&#fnU5j/)Vd~tC6nJBxeI&oz;fvUa6V(s#Wko_x8)7mqJ5/+OA),{IPh|XoC6L2vg-VG3JTwli|S#n
|
$UninstallLicense.SetCustomAttribute((New-Object Reflection.Emit.CustomAttributeBuilder(
|
||||||
::WnDl-Xh+=GEIH3N.{5JHa?nU.hmx,73bvr3_b(?i)K7N]wiSx,R^Q1O?$o!0fR{nTp|=R,;O;N-h.$P)5K^5[4}d4qYKmCvy~FAU,]8)]3+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QS)P@7~oR
|
$SPPC::SLOpen([ref]$handle) | Out-Null
|
||||||
::$qLD2aBl=1)V?&q57mPKbI;bJ)3eTld/ZE1ef6xj8tJuDbcD_4/Vtl&Na~-rX!v8ol[Ps7cBlPNaRi]{QG25kgfN@BtgVYqkRMYpz-Aj_J)/Xn74Nd$!@8h.3f3iR
|
$pnReturnIds = 0
|
||||||
::crB1GsH4;$M#KhL1J7e|#{.x,M})g;=6+m{FVFsbj2oXo=ZxOY{c_7nfvp+#B/I^$xo+AO(scNe7oRtDVDasW-2zU&-]OU4.)NRI2vm#8@0p|yUOv[2@;WF-1;d_)
|
$ppReturnIds = [IntPtr]::Zero
|
||||||
::reT51IjF(D#,5Q-gA2myeo0B+I]67zYU)_=P8IxM,a3fkPxe{36TAeln$qh_3lJeoX~,JiGvkS@=(,SW7UA7-tY=sW-iy}qgBuY)4$Fo,SXCuff&20M=X4xazH(u9
|
|
||||||
::Bei}DbHzolqGC;$8!2x/pIC,r;!zI9Lw3iLaI9(.I#nd&ILsXn9EqoP1dG_L8|n26Xt{#gXlY~Acutpek,A)X[XW^74(TIm?kn!A&2+jJ^5Ge|uINpNwj]8q8Tab;
|
if (!$SPPC::SLGetSLIDList($handle, 0, [ref][guid]"0ff1ce15-a989-479d-af46-f275c6370663", 6, [ref]$pnReturnIds, [ref]$ppReturnIds)) {
|
||||||
::wS=8d9+#3BBHORt0V=g5XQyRFoO89xK1O,p^yJyPuC6M_[NU4Z$Y1!$GX2-JoZB,t.UM(V7E;_}R4Nhp1CNmp4VfzAH1IUW&bf4|6;|^fCz49$,LN&yVWdH2y0=ad
|
foreach ($i in 0..($pnReturnIds - 1)) {
|
||||||
::;)SsZp=tbiMc;SPYwMlT1hA,Fq&1@aDx-U[=FX|}eVi#=73g/cBjxD$a7lbh#WV1uI!hf&K(mOXrX?(z?9OE8{T~53q;2=FNnOg_(ay5BIeVASq[-dcdk1kSEoS$c
|
$SPPC::SLUninstallLicense($handle, [System.Int64]$ppReturnIds + [System.Int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dC5?Q^NK24B#GQF^Rq#s0.F6(ZZKqAWKmrdPd+Io;$jGc-8XhIqRoZ.^
|
|
||||||
::bGRRDAA5b7t^#hC4,OSzaS4])o!!yhkKc87#dpU$KspGOml#N^/0&QOV|c5oyQ;fyQ)Nb#@op1b.K4roy0W]nI;|F~I?BAx9bNZ$;zG6,y1Y8Qy1kv^U0;DF.Cqk(
|
|
||||||
::JG$&u,+iEw,j=[2,r~8{W&pvo#cr8hnO(RRj2$?TV7suL(aT{!vwOCy,)urO-3DNu??TX-@ELKh-Iiarh&Ck)synN[jk~pXjyoQAlkVLFyUKT&cX2zxXW[@;@=J67
|
|
||||||
::^.=RSch_64c=vo4?9hln6([8{2Hsk{2c8c-TzDpURq(PJo#Dgai]B=V3ghVT$MHJ6V!R&n9$p[vG2Rc+53di/2k#+BGF|}BRbo1Ey3T,I0AK
|
|
||||||
:embdbin:
|
:embdbin:
|
||||||
|
|
||||||
:spptask:
|
:spptask:
|
||||||
|
@ -5556,6 +5492,7 @@ reg add HKLM\SOFTWARE\Classes\cmdfile\shell\runas\command /f /v "" /t REG_EXPAND
|
||||||
<a href="https://forums.mydigitallife.net/posts/309737/" target="_blank">MasterDisaster</a> - Original script, WMI methods.<br />
|
<a href="https://forums.mydigitallife.net/posts/309737/" target="_blank">MasterDisaster</a> - Original script, WMI methods.<br />
|
||||||
<a href="https://forums.mydigitallife.net/members/1108726/" target="_blank">Windows_Addict</a> - Features suggestion, ideas, testing, and co-enhancing.<br />
|
<a href="https://forums.mydigitallife.net/members/1108726/" target="_blank">Windows_Addict</a> - Features suggestion, ideas, testing, and co-enhancing.<br />
|
||||||
<a href="https://github.com/AveYo/Compressed2TXT" target="_blank">AveYo</a> - Compressed2TXT ascii encoder.<br />
|
<a href="https://github.com/AveYo/Compressed2TXT" target="_blank">AveYo</a> - Compressed2TXT ascii encoder.<br />
|
||||||
|
<a href="https://gist.github.com/ave9858/9fff6af726ba3ddc646285d1bbf37e71" target="_blank">ave9858</a> - CleanOffice.ps1<br />
|
||||||
<a href="https://stackoverflow.com/a/10407642" target="_blank">dbenham, jeb</a> - Color text in batch script.<br />
|
<a href="https://stackoverflow.com/a/10407642" target="_blank">dbenham, jeb</a> - Color text in batch script.<br />
|
||||||
<a href="https://stackoverflow.com/a/13351373" target="_blank">dbenham</a> - Set buffer height independently of window height.<br />
|
<a href="https://stackoverflow.com/a/13351373" target="_blank">dbenham</a> - Set buffer height independently of window height.<br />
|
||||||
<a href="https://forums.mydigitallife.net/threads/74769/" target="_blank">hearywarlot</a> - Auto Elevate as admin.<br />
|
<a href="https://forums.mydigitallife.net/threads/74769/" target="_blank">hearywarlot</a> - Auto Elevate as admin.<br />
|
||||||
|
|
Loading…
Reference in a new issue