winget unable to set preferred language for inno installer
Closed this issue · 1 comments
fangq commented
Relevant area(s)
WinGet CLI
Relevant command(s)
No response
Brief description of your issue
my package mcxstudio is an inno installer. it has a language selection dialog letting users to choose GUI language during installation.
https://github.com/fangq/mcx/blob/v2025.10/inno/MCXStudio.iss#L162-L180
however, when installing the package via winget, I could not choose the language using AI suggested flags below
winget install mcxstudio --override "/SILENT /LANG=es"
is this possible?
Steps to reproduce
winget install mcxstudio --override "/SILENT /LANG=es"
Expected behavior
Expect the installed GUI to display Spanish language regardless of current system locale
Actual behavior
Default install in the current system locale, regardless of the /LANG flag
Environment
[winget --info]
Windows Package Manager v1.11.510
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.4529
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.26.510.0fangq commented
never mind, replacing /LANG=es to /LANG=spanish fixed the problem.
closing