I've started developing a new game and I called it as a 'game'. So when I compiled it my executable file looks like 'game.exe'.
I tried to run a 'winsetup.exe' file and... It launched a The Longest Journey game.
Tried to run a 'game.exe' using a 'run menu'(win+R) and it launched The Longest Journey again. Then I run 'regedit' and start to searching for 'game.exe' and I found it at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\". As I understand this is the place where 'run menu' searches for executables(one of those places). I have a FireFox installed, so I found there 'firefox.exe'. I renamed a folder with my game to 'firefox' and when I recompiled it my game executable became looks like 'firefox.exe'. So, I run 'winsetup.exe' again and as I thought it started FireFox for me.
I tried to run a 'winsetup.exe' file and... It launched a The Longest Journey game.
Tried to run a 'game.exe' using a 'run menu'(win+R) and it launched The Longest Journey again. Then I run 'regedit' and start to searching for 'game.exe' and I found it at "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\". As I understand this is the place where 'run menu' searches for executables(one of those places). I have a FireFox installed, so I found there 'firefox.exe'. I renamed a folder with my game to 'firefox' and when I recompiled it my game executable became looks like 'firefox.exe'. So, I run 'winsetup.exe' again and as I thought it started FireFox for me.