S. J.
S. J.

Reputation: 1128

VS 2022 installer project - The shortcut gets installed but doesn't work, it doesn't launch the associated .exe

Startup Shortcut Properties

The Target is HAcomms.exe in the Application Folder directory. Everything looks right, but the icon that gets installed has an invalid target:

Shortcut Properties

The target is just "HAcomms" which is not "HAcomms.exe" and doesn't resolve to anything at all. So what gives? What did I do wrong?

Upvotes: 0

Views: 125

Answers (1)

user26400474
user26400474

Reputation:

You should right-click the Application Folder and select Add a File instead of a Shortcut. Then select HAcomms.exe. In your screenshot, the file is a shortcut, but it should correctly be of type File.enter image description here enter image description here

Upvotes: 0

Related Questions