Replacing my Everything 1.4 installation with the test version?

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Woailizhi
Posts: 8
Joined: Wed Apr 28, 2021 9:26 am

Replacing my Everything 1.4 installation with the test version?

Post by Woailizhi » Wed Apr 28, 2021 9:33 am

Hi!
These are my first Everything tests, so I don't know how to behave in this situation. How should I replace the Everything 1.4 installation with the new 1.5 installation? I want to replace my old verison, not host these versions in parallel.

tuska
Posts: 541
Joined: Thu Jul 13, 2017 9:14 am

Re: Replacing my Everything 1.4 installation with the test version?

Post by tuska » Wed Apr 28, 2021 10:11 am

Hi,
In Everything 1.4, I would uncheck in the settings under "General" what is no longer needed for Everything 1.4, e.g.
[ ] Everything Service ("old")
[ ] Start Everything on system startup
and in Everything 1.5 tick [leave] these options again(!).

Otherwise I would start here: Import settings from Everything 1.4.
The reinstallation can be done in the same folder, but you could also choose another folder with write permission,
e.g. for portable use -> C:\Tools\Everything_1.5\.

Options:
- How to have 1.5 not use 1.5a .db .ini
- Everything - Version No. in header

________________________________________________
Windows 10 Pro (x64) Version 20H2 (OS build 19042.928)
'Everything' 1.5.0.1256a (x64)

void
David Carpenter (Developer)
Posts: 9363
Joined: Fri Oct 16, 2009 11:31 pm

Re: Replacing my Everything 1.4 installation with the test version?

Post by void » Wed Apr 28, 2021 10:21 am

To disable the alpha instance for IPC (inter-process communication) only:
  • Completely exit Everything (File -> Exit).
  • Open your Everything.ini in the same location as your Everything.exe
  • Change the following line:
    alpha_instance=1
    to:
    alpha_instance=0
  • Save changes and restart Everything.


-or-



To completely replace your Everything 1.4 installation with Everything 1.5 alpha:
  • Backup C:\Program Files\Everything and %APPDATA%\Everything
    ---
  • Uninstall the Everything 1.4 Service:
  • In Everything 1.4, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Uncheck Start Everything on system startup.
  • Uncheck Everything Service
  • Uncheck Show Search Everything folder context menu item.
  • Uncheck Start menu shortcut.
  • Uncheck Desktop shortcut.
  • Uncheck Quick Launch shortcut.
  • Uncheck URL Protocol.
  • Uncheck EFU file association.
  • Click OK.
  • Completely exit Everything 1.4 (right click the Everything 1.4 system tray icon and click Exit)
  • Delete your Everything.exe in C:\Program Files\Everything
    ---
  • Uninstall the Everything 1.5 Service:
  • In Everything 1.5, from the Tools menu, click Options.
  • Click the General tab on the left.
  • Uncheck Start Everything on system startup.
  • Uncheck Everything Service
  • Uncheck Show Search Everything folder context menu item.
  • Uncheck Start menu shortcut.
  • Uncheck Desktop shortcut.
  • Uncheck Quick Launch shortcut.
  • Uncheck URL Protocol.
  • Uncheck EFU file association.
  • Click OK.
  • Completely exit Everything 1.5 (right click the Everything 1.5 system tray icon and click Exit)
    ---
  • Move your Everything 1.5 executable (from C:\Program Files\Everything 1.5a) to your Everything 1.4 installation folder (C:\Program Files\Everything)
  • Delete the C:\Program Files\Everything 1.5a folder
    ---
  • Create an empty file in C:\Program Files\Everything with the following filename:
    NO_ALPHA_INSTANCE
  • An easy way to do this is to open Notepad from the Start menu (right click notepad and click Run as an administrator):
  • In Notepad, from the File menu, click Save.
  • Change Save as type to: All Files (*.*)
  • Browse to your Everything 1.4 installation folder (C:\Program Files\Everything)
  • Change the Filename to: NO_ALPHA_INSTANCE
  • Click Save.
    ---
  • Run Everything.exe (or Everything64.exe)
  • If prompted with access denied, choose Install the Everything Service
  • In Everything, from the Tools menu, click Options.
  • Click the General tab on the left.
  • If any options are square-checked (indeterminate), change them to tick-checked.
  • Check Start settings and data in %APPDATA%\Everything (recommended).
  • Check Start Everything on system startup (recommended).
  • Check Everything service (recommended).
  • Check Start menu shortcut (recommended).
  • Check Desktop shortcut (recommended).
  • Check EFU file association (recommended).
  • Click OK.


alpha_instance

Woailizhi
Posts: 8
Joined: Wed Apr 28, 2021 9:26 am

Re: Replacing my Everything 1.4 installation with the test version?

Post by Woailizhi » Wed Apr 28, 2021 11:16 am

Now it seems I have two services running. I have done something wrong. What should I do now?>

void
David Carpenter (Developer)
Posts: 9363
Joined: Fri Oct 16, 2009 11:31 pm

Re: Replacing my Everything 1.4 installation with the test version?

Post by void » Wed Apr 28, 2021 11:24 am

Please make sure Everything is not running. (right click the Everything system tray icon and click Exit)

Please grab the portable version of Everything 1.4.

Extract Everything.exe to a new folder, for example: c:\everything1.4
Run Everything.exe
If prompted with access denied, choose Do not index NTFS volumes.
In Everything, from the Tools menu, click Options.
Click the General tab on the left.
Uncheck Everything Service.
Click OK.
Exit Everything (right click the Everything system tray icon and click Exit)

Delete c:\everything1.4


Please grab the portable version of Everything 1.5.

Extract Everything.exe to a new folder, for example: c:\everything1.5
Run Everything.exe (or Everything64.exe)
If prompted with access denied, choose Do not index NTFS volumes.
In Everything, from the Tools menu, click Options.
Click the General tab on the left.
Uncheck Everything Service.
Click OK.
Exit Everything (right click the Everything system tray icon and click Exit)

Delete c:\everything1.5


Run your normal Everything again from C:\Program Files\Everything
If prompted with access denied, choose Install the Everything Service
In Everything, from the Tools menu, click Options.
Click the General tab on the left.
Check Everything Service.
Click OK.

Is there still more than one service installed?

Woailizhi
Posts: 8
Joined: Wed Apr 28, 2021 9:26 am

Re: Replacing my Everything 1.4 installation with the test version?

Post by Woailizhi » Wed Apr 28, 2021 11:58 am

Stuff broken really badly but I fixed. Thank you for your awesome software!

void
David Carpenter (Developer)
Posts: 9363
Joined: Fri Oct 16, 2009 11:31 pm

Re: Replacing my Everything 1.4 installation with the test version?

Post by void » Wed Apr 28, 2021 12:00 pm

Thank you for your feedback.

Sorry, I never intended for Everything 1.5 alpha to replace 1.4.

The alpha instance will be removed once Everything 1.5 is in beta.

tuska
Posts: 541
Joined: Thu Jul 13, 2017 9:14 am

Re: Replacing my Everything 1.4 installation with the test version?

Post by tuska » Mon Jan 24, 2022 1:05 pm

Hi,

Everything.ini - alpha_instance=0 | Reference: Everything 1.5 SDK

If in Everything.ini: alpha_instance=0 ... is NOT set, then after closing Everything alpha_instance=1 (!) is set automatically!

I am not sure what effect alpha_instance=0 or alpha_instance=1 has, because if
a) the file: NO_ALPHA_INSTANCE is in the folder C:\Program Files\Everything 1.5a\
    -AND-
b) in Everything.ini: alpha_instance=0 -OR- alpha_instance=1,
    -THEN-...
  1. 1.5a is removed from the programme name, the INI files and the name of the Everything Service (-> NO_ALPHA_INSTANCE)
  2. a search with integration of Everything is possible in Total Commander .......... (alpha_instance=0 -OR- alpha_instance=1)
  3. a search is possible directly in Everything
For the sake of order, however, the following must be noted:

Code: Select all

C:\Program Files\Everything 1.5a\Everything.ini		     -> alpha_instance=1 *)
C:\Program Files\Everything 1.5a\Everything64.exe
C:\Program Files\Everything 1.5a\NO_ALPHA_INSTANCE
*) If I delete alpha_instance=1 ... I can still run queries in Total Commander using Everything.
If I delete C:\Program Files\Everything 1.5a\Everything.ini (as no longer needed),
the checkmark next to "Store settings and data in %APPDATA%\Everything" is gone the next time you start Everything!
C:\Program Files\Everything 1.5a\Everything.ini with alpha_instance=1 is created after hooking on again.
So just leave it there, because changes are saved in %APPDATA%\Everything\ anyway... or maybe something could be done about it?

Code: Select all

[x] Store settings and data in %APPDATA%\Everything
C:\Users\<User>\AppData\Roaming\Everything\Everything.ini    -> NO alpha_instance= entry; %APPDATA%\Everything "savings"
C:\Users\<User>\AppData\Roaming\Everything\Plugins.ini
Tools -> Debug -> Config ... opens C:\Users\<User>\AppData\Roaming\Everything\Everything.ini (%APPDATA%\Everything).

It currently looks to me as if alpha_instance=0 or alpha_instance=1 are no longer needed in Everything.ini (but file: NO_ALPHA_INSTANCE).
(After I was unsure, I removed the line -> alpha_instance= in both Everything.ini files - searches with TC & EV were still successful).

Reference: TC and Everything 1.5 alpha (Total Commander Forum)

I ask for information.
Thank you!

_________________________________________________
Windows 10 Pro (x64) Version 21H2 (OS build 19044.1469)
'Everything' 1.5.0.1298a (x64) - 22.01.2022
C:\Program Files\Everything 1.5a\Everything64.exe
C:\Program Files\Everything 1.5a\NO_ALPHA_INSTANCE
C:\Users\<User>\AppData\Roaming\Everything\Everything.ini

void
David Carpenter (Developer)
Posts: 9363
Joined: Fri Oct 16, 2009 11:31 pm

Re: Replacing my Everything 1.4 installation with the test version?

Post by void » Tue Jan 25, 2022 2:01 am

To clarify:

NO_ALPHA_INSTANCE completely disables the 1.5a instance.

The alpha_instance ini setting is completely ignored when this file exists.



alpha_instance=0

Only works from the Everything.ini in the same location as your Everything64.exe
It is ignored if the NO_ALPHA_INSTANCE file exists.

When alpha_instance is disabled (set to 0), the 1.5a instance is no longer used for IPC window class names, IPC named window messages and the process mutex.

However, the 1.5a instance still applies to data and setting filenames:
Everything-1.5a.db
Everything-1.5a.ini
Filters-1.5a.csv
Bookmarks.1.5a.csv
Search History.1.5a.csv
Run History.1.5a.csv



alpha_instance

tuska
Posts: 541
Joined: Thu Jul 13, 2017 9:14 am

Re: Replacing my Everything 1.4 installation with the test version?

Post by tuska » Tue Jan 25, 2022 4:26 pm

2void
Thank you very much for the prompt and detailed reply! :)

Reference:
- How to have 1.5 not use 1.5a .db .ini
- Example

Post Reply