Skip to content

Latest commit

 

History

History
54 lines (45 loc) · 4.64 KB

File metadata and controls

54 lines (45 loc) · 4.64 KB

UniGetUI Command-line parameters

Parameter ____________________________________ Description Compatible versions ______________
--daemon Start UniGetUI without spawning a new window. UniGetUI will run minimized on the system tray. UniGetUI is called with this parameter when launched at startup. Autostart UniGetUI in the notifications area must be enabled for this parameter to work. 1.0+
--welcome Shows the user the Setup Wizard up to 2.2.0
--updateapps Force enable automatic installation of available updates 1.6.0+
--report-all-errors Will force UniGetUI to show the error report page on any crash when loading 3.0.0+
--uninstall-unigetui Will unregister UniGetUI from the notification panel, and silently quit from 3.1.0 to 3.1.8
--migrate-wingetui-to-unigetui Will migrate WingetUI data folders and shortcuts to UniGetUI (if possible), and silently quit 3.1.0+
UniGetUI.exe file Provided that the file is a valid bundle, will load the bundle into the Package Bundles page. Compatible bundle files include the following extensions: .ubundle, .json, .yaml, .xml 3.1.2+
--help Opens this page 3.2.0+
--import-settings file Imports UniGetUI settings from json file file. The file must exist. The old settings will be lost* 3.2.0+
--export-settings file Exports UniGetUI settings to json file file. The file will be created or overwritten* 3.2.0+
--[enable|disable]-setting key Enables/disables the boolean setting key1 3.2.0+
--set-setting-value key value Sets the value value to the non-boolean setting key1. To clear a non-boolean setting, --disable-setting can be used* 3.2.0+
--no-corrupt-dialog Will show a verbose error message (the error report) instead of a simplified message dialog 3.2.1+
--[enable|disable]-secure-setting-for-user username key Enables/disables the given secure setting for the given key2 and username. Requires administrator rights. 3.2.1+
--[enable|disable]-secure-setting key Enables/disables the given secure setting2 for current user. This will generate a UAC prompt 3.2.1+
  1. See the available list of setting keys here
  2. See the available list of secure settings keys here

*After modifying the settings, you must ensure that any running instance of UniGetUI is restarted for the changes to take effect



unigetui:// deep link

On a system where UniGetUI 3.1.2+ is installed, the following deep links can be used to communicate with UniGetUI:

Parameter Description
unigetui://showPackage?id={}&managerName={}&sourceName={} Show the Package Details page with the provided package.
The parameters id, managerName and sourceName are
required and cannot be empty
unigetui://showUniGetUI Shows UniGetUI and brings the window to the front
unigetui://showDiscoverPage Shows UniGetUI and loads the Discover page
unigetui://showUpdatesPage Shows UniGetUI and loads the Updates page
unigetui://showInstalledPage Shows UniGetUI and loads the Installed page



Installer command-line parameters

The installer is inno-setup based. It supports all Inno Setup command-line parameters, as well as the following custom ones:

Parameter Description
/NoAutoStart Will not launch UniGetUI after installation
/NoRunOnStartup Will not register UniGetUI to start minimized at login (v3.1.6+)
/NoVCRedist Will not install MS Visual C++ Redistributable x64 (v3.1.2+)
/NoEdgeWebView Will not install Microsoft Edge WebView Runtime (v3.1.2+)
/NoChocolatey Do NOT install chocolatey within UniGetUI
/EnableSystemChocolatey Force UniGetUI to use system chocolatey
/NoWinGet Do NOT install WinGet and Microsoft.WinGet.Client if not installed (not recommended)
/ALLUSERS Will force the installer to install per-machine (requires administrator privileges)
/CURRENTUSER Will force the installer to install per-user