It is a conincidence that 7z.exe, cited on SuperUser
https://superuser.com/questions/1637...bility-setting, is the software I use to create the archives in the 'bin' folder, the temporary location of the archives as well as the location of the uninstaller. 7zFM.exe is the file manager which isn't supposed to run. As far as I know I doesn't run. A user might not even have 7-Zip on their system.
I fooled around with the compatibility mode while searching for an easy explanation for the uninstall binary's apparent dpi-unawareness. At the time "Properties > Compatibility > Change high DPI settings > Override high DPI scaling behavior" was unticked. Bearing that in mind however, uninst.exe had recently been uninstalled and then reinstalled, so it is perhaps possible that the box was ticked previously and the tick did not show up. I'm not sure what the connection between the Properties box and the registry entry is either, to be quite honest.
It did not occur to me to look in the registry on June 20th.
(Why would ManifestDPIAware write to the registry?)
I am watching the 'bin' folder and 7-Zip. It creates archives during the compilation process.
; 7-Zip self-extracting archive (Igor Pavlov) - password encrypted
!system '"${7z}" a -sfx -t7z -m0=lzma2 -p${PW} -mmt8 -y htmlexev.exe $%TEMP%\program.exe'
!system '"${7z}" a -sfx -t7z -m0=lzma2 -p${PW} -mmt8 -y htmlexe.exe program.exe'
!system '"${7z}" a -sfx -t7z -m0=lzma2 -p${PW} -mmt8 -y html.exe text*.htm add*.htm \
mo_t*.htm mo_a*.htm file1.htm file2.htm file3.htm file4.htm file5.htm file6.htm'
!system '"${7z}" a -sfx -t7z -m0=lzma2 -p${PW} -mmt8 -y .\acroice\pdf.exe .\acroice\*.pdf'
!system '"${7z}" a -sfx -t7z -m0=lzma2 -p${PW} -mmt8 -y .\acrohome\pdf.exe .\acrohome\*.pdf'
Each of the archives self-extract when the user enters the password on the NSIS Password page.
Could an archive extraction have triggered dpi-unawareness for the 'bin' folder?
More than likely I did something. My Windows 11 is pretty new. Testing the NSIS setup was among the first things I did. Possibly it happened then.
It is working, there has been no recurrence, and the 'un' folder was also fine for two weeks. What more can I say? I don't accuse NSIS. I'm sorry if that was the impression my posts gave you.
Thanks for the follow-up.