Archive: Use CreateShortcut API outside of installer/compiler?


Use CreateShortcut API outside of installer/compiler?
I have an app whose Windows desktop/Program Menu shortcut needs to be modified each time the user points to a different MS Access database server file and hence a new Workgroup security file.

I've looked around some VB sites and I can't see how to do the same thing that the CreateShortcut command does - is it possible to make this API external to the installer/compiler so I can invoke it from my MS Access app?


IShellLink, its just COM


I found info on using Windows Scripting Host which allows me to create/copy/delete shortcuts, but the next question is this: does NSIS store the Start > Program path the user entered somewhere on disk or in the registry? I provide a default Start menu path but users can always change that to something else - how do I find out that path after the installer has completed?