diff --git a/setupScriptInfo.ps1 b/setupScriptInfo.ps1 index 4106ce8..15ab736 100644 --- a/setupScriptInfo.ps1 +++ b/setupScriptInfo.ps1 @@ -170,6 +170,7 @@ $shortcut.WorkingDirectory = (Get-Item $targetExePath).DirectoryName $shortcut.Save() # URL shortcut +Disable-WindowsOptionalFeature -online -FeatureName internet-explorer-optional-amd64 $wshShell = New-Object -ComObject "WScript.Shell" $urlShortcut = $wshShell.CreateShortcut((Join-Path $env:PUBLIC "Desktop\Office 365.url")) $urlShortcut.TargetPath = "https://office.com/"