Hi!
I've a small java program that displays info in the windows system tray.
I want the program to start on bootup so I've manually added it to the registry under:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
This works nicely but I'd like to automate the registry update if possible, so its easier for people I distribute my program too.
Can anyone suggest a neat way to do this? I'm currently considering
1. Write an installation .bat file to update registry
2. Do the registry update from within my code
Any suggestions or tips much appreciated.
Thanks,
Jonathan