Add example configuration and script to build a windows installer#569
Draft
Add example configuration and script to build a windows installer#569
Conversation
Contributor
|
This would be great to have! Maybe the entry point should launch a command prompt? With |
Member
|
Have you compared pynsist with PyInstaller? I think the latter would build an executable for other platforms, which might be useful? I ran across PyInstaller in the Webrecorder project, where they built an Electron desktop application that accesses a local version of their Python webapp. |
Contributor
Author
|
I did have a look - the main thing pynsist does is create a proper
installer which sets the path and other things needed. Despite the name
pyinstaller only creates an executable that can be packaged by something
else into an installer.
I did miss it the first time around but c-freeze supports creating both
windows msi installers and Mac dmg formats. So I'll take a look at that
next time I get the chance.
I am wary of trying to do too much at once too, especially for platforms
that aren't what I'm usually working on. There's also going to be work
figuring out codesigning and other things 🙈
…On Sat, 6 Nov 2021, 02:51 Ed Summers, ***@***.***> wrote:
Have you compared pynsist with PyInstaller
<https://pypi.org/project/pyinstaller/>. I think the latter would build
an executable for other platforms, which might be useful?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#569 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACADAUIGRUWRGOLE4YAKGCDUKQKSJANCNFSM5HM3TWOA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This is a draft of what a windows installer looks like with pynsist.
I think in principle this could be automated to run on releases, with the built installer attached as an artifact to the release itself.
Things I haven't worked out yet: