Skip to content
⌘ NSIS Forum Archive

NSIS CreateShortCut Icon Problem

6 posts

laxmom#

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!