conda / conda/constructor

NSIS has a 2GB installer size limit

Open
#650 2 comments 0 reactions 0 assignees View on GitHub
os::windows stale::recovered type::bug
Dominant language
Python
Stars
497
Forks
181
Avg merge
1d 16h
Merged PRs (30d)
17

Description

### Checklist

- [X] I added a descriptive title
- [X] I searched open reports and couldn't find a duplicate

### What happened?

Comes from https://github.com/mne-tools/mne-installers/pull/168#issuecomment-1433568454. Thanks @larsoner and @hoechenberger for the research.

`nsis` has a 2GB limit file size. This can be hit if your project adds big things like `pytorch`, `cudatoolkit` and others.

There are nsis-derivatives like [`nsisbi`](https://sourceforge.net/projects/nsisbi/files/nsisbi3.08.1/) which can increase this limit to 4GB with some trickery, and beyond that with an external file. I don't know how to feel about using `nsisbi` by default, but we might be able to enable this with a flag, or a new `installer_type` or something (`large-exe`?).

### Conda Info

_No response_

### Conda Config

_No response_

### Conda list

_No response_

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.