Same error even with .lnk added.I have used CreateShortcut is some cases and it works.However, developing with MS Office applications, especially Accessand Excel, there are lots of command line parameter options and Iusually just copy links that have been already created.
On Friday, April 17, 2015 11:32 AM, Anders wrote:
You forgot that the shortcut has a .lnk extension, try File "SVIPDB.lnk"Note: You should probably create the shortcut at run-time with CreateShortcut. [bugs:#1117] copy shortcut does not work 3.0b1Status: open
Group: 3.0 Alpha Series
Created: Thu Apr 16, 2015 06:18 AM UTC by retep
Last Updated: Thu Apr 16, 2015 09:31 PM UTC
Owner: nobodyWin 7, x64 - I can create a shortcut as a .lnk file and copy it in windows.
nsis does not like to copy it as a file.Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/nsis/bugs/1117/To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
I don't see any relevant information in your screenshots. You can try attaching the Process Monitor log (.pml file) that you can export but I'm still guessing it is just a path issue on your end...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The extension ".lnk" is always hidden. You really add extension in your script, but you also add an extra ".lnk" to the shortcut file, so the real name changes to "SVIPDB.lnk.lnk", still could not be found. To see the full file name, you can open "cmd" and drag the link file to the console window, or using "dir" command to list files in the directory.
Last edit: 賈可 2015-12-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
A .lnk file is just a normal file and NSIS does not check the file type. Please provide a example that reproduces the problem...
Example attached.
You forgot that the shortcut has a .lnk extension, try File "SVIPDB.lnk"
Note: You should probably create the shortcut at run-time with CreateShortcut.
Same error even with .lnk added.I have used CreateShortcut is some cases and it works.However, developing with MS Office applications, especially Accessand Excel, there are lots of command line parameter options and Iusually just copy links that have been already created.
You forgot that the shortcut has a .lnk extension, try File "SVIPDB.lnk"Note: You should probably create the shortcut at run-time with CreateShortcut. [bugs:#1117] copy shortcut does not work 3.0b1Status: open
Group: 3.0 Alpha Series
Created: Thu Apr 16, 2015 06:18 AM UTC by retep
Last Updated: Thu Apr 16, 2015 09:31 PM UTC
Owner: nobodyWin 7, x64 - I can create a shortcut as a .lnk file and copy it in windows.
nsis does not like to copy it as a file.Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/nsis/bugs/1117/To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Bugs: #1117
Last edit: Anders 2015-07-27
Works for me:
Gives me
You should try Process Monitor and see if it gives you any clues as to why it cannot find the file...
procmon output attached.It tells me the file is not found.
Last edit: Anders 2015-04-22
I don't see any relevant information in your screenshots. You can try attaching the Process Monitor log (.pml file) that you can export but I'm still guessing it is just a path issue on your end...
The extension ".lnk" is always hidden. You really add extension in your script, but you also add an extra ".lnk" to the shortcut file, so the real name changes to "SVIPDB.lnk.lnk", still could not be found. To see the full file name, you can open "cmd" and drag the link file to the console window, or using "dir" command to list files in the directory.
Last edit: 賈可 2015-12-31