RossW
24th November 2008 21:51 UTC
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?
Anders
25th November 2008 01:20 UTC
IShellLink, its just COM
RossW
25th November 2008 19:04 UTC
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?