I am trying to create an installation program to install some hobby software onto some friend's PCs. I would like to add the program to the list of programs that are displayed when you select "All Programs" from "Start" so that they can select it in the normal way. I can do this by inserting the shortcut into the appropriate library. However I found that the path to the folder is different in different versions of Windows. To do this I thought I would need to:
Detect which Windows OS the PC is running (e.g. XP or Windows Vista). I do not know how to do this. Can you help?
Insert the shortcut into the folder appropriate for that OS. How do I find out the path which is appropriate for each OS? I have been able to find the different paths for XP and Vista as I have PCs at home for those operating systems. However how can I find out the path for the other operating systems?
Dumb Question - am I taking the right approach or am I barking up the wrong tree altogether? Some of you who are familiar with installing software on Windows may be able to comment.
Thank you!