summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Change_Office_Edition.cmd
diff options
context:
space:
mode:
authorWindowsAddict <[email protected]>2024-10-22 02:59:36 +0530
committerWindowsAddict <[email protected]>2024-10-22 02:59:36 +0530
commit4e8ebecd3dbed5b0149cbe5df630b6b63812a81e (patch)
tree70b14cd15bf68c6ab9c017a295941844f99be989 /MAS/Separate-Files-Version/Change_Office_Edition.cmd
parentd929cd8fa02c49fb1cd6cd8e48c98a9d1f2c91b1 (diff)
downloadMicrosoft-Activation-Scripts-4e8ebecd3dbed5b0149cbe5df630b6b63812a81e.zip
Fix a bug where excluded apps name needs to be in lowercase
Diffstat (limited to 'MAS/Separate-Files-Version/Change_Office_Edition.cmd')
-rw-r--r--MAS/Separate-Files-Version/Change_Office_Edition.cmd26
1 files changed, 13 insertions, 13 deletions
diff --git a/MAS/Separate-Files-Version/Change_Office_Edition.cmd b/MAS/Separate-Files-Version/Change_Office_Edition.cmd
index a445522..b714a81 100644
--- a/MAS/Separate-Files-Version/Change_Office_Edition.cmd
+++ b/MAS/Separate-Files-Version/Change_Office_Edition.cmd
@@ -645,18 +645,18 @@ goto :oe_excludeapps
set excludelist=
for %%# in (
-Access
-Excel
-OneNote
-Outlook
-PowerPoint
-Project
-Publisher
-Visio
-Word
-Lync
-OneDrive
-Teams
+access
+excel
+onenote
+outlook
+powerpoint
+project
+publisher
+visio
+word
+lync
+onedrive
+teams
) do (
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
:: 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 (
set "c2rcommand=!c2rcommand! productstoremove=AllProducts"