This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- AddFolderIcon
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2010
06:09 AM
AddFolderIcon
Can somebody help me about AddFolderIcon.
I simple can not get Icons, even return value is correct.
What is wrong here ?
szProgram=TARGETDIR^"MyEXE.exe";
szP1=szProgram;
LongPathToQuote (szProgram, TRUE);
AddFolderIcon (FOLDER_PROGRAMS,"myIcon Name" , szProgram, TARGETDIR,
szP1,2, "", REPLACE);
I tried some variation of the last command ( to put "" for szP1 ), but nothing works.
Any idea ?
I simple can not get Icons, even return value is correct.
What is wrong here ?
szProgram=TARGETDIR^"MyEXE.exe";
szP1=szProgram;
LongPathToQuote (szProgram, TRUE);
AddFolderIcon (FOLDER_PROGRAMS,"myIcon Name" , szProgram, TARGETDIR,
szP1,2, "", REPLACE);
I tried some variation of the last command ( to put "" for szP1 ), but nothing works.
Any idea ?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 14, 2010
06:27 AM
I guess if you have to get the icon of the exe getting installed, give IconPath = "", and nIcon= 0.
You need to give path to .ico file if your nIcon is 2.
You need to give path to .ico file if your nIcon is 2.