Skip to content

Conversation

@marticliment
Copy link
Owner

@marticliment marticliment commented Jul 22, 2025

Release 3.3.0 experiences an issue where, for unknown reasons, some files become corrupted or missing, causing UniGetUI to crash. This issue, in reality has always happened (issues with AntiViruses, etc.). However, with this latest release, the issue has become worse. This is why, UniGetUI will ditch the regular C:\Program Files\UniGetUI install, in favour of a sideloaded msix package. MSIX packaging should handle package integrity much better than plain old C:\Program Files install.

Notes on this:

  • No sacrifices will be made: All working features will continue working. (or at least this is the idea)
  • UniGetUI will still be able to run outside of a package: UniGetUI.x64.zip already contains the executable files neede for UniGetUI to work
  • Uninstalling UniGetUI will be easier with MSIX packages
  • The regular installer will take care of uninstalling the older version, and deploy the new msix package.
  • The update process will be (almost) unnoticeable. The only change may be the disapparition of the tarkbar icon, and autostart on system launch setting may get reset.
  • Instaling UniGetUI via Microsoft Store, WinGet, Chocolatey and others will still be possible, since the old installer will still be in change of deploying the MSIX package.
  • This will be tested thoroughly before being deployed into production.

TODO:

  • Fix iconography for MSIX
  • Make new installer also install (unless disabled) Bundled Chocolatey
  • Improvements to PWSH appx deployment (no force downgrade unless needed)
  • Apply required fixes to self-updater
    • Run as current user
    • Disable Chocolatey install & Desktop shortcut
  • Uninstall prev. unigetui
  • Enable package integrity checks
  • Investigate exception

Todo (after beta 1)

  • Investigate missing icons
  • Investigate Elevator crashing
at System.Range.ThrowArgumentOutOfRangeException()
                        at System.Runtime.CompilerServices.RuntimeHelpers.GetSubArray[T](T[] array, Range range)
                        at UniGetUI.PackageEngine.PackageClasses.Package.GenerateIconId(Package p) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Packages\Package.cs:line 345
                        at UniGetUI.PackageEngine.PackageClasses.Package..ctor(String name, String id, String installed_version, String new_version, IManagerSource source, IPackageManager manager, Nullable`1 options) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Packages\Package.cs:line 121
                        at UniGetUI.PackageEngine.PackageClasses.Package..ctor(String name, String id, String version, IManagerSource source, IPackageManager manager, Nullable`1 options) in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Packages\Package.cs:line 76
                        at UniGetUI.PackageEngine.Managers.WingetManager.BundledWinGetHelper.GetInstalledPackages_UnSafe() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.Managers.WinGet\ClientHelpers\BundledWinGetHelper.cs:line 217
[22/7/2025 20:34:21] System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'length')

@marticliment marticliment linked an issue Jul 22, 2025 that may be closed by this pull request
4 tasks
@marticliment
Copy link
Owner Author

It looks like it is impossible to call cmd.exe from an elevated from a MSIX package :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] self-update failed "required files are missing"

2 participants