The "do not use saved position if it falls outside of primary screen"
commit removes the dependency on qml-module-qt-labs-settings module
so no need for the installer to install it.
Skip installation of qml debug stuff while we are at it.
- Try to gracefully close any running Imager instance by sending
a window message. Should close it automatically if Imager is not
actually writing something.
If Imager does not close within 2 seconds, prompt user to ask
if it should be terminated less gracefully.
- Change installer executable name (setup.exe -> image-<version>.exe).
- Prevent UAC prompt during compiling installer.
If WriteFile() returns ERROR_ACCESS_DENIED and registry indicates
CFA is on, tell user rpi-imager (and fat32format) should be added
to the "allowed apps" in the CFA settings.
Appereantly the function does not work as advertised on Windows 7.
Do call it, but ignore errors.
Hopefully any real write errors, will be detected when reading
back image instead.