I've made my app called myapp.exe. I've also added a registry key in:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
The command used in command prompt is: reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v MyApp /t REG_SZ /d "%WINDIR%\myApp.exe" /f
I've added it one at a time. myApp doesn't start when my system starts. I'm administrator and checked with msconfig, the keys are properly set. What's wrong? Thank you!
UPDATE 1: As my exe is a wrapper of an executable jar file (created with jsmooth), is it possible that it cannot start with windows due to the fact that it tries to open before jqs.exe (java quick start)? It sounds strange to me but maybe that's the problem!