Problems installing or update Winget-Autoupdate on some computers #643
Unanswered
raulromeral
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Hey @raulromeral This might be a tricky investigation of a somewhat complex case. Batch starts PoSh If was to guess, I would look for evidence that PowerShell was executed at all. As always it will be something trivial |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
We are launching this bat file:
@echo off
::::::::::::::::::::::::::::
:: Put WAU Arguments here ::
::::::::::::::::::::::::::::
SET arguments=-UpdatesAtLogon -UpdatesInterval Weekly -InstallUserContext -StartMenuShortcut -DesktopShortcut
::::::::::::::::::::::::::::
:: Run Powershell Script ::
::::::::::::::::::::::::::::
SET PowershellCmd=Start-Process powershell.exe -Argument '-noprofile -executionpolicy bypass -file "%~dp0Winget-AutoUpdate-Install.ps1" %arguments%
powershell -Command "& {Get-ChildItem -Path '%~dp0' -Recurse | Unblock-File; %PowershellCmd%'}" -Verb RunAs
In some computers it is installed/updated right but on another ones it is not installing it properly, and I couldn't see any error and it does not appear on apps installed. On the computers with previous version (some of them), it is not updating it.
Can you tell me what I can do?
Thanks,
Regards,
Beta Was this translation helpful? Give feedback.
All reactions