Jump to content


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.
Photo

Install shortcut to Startup Folder


2 replies to this topic

rajkulkarni

rajkulkarni
  • Full Members
  • 44 posts

Posted 08 December 2004 - 16:13

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

Taco Bell

Taco Bell

    IS6 Expert

  • Moderators
  • 1,281 posts

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).
user posted image

rajkulkarni

rajkulkarni
  • Full Members
  • 44 posts

Posted 09 December 2004 - 15:49

Thanks, that worked fine.

Raj