Squirrel.Windows icon indicating copy to clipboard operation
Squirrel.Windows copied to clipboard

Shorcut Target Is Wrong

Open leandroribeiro opened this issue 9 years ago • 8 comments

Hey guys,

The shortcut target is wrong, instead of C:\Users\kbailey\AppData\Local\MyApp\Update.exe --processStart MyApp.exe is created C:\Users\kbailey\AppData\Local\MyApp\MyApp.exe.

Then this shortcut created doesnt works. =\

leandroribeiro avatar Jan 08 '17 17:01 leandroribeiro

This is intended. The behaviour was changed a while ago. More details in PR #868

aaababei avatar Jan 10 '17 09:01 aaababei

Right, but after this change the shortcut doesn't works and crash my application before run it.

My temporary fix was to get back to 1.4.4 version.

leandroribeiro avatar Jan 10 '17 17:01 leandroribeiro

I may be experiencing this as well. Please see my question on SO and see if you're experiencing the same thing.

gregsdennis avatar Mar 30 '17 21:03 gregsdennis

Confirmed that reverting to v1.4.4 fixed the issue.

gregsdennis avatar Mar 31 '17 00:03 gregsdennis

Is there any resolution to this? I am migrating our app from 1.4.4 to 1.7.5 and when it updates the shortcut points to appname.exe in the root folder but the stub is never copied there. The appname_ExecutionStub.exe remains in the app-x.x.x directory. It appears that that is the only step that is missed. If I copy and rename the execution stub the shortcut works fine.

If I uninstall and install the new version it works fine so it only appears to be a problem on updates. Am I missing something on upgrading Squirrel beyond 1.4.4? Or am I looking at reinstalling on each desktop?

PushOrigin avatar Jun 14 '17 16:06 PushOrigin

Please see #1075 for a solution

PhilJenson avatar Jun 27 '17 22:06 PhilJenson

@shiftkey duplicate of #1075 , which has more information than this issue. I would close this one in favor of #1075

Thieum avatar May 07 '19 15:05 Thieum

Closing this out in favour of #1075

shiftkey avatar May 12 '19 14:05 shiftkey