-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to create Shortcuts #396
Comments
This is related to shortcut pinning, you can ignore this
I'd debug through |
Thanks for your reply. I just ran the app with the argument you proposed, and it created the shortcuts promptly. When installing the first time via Setup.exe it does not work though. |
Oh wait, you did not follow instructions: SquirrelAwareApp.HandleEvents(
onInitialInstall: v => OnInitialInstall(mgr),
onAppUpdate: v => OnAppUpdate(mgr),
onAppUninstall: v => OnAppUninstall(mgr)); Update: You did follow instructions, they are wrong :-/. This call to HandleEvents needs to be as early as possible in startup for your app, not in your app's "Update" method |
Hi,
I am working on a small C#/WPF application. As the project contains multipe EXE files, of which only one is thought to be executed by the user, I have chosen to use the "SquirrelAwareVersion" approach.
The updates get installed without problems. My only problem is that no shortcuts are generated.
I'm using the code below:
I've tried it on Windows 10 RTM, Win7 and Win8.1. This part of the Squirrel log seems to be related:
Can anyone give me some advice how to find out what is going wrong?
The text was updated successfully, but these errors were encountered: