Archive: StartMenu Icon


StartMenu Icon
I need the installer to "remember" the install path which the user chooses.
Later, it needs to make a startmenu icon pointing to the .exe located in the install path.
I also want to make a custom icon for the startmenu shortcut.

For example:
User choses to install to
D:\Program Files\MyProgramName

and the shortcut must point to
D:\Program Files\MyProgramName\program.exe

and have the icon
D:\Icons\icon.ico


Any ideas on how to do this?

I'd really appreciate any answer, thanks! ;)


Please see the CreateShortcut documentation.


I have already, but it's a bit confusing... I'll look into it a bit more...