Open ninbura opened 1 week ago
Retested thoroughly on v3.1.2-beta0
and it appears that "Run as admin" / RunAsAdministrator
will sometimes save to the Package Bundle .json
file, but not always. I can't get "Custom arguments" / CustomParameters
to stick no matter what I do though.
What is your failing procedure?. 3.1.2-beta0 had indeed improvements in this field
What I'm actually trying to do is set --Location Documents
as "Custom arguments" on the Rufus.Rufus
winget package.
Neither "Custom arguments" or "Install location" propagate to the .json
file when set via the GUI. However, it would appear that if I manually set the properties that represent these values in the .json
file they now propagate from the .json
to the GUI in v3.1.2-beta0
.
I doubt that these options are tied internally within the logic/code, but just in-case they are; it's worth mentioning that "Install location" isn't viable for my use case. I need the Documents directory to be user agnostic, which can't be accomplished with an absolute path.
The scenario you are presenting works perfectly for me, I can't reproduce the issue
Are you applying the installation options after adding the package to the bundle? I think that may be when the issue occurs.
Video demonstration on v3.1.2-beta0
below:
https://github.com/user-attachments/assets/83b48bdc-a6cb-4b8b-a57b-2d39d5fde753
Yes, when a package is added to a bundle, its installation options become independent from the options of the installed package.
As per my last video example, Installation Options set in the Package Bundle tab do not propagate to the .json
file on my system.
--Location Documents
to the "Custom arguments" field within the package's Installation Options while on the Package Bundles tab.https://github.com/user-attachments/assets/e6acd003-f16b-4a34-a719-5ae6fc52e9b2
When you are on the package bundled page and open the Installation Options again, are the options still there or they have vanished?
They're present until I re-load the bundle. You can see me double check the options in the GUI before I save the bundle in the video below.
https://github.com/user-attachments/assets/e2c6d44b-40c5-4661-9976-17811846084c
After doing this, do your logs show anything weird?
Please share your UniGetUI logs with Verbose 5 level
Please confirm these before moving forward
UniGetUI Version
3.1.1
Windows version, edition, and architecture
Windows 11 Pro N for Workstations 23H2 22631.4112 x64
Describe your issue
Installation Options are not retained when saving a Package Bundle.
Steps to reproduce the issue
.json
file.UniGetUI Log
Package Managers Logs
Relevant information
.json
file directly, the changed Installation Options don't propagate in UniGetUI, see video below.Screenshots and videos
https://github.com/user-attachments/assets/e977b033-a7eb-4455-ad66-92502f70bde6