Failed to start program. Path or permissions wrong?
I was working on Linux and then cloned my software on windows. You may clone it too: https://github.com/Nayar/Qt-Installer
When compiling, it would give the error below. Can anyone also reproduce it?
When i change it to something else (lol,rofl, hahaha), it works
I repeated it quite a few times. This is driving me crazy.
NOTE: I am having this issue only on windows 8
In Windows 8 (and I think also in Windows 10) Microsoft checks if your .exe filename contains the letters "install", if yes, Microsoft requires admin privileges (UAC control) to run your program.
So to avoid this error, either rename your project to something like "TonyDeployer", or start Qt Creator as admin.
First thing I'd do: close Qt Creator, delete these two and re-open the project.
These two should not be in your git tree. .autosave is from an "in edition" file and .pro.user is generated when you configure your project the first time. It contains project specific values that in this case are also OS specific (e.g. paths)
[quote author="hskoglund" date="1421097538"]In Windows 8 (and I think also in Windows 10) Microsoft checks if your .exe filename contains the letters "install", if yes, Microsoft requires admin privileges (UAC control) to run your program.
You are right. I looked at the executable in FIle Explorer and saw a little secure icon on it. Renamed it to something else and the secure icon disapeared.
Windows indeed checks the file name to set permissions. Kinda stupid tho. Virus creators won't name there virus as "screwupyourpcinstaller.exe" :P