Archive: NSIS CreateShortCut Icon Problem


NSIS CreateShortCut Icon Problem
I have successfully created a desktop icon, but have tried everything I can think of to get a custom icon to display.

The icon will start an Access.mdb, so the Access icon is appearing instead of the custom one I have created.

Here is a sample of what I have tried to overwrite the Access icon with mine.

CreateShortCut "$DESKTOP\Try It.lnk" "Test.mdb" "" "Test.ico" "0" "SW_SHOWMAXIMIZED"


*****************************************

!define MUI_ICON "Test.ico"

CreateShortCut "$DESKTOP\TEst.lnk" "TEst.mdb" "" "${MUI_ICON},1"

*****************************************

Nothing seems to work. Everytime the desktop icon is created, it used the standard Microsoft Access icon.

Your help would be greatly appreciated!


Did you extract test.ico on target aside with test.mdb?


They are both in the same installation directory if that's what you mean.


use the full path to the icon


That doesn't change anything. Still comes up with Access icon.


Anders,
Actually, I think that did fix it! I also dropped the ",1"

Thanks!