I am currently developing an internal tool using Delphi.
If I call the project and therefore the .exe
RecUtil
It runs fine with no intervention. However if I name the project
RecUpdate
It requires user intervention to allow it to run.
This is a command line utility, the only thing that changes between compiles is the filename of the project and by extension of the .exe
.
Essentially once I go over the 8.3 limit I get different behaviour on the same .exe
.
Does Delphi compile an .exe
differently based on the length of the filename?
I am using Delphi 10.4
If I rename the file after compilation everything is fine it works like normal.
The answer to this is entirely to do with the words in the .exe
name and not the number of characters.
I was naming my .exe
recipeUpdate.exe
which seems to trigger this UAC issue.
I removed the word update
and it works fine.