I want to create a shortcut for the software I am creating an installation for in the StartUp folder. In other words, the software should start automatically on startup. Is this possible?
Raj
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Install shortcut to Startup Folder
Started by
rajkulkarni
, Dec 08 2004 16:13
2 replies to this topic
Posted 08 December 2004 - 17:52
Sure, just call the function AddFolderIcon with an initial parameter value of FOLDER_STARTUP for szProgramFolder.
For NT-based OSes like XP though, be sure to also call the function ProgDefGroupType to dictate whether it's the personal startup group (i.e. PERSONAL) or the all users startup group (i.e. COMMON).
For NT-based OSes like XP though, be sure to also call the function ProgDefGroupType to dictate whether it's the personal startup group (i.e. PERSONAL) or the all users startup group (i.e. COMMON).