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

NSIS Installer & GitHub Actions building #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rechyou
Copy link
Member

@rechyou rechyou commented Aug 1, 2023

This PR includes NSIS script and shell script responsible for generating file list, with some icons I made bundled in ArcCreateIcons.dll for file associations.
I've only tested this action locally with act, it will need manual test on GitHub.

There are several iteration on the script, old one had copy recursively and delete recursively command.
Later found out recursive deleting is quite dangerous and I was looking for solutions.
NSIS isn't able to track installed files nor remove only installed files, I had to write some shell script to generate list of files.

Beside listing files required to install, this script also handles optional user data install/deletions, NSIS/userfiles is a list of files where the file shouldn't be replaced or removed unless Remove User Data is checked in the installer.
NSIS/excludes is another file list for ignoring unnecessary files, should be self-explanatory.

These two files matches exactly from start to end, remove trailing space if you want to edit the list.

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

Successfully merging this pull request may close these issues.

None yet

1 participant