Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hiya! Currently, pynsist generates an installer which ends up creating a broken start menu shortcut. The start menu shortcut's target is set to "C:\Users%USERNAME%\Desktop\py", which fails to run.
My setup: OS X Yosemite, installed nsis via
brew install makensis
, installed pynsist viapip install pynsist
, created an installer usingpynsist examples/console/installer.cfg
, ran installer on Win7 x64, observed that Start Menu's Guess the Number shortcut fails to run.I decided to fix the bug and make some enhancements to the installer script.
Apologies that this isn't a great pull request, but I'm out of time. I figured I may as well submit it in case you were interested in manually incorporating any of the modifications, such as the bugfix.
This pull request makes the following changes:
(Sidenote on bugfix: The correct fix is probably to use CreateShortcut /NoWorkingDir, however the /NoWorkingDir option is not supported on my version of NSIS. If there's a better way of installing NSIS on OS X than
brew install makensis
, please let me know. Currently the bug will bite anyone on OS X who installed NSIS via brew.)Anyway, regardless of whether this PR is accepted, thank you very much for this wonderful project!