Everything does not discover all files installed by the MiKTeX 22.10 installer downloaded from here:
https://miktex.org/download
(This is the case for both the "Installer" and "Command-line installer".)
I am running on Windows 11 version 22H2 (OS Build 22621.963) and Everything version 1.4.1.1022 (x64).
One of the files that are not discovered is "texmfs\install\miktex\bin\x64\pdflatex.exe". If I rename the file to something else and back again, then Everything does discover it.
Everything does not discover certain files installed by MiKTeX installer
Re: Everything does not discover certain files installed by MiKTeX installer
First guess:
The installer extracts or copies files to a folder you have excluded in Everything.
And does the actual installatiion from this excluded folder.
This excluded folder is probably the tempfolder (%temp% or c:\users\your_name\appdata\local\temp).
Check menu:Tools => Options => Indexes => Exclude if the temp folder is excluded.
Include it if you want these files to be picked up by Everything.
A Force Rebuild (menu:Tools => Options => Indexes) should bring these files back too.
Another test to see if this theory is correct:
Choose an installation folder for miktex that is on a different drive than your temp folder.
If the files now do show up in Everything, it is because of an excluded folder.
The installer extracts or copies files to a folder you have excluded in Everything.
And does the actual installatiion from this excluded folder.
This excluded folder is probably the tempfolder (%temp% or c:\users\your_name\appdata\local\temp).
Check menu:Tools => Options => Indexes => Exclude if the temp folder is excluded.
Include it if you want these files to be picked up by Everything.
A Force Rebuild (menu:Tools => Options => Indexes) should bring these files back too.
Another test to see if this theory is correct:
Choose an installation folder for miktex that is on a different drive than your temp folder.
If the files now do show up in Everything, it is because of an excluded folder.
Re: Everything does not discover certain files installed by MiKTeX installer
It is not in an excluded folder (and if that was the case, then renaming the file to something else and then back again would not make it show up in Everything). It has something to do with how this installer works, so I think it is worth digging into.
Force Rebuild does make the files show up, so does copying the complete folder to another location.
I have run the installer a few times (and also the command-line installer), always with the same result of certain files not showing up in Everything (the same files every time).
Force Rebuild does make the files show up, so does copying the complete folder to another location.
I have run the installer a few times (and also the command-line installer), always with the same result of certain files not showing up in Everything (the same files every time).
Re: Everything does not discover certain files installed by MiKTeX installer
I installed MiKTeX on a Windows 10 machines as well (version 21H2, OS Build 19044.2364) and the behavior is the same.
After running the installer there are 734 files in the folder, but Everything only discovers 315 of them. Renaming one of the undiscovered files makes Everything discover it. "Force Rebuild" makes Everything discover all 734 files in that folder.
After running the installer there are 734 files in the folder
C:\Users\sigmund\AppData\Local\Programs\MiKTeX\miktex\bin\x64
Re: Everything does not discover certain files installed by MiKTeX installer
On my end, Win7 (& even though it does not show as supported)
I installed into c:/miktex & set it to NOT download anything further (i.e., missing "items")
I end up with 308 objects within \MiKTeX\miktex\bin\x64.
In my case, I do not have "pdflatex.exe", but I do have "miktex-pdftex.exe" (which does show up in Everything).
(I have not run the program.
Perhaps ? if I were to run the program... ? No change.)
Heh.
Odd that miktex-console.exe brings up a GUI, yet most everything else are actual command-line programs.
miktex-texworks.exe is also a GUI.
I installed into c:/miktex & set it to NOT download anything further (i.e., missing "items")
I end up with 308 objects within \MiKTeX\miktex\bin\x64.
In my case, I do not have "pdflatex.exe", but I do have "miktex-pdftex.exe" (which does show up in Everything).
(I have not run the program.
Perhaps ? if I were to run the program... ? No change.)
Heh.
Odd that miktex-console.exe brings up a GUI, yet most everything else are actual command-line programs.
miktex-texworks.exe is also a GUI.
Re: Everything does not discover certain files installed by MiKTeX installer
Just tested miktex. Had to reconfigure my system, so took a little longer. All for the good cause
These "missing" files are hardlinks.
Running out of time, but most regulars on these forums can give you more details.
These "missing" files are hardlinks.
Running out of time, but most regulars on these forums can give you more details.
Re: Everything does not discover certain files installed by MiKTeX installer
Everything 1.4 will not track changes to hard links.
Force a rebuild to update all hard links from Tools -> Options -> Index -> Force Rebuild.
Everything 1.5 will track changes to hard links.
Deleted hard links are not tracked yet.
All hard links are correctly tracked in Everything 1.5 when installing MiKTeX.
Everything 1.5 and Windows Explorer report 732 files found in C:\Users\miktex\AppData\Local\Programs\MiKTeX\miktex\bin\x64
Everything 1.4 only sees 300 files for me.
basic-miktex-22.10-x64
Windows 10 1903 18362.239 x64
Everything 1.4.1.1022
Everything 1.5.0.1333a
Force a rebuild to update all hard links from Tools -> Options -> Index -> Force Rebuild.
Everything 1.5 will track changes to hard links.
Deleted hard links are not tracked yet.
All hard links are correctly tracked in Everything 1.5 when installing MiKTeX.
Everything 1.5 and Windows Explorer report 732 files found in C:\Users\miktex\AppData\Local\Programs\MiKTeX\miktex\bin\x64
Everything 1.4 only sees 300 files for me.
basic-miktex-22.10-x64
Windows 10 1903 18362.239 x64
Everything 1.4.1.1022
Everything 1.5.0.1333a
Re: Everything does not discover certain files installed by MiKTeX installer
Hard links, indeed! I tried Everything 1.5, looks great
Thank you very much for the help.
Thank you very much for the help.