Windows installation for current user fails
When using the Windows installer to install GLab for current user only (/CURRENTUSER option), the installation fails.
How to reproduce:
winget install --scope user -e --id GLab.GLab
or (same arguments as winget intallation):
glab_1.78.3_Windows_x86_64_installer.exe /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART /CURRENTUSER
Log from winget installation:
2025-11-28 15:24:54.677 Log opened. (Time zone: UTC+01:00)
2025-11-28 15:24:54.677 Setup version: Inno Setup version 6.6.1
2025-11-28 15:24:54.677 Original Setup EXE: C:\Users\work\AppData\Local\Temp\WinGet\GLab.GLab.1.78.3\glab_1.78.3_Windows_x86_64_installer.exe
2025-11-28 15:24:54.677 Setup command line: /SL5="$6916EE,12462705,937984,C:\Users\work\AppData\Local\Temp\WinGet\GLab.GLab.1.78.3\glab_1.78.3_Windows_x86_64_installer.exe" /SP- /SILENT /SUPPRESSMSGBOXES /NORESTART /LOG="C:\Users\work\AppData\Local\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\GLab.GLab.1.78.3-25-11-28-15-24-53.log" /CURRENTUSER
2025-11-28 15:24:54.677 Windows version: 10.0.26200
2025-11-28 15:24:54.677 Windows architecture: x64 (64-bit)
2025-11-28 15:24:54.685 Machine types supported by system: x86 x64
2025-11-28 15:24:54.685 User privileges: None
2025-11-28 15:24:54.685 Administrative install mode: No
2025-11-28 15:24:54.685 Install mode root key: HKEY_CURRENT_USER
2025-11-28 15:24:54.685 64-bit install mode: No
2025-11-28 15:24:54.689 Created temporary directory: C:\Users\work\AppData\Local\Temp\is-W297VRBQDE.tmp
2025-11-28 15:24:54.974 Found 1 files to register with RestartManager.
2025-11-28 15:24:54.974 Calling RestartManager's RmGetList.
2025-11-28 15:24:54.994 RmGetList finished successfully.
2025-11-28 15:24:54.994 RestartManager found no applications using one of our files.
2025-11-28 15:24:55.038 Starting the installation process.
2025-11-28 15:24:55.038 Creating directory: C:\Users\work\AppData\Local\Programs\glab
2025-11-28 15:24:55.038 Directory for uninstall files: C:\Users\work\AppData\Local\Programs\glab
2025-11-28 15:24:55.038 Creating new uninstall log: C:\Users\work\AppData\Local\Programs\glab\unins000.dat
2025-11-28 15:24:55.053 -- File entry --
2025-11-28 15:24:55.053 Dest filename: C:\Users\work\AppData\Local\Programs\glab\unins000.exe
2025-11-28 15:24:55.061 Time stamp of our file: 2025-11-28 15:24:54.207
2025-11-28 15:24:55.061 Installing the file.
2025-11-28 15:24:55.070 Successfully installed the file.
2025-11-28 15:24:55.070 -- File entry --
2025-11-28 15:24:55.070 Dest filename: C:\Users\work\AppData\Local\Programs\glab\glab.exe
2025-11-28 15:24:55.070 Time stamp of our file: 2025-11-24 15:55:48.000
2025-11-28 15:24:55.070 Installing the file.
2025-11-28 15:24:56.021 Successfully installed the file.
2025-11-28 15:24:56.021 -- Icon entry --
2025-11-28 15:24:56.021 Dest filename: C:\Users\work\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\glab\glab.lnk
2025-11-28 15:24:56.021 Creating directory: C:\Users\work\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\glab
2025-11-28 15:24:56.053 Creating the icon.
2025-11-28 15:24:56.181 Successfully created the icon.
2025-11-28 15:24:56.196 -- Registry entry --
2025-11-28 15:24:56.196 Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
2025-11-28 15:24:56.196 Value name: Path
2025-11-28 15:24:56.196 Creating or opening the key.
2025-11-28 15:24:56.196 Defaulting to Abort for suppressed message box (Abort/Retry/Ignore):
Došlo k chybě při vytváření klíče systémového registru:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
Funkce RegCreateKeyEx selhala; kód 5.
Přístup byl odepřen.
2025-11-28 15:24:56.196 User canceled the installation process.
2025-11-28 15:24:56.196 Rolling back changes.
2025-11-28 15:24:56.207 Starting the uninstallation process.
2025-11-28 15:24:56.363 Deleting file: C:\Users\work\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\glab\glab.lnk
2025-11-28 15:24:56.363 Deleting directory: C:\Users\work\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\glab
2025-11-28 15:24:56.366 Deleting file: C:\Users\work\AppData\Local\Programs\glab\glab.exe
2025-11-28 15:24:56.370 Deleting directory: C:\Users\work\AppData\Local\Programs\glab
2025-11-28 15:24:56.395 Uninstallation process succeeded.
2025-11-28 15:24:57.910 Deinitializing Setup.
2025-11-28 15:24:57.985 Log closed.