The target "" of this Internet Shortcut is not valid

adamdc78 picture adamdc78 · Jun 5, 2014 · Viewed 7.7k times · Source

Our project has been renamed and so I'm updating the shortcuts in my installer using Advanced Installer (although the problem isn't limit to this platform, see the answer). The new shortcuts won't work from the Desktop or Start Menu but will work from Application Shortcut Folder. I can move a single shortcut between these locations and the same applies.

The symptoms:

  • The shortcut displays a generate globe (ie: internet) icon.
  • The following error message is displayed when trying to launch the shortcut

The target "" of this Internet Shortcut is not valid. Go to the Internet Shortcut property sheet and make sure the target is correct.

Edit

It turns out that the name of the shortcut was the issue. Not entirely sure why; at first I thought it was a character length limitation. I have to check with my employer before posting the name of the shortcut, but even renaming from the destkop causes this to occur, although if I substitute the last character for 2 more everything is fine. Very strange!

Edit 2

It seems to be limited to my dev machine. The shortcut doesn't appear to have issues on any others that I've tested. Something I've done in development has messed it up and I would be very curious to know what that could be.

Answer

Rafael Peña García picture Rafael Peña García · Jun 20, 2019

This shortcut has any space in the target file path? If so, remove it or wrap in quotes, that worked for me.