I've solved the problem.
When you are on 64 bit architecture the registry key is added into:
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run
Otherwise, in 32 bit machine the registry key is added into:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
FOLLOW US
Get the latest news in Application Packaging