Skip to content

Files

Latest commit

 

History

History
48 lines (40 loc) · 3.69 KB

cli-arguments.md

File metadata and controls

48 lines (40 loc) · 3.69 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.1.9+
--import-settings file Imports UniGetUI settings from json file file. The file must exist. The old settings will be lost* 3.1.9+
--export-settings file Exports UniGetUI settings to json file file. The file will be created or overwritten* 3.1.9+
--enable-setting key Enables the boolean setting key* 3.1.9+
--disable-setting key Disables the boolean setting key* 3.1.9+
--set-setting-value key value Sets the value value to the non-boolean setting key. To clear a non-boolean setting, --disable-setting can be used* 3.1.9+

*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:

Parameter Description
/NoAutoStart Will not launch UniGetUI after installation
/NoRunOnStartup Will nor 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
/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