microsoft / microsoft/winget-pkgs
[Package Issue]: Hashicorp.Terraform
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- PR merge metrics
- PR metrics pending
Description
### Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installation issue.
### Brief description of your issue
Attempting to update Hashicorp.Terraform from 1.12.2 to 1.13.4 fails with:
```
An unexpected error occurred while executing the command:
0x80070490 : Element not found.
Installer failed with exit code: 0x80070490 : Element not found.
```
I suspect this relates to the user folder containing non-ASCII characters such as 'ä'. See #283840 and #304194.
### Steps to reproduce
1. Have the letter "ä" in your user folder.
2. `winget upgrade Hashicorp.Terraform`
### Actual behavior
Installation fails with "Element not found".
### Expected behavior
Terraform is updated to latest version.
### Environment
```raw
> winget --info
Windows Package Manager (Preview) v1.12.250-preview
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26100.6584
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.27.250.0
```
### Screenshots and Logs
[WinGet-2025-10-16-11-20-54.389.log](https://github.com/user-attachments/files/22944212/WinGet-2025-10-16-11-20-54.389.log)
Contributor guide
Research direction
Start by reviewing the attached WinGet log and reproducing `winget upgrade Hashicorp.Terraform` with a non-ASCII user-folder name on the listed Windows environment. Trace whether the failure is in the Terraform package update or the WinGet client; done means identifying a repository-scoped fix and confirming the upgrade succeeds.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- terraform
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100