Closed ne-tlw closed 2 months ago
This issue is stale because it has been open for 30 days with no activity.
I am also experiencing this issue.
Think I figured out why:
Function Confirm-Installation ($AppName, $AppVer){
#Set json export file
$JsonFile = "$WorkingDir\Config\InstalledApps.json"
In the install command and on my systems the 'Config' folder doesn't exist. I added the config folder and now the Confirm-Installation function works as expected.
Confirmed that config folder does not exist after installing Winget-AutoUpdate-Intune (MSI).
My workaround is to create the missing folder on all clients via intune using a powerhell script:
New-Item -Path "$($ENV:ProgramData)\Winget-AutoUpdate" -Name "config" -ItemType "directory" -force
Would be great if the package cloud be updated accordingly.
Can you check if the issue is resolved now? With WAU 1.20.0 which is included in WAUaaS 1.05.0000 the function Confirm-Installation does no longer write to the config folder but the temporary folder.
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
The problem
The log file documents that the package has been successfully installed. In the next line, the installation is marked as failed and a new installation of the package (instead of the update) is attempted. Here are three examples. The issue occurs with packages of all kind. Three examples attached. Actually, the update has been finished successfully.
What version of WAU has the issue?
1,17.8
What version of Windows are you using (ex. Windows 11 22H2)?
Windows 10 22H2
What version of winget are you using?
v1.7.11261
Log information
No response
Additional information
No response