Skip to content

Commit

Permalink
24.1.26.1
Browse files Browse the repository at this point in the history
  • Loading branch information
1eyeITguy committed Jan 26, 2024
1 parent 19736d9 commit 0d77e08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions functions/oobeFunctions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,14 @@ function Step-InstallM365Apps {

if ($result -eq [System.Windows.Forms.DialogResult]::Yes) {
Write-Host -ForegroundColor Yellow "[-] Installing M365 Applications"
winget install microsoft.office --exact --accept-source-agreements --accept-package-agreements --override "/configure https://raw.githubusercontent.com/sightsoundtheatres/osd/main/supportFiles/MicrosoftOffice/configuration.xml"
#$configFile = "C:\OSDCloud\configuration.xml"
#Invoke-RestMethod -Uri "https://raw.githubusercontent.com/sightsoundtheatres/osd/main/supportFiles/MicrosoftOffice/configuration.xml" -Outfile $configFile
#winget install microsoft.office --override "/configure $configFile" --accept-source-agreements --accept-package-agreements

# Download the script
#Invoke-WebRequest -Uri https://raw.githubusercontent.com/sightsoundtheatres/osd/main/functions/InstallM365Apps.ps1 -OutFile $scriptPath
Invoke-WebRequest -Uri https://raw.githubusercontent.com/sightsoundtheatres/osd/main/functions/InstallM365Apps.ps1 -OutFile $scriptPath
# Execute the script
#& $scriptPath -XMLURL "https://ssintunedata.blob.core.windows.net/m365/configuration.xml" -ErrorAction SilentlyContinue
& $scriptPath -XMLURL "https://raw.githubusercontent.com/sightsoundtheatres/osd/main/supportFiles/MicrosoftOffice/configuration.xml" -ErrorAction SilentlyContinue
}
else {
Write-Host -ForegroundColor Cyan "[!] Installation of M365 office applications skipped."
Expand Down
2 changes: 1 addition & 1 deletion supportFiles/MicrosoftOffice/configuration.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Configuration ID="0e0b2260-00ea-40ea-8195-887afa86e95d">
<Add OfficeClientEdition="64" Channel="MonthlyEnterprise" MigrateArch="TRUE">
<Add OfficeClientEdition="64" Channel="Current" MigrateArch="TRUE">
<Product ID="O365ProPlusRetail">
<Language ID="en-us" />
<ExcludeApp ID="Access" />
Expand Down

0 comments on commit 0d77e08

Please sign in to comment.