Skip to content
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

package Windows as an exe #64

Closed
oakmac opened this issue Jan 21, 2015 · 2 comments
Closed

package Windows as an exe #64

oakmac opened this issue Jan 21, 2015 · 2 comments

Comments

@oakmac
Copy link
Owner

oakmac commented Jan 21, 2015

Use NSIS to package the Windows releases.

@oakmac oakmac self-assigned this Jan 21, 2015
@oakmac oakmac added this to the v1.0 Release milestone Jan 21, 2015
@oakmac oakmac assigned CASandmann and unassigned oakmac Jan 23, 2015
@CASandmann
Copy link
Collaborator

So this was actually pretty simple due to a couple things:

There is a NSIS editor that allows for extremely quick creation of .nsi scripts via a wizard. I messed up because I added the files to the path as a group and then added subdirectories using the "add file tree" button which didn't include the root directories I added. Just add the whole output folder as a file tree (for future reference). Also, make sure you use relative paths >.<

The second thing is what makes this .exe creator so beautiful. If you download NSIS then add the directory to your PATH, you can call makensis and pass in exe_script.nsi as an argument. This generates the installer. I made the release script move the .exe into the builds/ folder when it's complete as to not clutter up the main directory. I didn't have time to figure out how to make certain fields in the .nsi script dynamic, so we'll have to manually edit e.g. the version number until I do.

@CASandmann
Copy link
Collaborator

I don't know how to GitHub. Closed with commit 8b2fb9d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants