Avoid wrong message at start of Everything.exe

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Avoid wrong message at start of Everything.exe

Post by *jb »

When the user enables the checkbox `Everything` in the `Find Files` dialog
and TC is running as normal user (not as administrator)
and Everything.exe is not running at all (but is installed and configured correctly)
then TC pops up a wrong message box telling:
`Everthing` is a search tool ...
`Everthing` isn't installed! Do you want to download it now?
I think this happens because TC depends on a timeout for the start of Everything.exe and this timeout is currently too short.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6532
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Avoid wrong message at start of Everything.exe

Post by *Horst.Epp »

jb wrote: 2023-05-16, 20:08 UTC When the user enables the checkbox `Everything` in the `Find Files` dialog
and TC is running as normal user (not as administrator)
and Everything.exe is not running at all (but is installed and configured correctly)
then TC pops up a wrong message box telling:
`Everthing` is a search tool ...
`Everthing` isn't installed! Do you want to download it now?
I think this happens because TC depends on a timeout for the start of Everything.exe and this timeout is currently too short.
Running Everything this way is wasting time.
Without running in the background there are unnecessary delays for updating the index.
Installing the serviice and running in the background provides the best results with almost no delays.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3737)
TC 11.03 x64 / x86
Everything 1.5.0.1382a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
User avatar
tuska
Power Member
Power Member
Posts: 3790
Joined: 2007-05-21, 12:17 UTC

Re: Avoid wrong message at start of Everything.exe

Post by *tuska »

Original notifications
  1. 'Everything' is a search tool and search index for the NTFS file
    system.

    'Everything' isnt installed! Do you want to download it now?
     ⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
  2. 'Everything' ist ein Suchprogramm und Suchindex für das
    NTFS-Dateisystem.

    'Everything' ist nicht installiert! Möchten Sie es jetzt herunterladen?
Suggestion
  1. 'Everything' is a search tool with a search index.

    Start 'Everything' to perform a search query with this
    parameter.

    'Everything' is not installed? Do you want to download it now?
     ⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
  2. 'Everything' ist ein Suchprogramm mit Suchindex.

    Starten Sie 'Everything' um eine Suchanfrage mit diesem
    Parameter durchzuführen.

    'Everything' ist nicht installiert? Möchten Sie es jetzt herunterladen?
A connection from TC to 'Everything' can only be established via the parameters ed: or ev: (... "search query with this parameter"...).
There is not only a search index for the NTFS file system (Folder indexing, etc.).
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6532
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Avoid wrong message at start of Everything.exe

Post by *Horst.Epp »

tuska wrote: 2023-05-16, 21:28 UTC
A connection from TC to 'Everything' can only be established via the parameters ed: or ev: (... "search query with this parameter"...).
A connection is also made if you search for files and have enabled Everything.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3737)
TC 11.03 x64 / x86
Everything 1.5.0.1382a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
User avatar
tuska
Power Member
Power Member
Posts: 3790
Joined: 2007-05-21, 12:17 UTC

Re: Avoid wrong message at start of Everything.exe

Post by *tuska »

Horst.Epp wrote: 2023-05-17, 08:07 UTC
tuska wrote: 2023-05-16, 21:28 UTC A connection from TC to 'Everything' can only be established via the parameters ed: or ev: (... "search query with this parameter"...).
A connection is also made if you search for files and have enabled Everything.
Yes, thank you, I had overlooked that.
TC Parameter wrote:If 'Everything' is checked - without prefix ed: or ev: - then the search criteria of TC (with the support of 'Everything') apply,
i.e. you still get the search result much faster than if 'Everything' is not checked.
But the message always appears only when you use ed: or ev: for a search query and Everything has NOT been started.
... [and e.g. Everything=C:\Everything\Everything64.exe -startup is not present in the "wincmd.ini" file in the [Configuration] section] ...
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Re: Avoid wrong message at start of Everything.exe

Post by *jb »

Horst.Epp wrote: 2023-05-16, 20:55 UTC Running Everything this way is wasting time.
...
There is only a delay for the first search operation with Everything. My general policy is to start things when I need them, not in advance.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6532
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Avoid wrong message at start of Everything.exe

Post by *Horst.Epp »

jb wrote: 2023-05-17, 18:25 UTC
Horst.Epp wrote: 2023-05-16, 20:55 UTC Running Everything this way is wasting time.
...
There is only a delay for the first search operation with Everything. My general policy is to start things when I need them, not in advance.
The problem is, that the client is responsible for updating the index.
Not the service !
So on starting the client it has to make all necessary database updates
including properties or content indexing.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3737)
TC 11.03 x64 / x86
Everything 1.5.0.1382a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.78
QAP 11.6.3.3 x64
jb
Senior Member
Senior Member
Posts: 412
Joined: 2003-02-09, 22:56 UTC
Location: Switzerland

Re: Avoid wrong message at start of Everything.exe

Post by *jb »

Horst.Epp wrote: 2023-05-17, 18:58 UTC The problem is, that the client is responsible for updating the index.
Not the service !
What is the client supposed to do for updating the index apart from starting Everything.exe?
Horst.Epp wrote: 2023-05-17, 18:58 UTC So on starting the client it has to make all necessary database updates
including properties or content indexing.
Sure, this results in a delay for the first search operation with Everything, as I already mentioned above.
Are you assuming that I terminate Everthing after each search?
NotNull
Senior Member
Senior Member
Posts: 276
Joined: 2019-11-25, 20:43 UTC
Location: NL

Re: Avoid wrong message at start of Everything.exe

Post by *NotNull »

jb wrote: 2023-05-18, 08:28 UTC What is the client supposed to do for updating the index apart from starting Everything.exe?
The heavy lifting.
The Everything Service is needed to access the Master File Table (MFT) and USN HJournal on NTFS volumes. These are the "address-book" and "change log" for files and folders. On Windows, these are only accessible using elevated rights.
So the Everything client asks the Everything Servive -- which has elevated rights -- "Go fetch USN journal" (for example). Service passes this on to the client, which processses that data and puts it in the database (or removes or ...).



But this is all sidetracking from the original issue:
jb wrote: 2023-05-16, 20:08 UTC nd Everything.exe is not running at all (but is installed and configured correctly)
then TC pops up a wrong message box telling:

`Everthing` is a search tool ...
`Everthing` isn't installed! Do you want to download it now?

I think this happens because TC depends on a timeout for the start of Everything.exe and this timeout is currently too short.
That could be prevented in TC by checking if database is fully loaded by calling Everything_IsDBLoaded or directly through EVERYTHING_IPC_IS_DB_LOADED.
(when re-indexing, it does not have the loaded state)


Might be useful too: EVERYTHING_IPC_IS_DB_BUSY.
Post Reply