mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-23 23:10:54 +07:00
Fix a bug where excluded apps name needs to be in lowercase
This commit is contained in:
parent
d929cd8fa0
commit
4e8ebecd3d
@ -9690,18 +9690,18 @@ goto :oe_excludeapps
|
|||||||
|
|
||||||
set excludelist=
|
set excludelist=
|
||||||
for %%# in (
|
for %%# in (
|
||||||
Access
|
access
|
||||||
Excel
|
excel
|
||||||
OneNote
|
onenote
|
||||||
Outlook
|
outlook
|
||||||
PowerPoint
|
powerpoint
|
||||||
Project
|
project
|
||||||
Publisher
|
publisher
|
||||||
Visio
|
visio
|
||||||
Word
|
word
|
||||||
Lync
|
lync
|
||||||
OneDrive
|
onedrive
|
||||||
Teams
|
teams
|
||||||
) do (
|
) do (
|
||||||
if /i "!%%#_st!"=="Off" if defined excludelist (set excludelist=!excludelist!,%%#) else (set excludelist=,%%#)
|
if /i "!%%#_st!"=="Off" if defined excludelist (set excludelist=!excludelist!,%%#) else (set excludelist=,%%#)
|
||||||
)
|
)
|
||||||
@ -9772,7 +9772,7 @@ goto :oe_goback
|
|||||||
:: OfficeClickToRun.exe with productstoadd method is used here to add editions
|
:: OfficeClickToRun.exe with productstoadd method is used here to add editions
|
||||||
:: It uses delta updates, meaning that since it's using same installed build, it will consume very less Internet
|
:: It uses delta updates, meaning that since it's using same installed build, it will consume very less Internet
|
||||||
|
|
||||||
set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%targetedition%.16_%_lang%_x-none cdnbaseurl.16=http://officecdn.microsoft.com/pr/%_updch% baseurl.16=http://officecdn.microsoft.com/pr/%_updch% version.16=%_version% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%_updch% %targetedition%.excludedapps.16=Groove%excludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
|
set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%targetedition%.16_%_lang%_x-none cdnbaseurl.16=http://officecdn.microsoft.com/pr/%_updch% baseurl.16=http://officecdn.microsoft.com/pr/%_updch% version.16=%_version% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%_updch% %targetedition%.excludedapps.16=groove%excludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
|
||||||
|
|
||||||
if %change%==1 (
|
if %change%==1 (
|
||||||
set "c2rcommand=!c2rcommand! productstoremove=AllProducts"
|
set "c2rcommand=!c2rcommand! productstoremove=AllProducts"
|
||||||
|
@ -645,18 +645,18 @@ goto :oe_excludeapps
|
|||||||
|
|
||||||
set excludelist=
|
set excludelist=
|
||||||
for %%# in (
|
for %%# in (
|
||||||
Access
|
access
|
||||||
Excel
|
excel
|
||||||
OneNote
|
onenote
|
||||||
Outlook
|
outlook
|
||||||
PowerPoint
|
powerpoint
|
||||||
Project
|
project
|
||||||
Publisher
|
publisher
|
||||||
Visio
|
visio
|
||||||
Word
|
word
|
||||||
Lync
|
lync
|
||||||
OneDrive
|
onedrive
|
||||||
Teams
|
teams
|
||||||
) do (
|
) do (
|
||||||
if /i "!%%#_st!"=="Off" if defined excludelist (set excludelist=!excludelist!,%%#) else (set excludelist=,%%#)
|
if /i "!%%#_st!"=="Off" if defined excludelist (set excludelist=!excludelist!,%%#) else (set excludelist=,%%#)
|
||||||
)
|
)
|
||||||
@ -727,7 +727,7 @@ goto :oe_goback
|
|||||||
:: OfficeClickToRun.exe with productstoadd method is used here to add editions
|
:: OfficeClickToRun.exe with productstoadd method is used here to add editions
|
||||||
:: It uses delta updates, meaning that since it's using same installed build, it will consume very less Internet
|
:: It uses delta updates, meaning that since it's using same installed build, it will consume very less Internet
|
||||||
|
|
||||||
set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%targetedition%.16_%_lang%_x-none cdnbaseurl.16=http://officecdn.microsoft.com/pr/%_updch% baseurl.16=http://officecdn.microsoft.com/pr/%_updch% version.16=%_version% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%_updch% %targetedition%.excludedapps.16=Groove%excludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
|
set "c2rcommand="%_c2rExe%" platform=%_oArch% culture=%_lang% productstoadd=%targetedition%.16_%_lang%_x-none cdnbaseurl.16=http://officecdn.microsoft.com/pr/%_updch% baseurl.16=http://officecdn.microsoft.com/pr/%_updch% version.16=%_version% mediatype.16=CDN sourcetype.16=CDN deliverymechanism=%_updch% %targetedition%.excludedapps.16=groove%excludelist% flt.useteamsaddon=disabled flt.usebingaddononinstall=disabled flt.usebingaddononupdate=disabled"
|
||||||
|
|
||||||
if %change%==1 (
|
if %change%==1 (
|
||||||
set "c2rcommand=!c2rcommand! productstoremove=AllProducts"
|
set "c2rcommand=!c2rcommand! productstoremove=AllProducts"
|
||||||
|
Loading…
Reference in New Issue
Block a user