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

AddFolderIcon doesn't display the icon


1 reply to this topic

AndreaD

AndreaD
  • Full Members
  • 1 posts

Posted 15 December 2006 - 16:16

Hi All
I am new to install shield script, I have an InstallScript MSI project and all i want to do is give the user the option to start the program at windows startup. i do this by calling AddFolderIcon() through script. It works fine it puts the shortcut on the startup folder and it runs fine on start up. The problem is the icon is not showing in the menu.
this is the code i am using:
SzName = "nTouch Messaging";
SzCommandLIne = TARGETDIR^"nTouche Messaging.exe";
LongPathToQuote(SzCommandLine,TRUE);
AddFolderIcon(FOLDER_STARTUP, SzName, SzCommandLine,TARGETDIR, "",0,"",REPLACE);


Any help would be greatly appreciated
thanks in advanced

Andrea

Kman

Kman
  • Full Members
  • 1 posts

Posted 15 April 2008 - 07:45

You need to specify the icon for the shortcut..

AddFolderIcon(FOLDER_STARTUP, SzName, SzCommandLine,TARGETDIR, "path_to_icon",0,"",REPLACE);