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

conditionally create shortcuts


2 replies to this topic

jxu

jxu
  • Members
  • 1 posts

Posted 17 September 2001 - 21:07

I need help on this badly. I am pretty new with InstallShield. I know how to create shortcuts in the design view. But my task is to create a shortcut on the desktop to a html file based on some condition (e.g., some software are not installed). I tried to use "AddFolderIcon" to do it, is this the right way? I notice that I can use this function to create a subfolder under FOLDER_DESKTOP, and then create a shortcut inside this subfolder. But if I create this shortcut directly under FOLDER_DESKTOP, the function returns successfully, but no shortcut was created.

BobRouse

BobRouse
  • Members
  • 82 posts

Posted 20 September 2001 - 18:58

Make sure you call ProgDefGroupType() first... you'll probably want to set this to COMMON. Also make sure you include the icon path.