Everything.exe -install <installation-folder> -install-options "<space-delimited-list-of-installation-options>"
For example, the default installation settings:
Everything.exe -install "C:\Program Files\Everything" -install-options "-app-data -install-service -install-efu-association -install-run-on-system-startup -install-start-menu-shortcuts -install-desktop-shortcut -install-language 1033"
The -install command will do the following:
- Relaunch Everything.exe as admin if it is not already running as an admin. (May prompt for UAC)
- Copy Everything.exe (itself) to "C:\Program Files\Everything"
- Run C:\Program Files\Everything\Everything.exe with the specified install-options:
"C:\Program Files\Everything\Everything.exe" -app-data -install-service -install-efu-association -install-run-on-system-startup -install-start-menu-shortcuts -install-desktop-shortcut -install-language 1033
If any error occurs, Everything will return with exit code 1.
exit code 0 means success.
Install user options with the portable version of Everything
After installation, install any user install options:
"C:\Program Files\Everything\Everything.exe" -disable-update-notification -uninstall-quick-launch-shortcut -no-choose-volumes -language 1033
-This will install the specified user options and return immediately.
Launch Everything
And then finally, run Everything (optional):
"C:\Program Files\Everything\Everything.exe"
Installer
The Installer works internally in the exact same way as above (running the portable version with -install).
The installer contains the portable Everything.exe and shows a basic UI to select installation options and then it simply extracts the portable Everything.exe to a temporary folder and runs:
c:\temp\Everything.exe -install <install-location> -install-options "<install options>"
where <install-location> is the installation folder, eg: C:\Program Files\Everything
The -install command line option will copy c:\temp\Everything.exe to the installation folder and then run Everything.exe from the installation folder with the specified <install options>
<install options> is a list of installation options.
After installation, any user install options are installed, for example:
"C:\Program Files\Everything\Everything.exe" -disable-update-notification -uninstall-quick-launch-shortcut -no-choose-volumes -language 1033
And then finally, Everything is launched (if enabled):
"C:\Program Files\Everything\Everything.exe"
Command line options for the Everything installer
/S - Silent install.
-install-options "<install options>" - Specify the install options. Must be in quotes (optional).
/D=<location> - Install location (this must be specified last with no quotes - optional)
To install Everything silently:
Code: Select all
Everything-Setup.exe /S -install-options "<install options>" /D=<install location>
These commands can be specified in the -install-options command line option.
They will always be executed as an admin.
- -app-data
- -enable-run-as-admin
- -install-desktop-shortcut
- -install-efu-association
- -install-folder-context-menu
- -install-run-on-system-startup
- -install-service
- -install-service-port <port>
- -install-service-pipe-name <name>
- -install-start-menu-shortcuts
- -install-url-protocol
- -install-language <langID>
- -save-install-options <user-install-option-flags>
--- - -no-app-data
- -disable-run-as-admin
- -uninstall-desktop-shortcut
- -uninstall-efu-association
- -uninstall-folder-context-menu
- -uninstall-run-on-system-startup
- -uninstall-service
- -uninstall-service-port <port>
- -uninstall-service-pipe-name <name>
- -uninstall-start-menu-shortcuts
- -uninstall-url-protocol
Do not use these commands with -install-options since -install-options will run elevated.
- -enable-update-notification
- -install-quick-launch-shortcut
- -choose-volumes
- -language <langID>
--- - -disable-update-notification
- -uninstall-quick-launch-shortcut
- -no-choose-volumes
/support/everything/command_line_options/
If no install options are specified the existing install options are used.
If no existing install options are available, the previously installed options are used. (since Everything 1.4.1.995)
If Everything was not previously installed, the default install options are used.
Example:
Code: Select all
Everything-Setup.exe /S -install-options "-app-data -disable-run-as-admin -install-desktop-shortcut -install-service -install-start-menu-shortcuts" /D=C:\Program Files\Everything
Code: Select all
Everything-Setup.exe /S -install-options "-app-data -disable-run-as-admin -install-efu-association -uninstall-folder-context-menu -install-run-on-system-startup -install-service -install-desktop-shortcut -install-start-menu-shortcuts -uninstall-url-protocol" /D=C:\Program Files\Everything
Everything.exe -uninstall <installation-folder>
For example:
Everything.exe -uninstall "C:\Program Files\Everything"
Note: consider copying Everything.exe to a temporary folder before calling Everything.exe -uninstall to delete itself.
This will do the following:
- Relaunch as admin if currently not running as an admin.
- Remove all Everything files from C:\Program Files\Everything
- Remove Everything.db from %LOCALAPPDATA%\Everything for every user profile.
- Remove any Everything registry keys.
- Remove Start menu and desktop icons.
- Remove any system modification, such as folder context menu items, start on system startup, EFU association, ES: protocol etc.
Silent uninstallation of user files with the the portable version of Everything
Everything.exe -uninstall-user
This will do the following:
- Remove current-user start menu and desktop shortcuts.
- Remove quick launch shortcut.
- Delete all Everything user files from the virtual store (C:\Users\<name>\AppData\Local\VirtualStore\Program Files\Everything)
- Delete all Everything user files from %APPDATA%\Everything