Quote:
Originally Posted by winman2004
I even tried creating the shortcut by giving the static path (Ex: D:\MyDesktop) in NSIS script but surprisingly the shortcut is created in the path “C:\Users\user_name\MyDesktop”.
Also, if I give the static path as D:\Desktop for createshortcut, it creates the shortcut in the path “C:\users\user_name\desktop” instead of D drive path.
|
NSIS does not modify the .lnk path in any way, it is passed directly to IShellLink/IPersistFile.
Which version of Windows is this happening on?
For "SetShellVarContext all" to work you also need "RequestExecutionLevel admin".