기존 포스팅에서 설치했던 nsis는 2GB제한이 존재한다.
nsis를 통한 배포 패키징 하기 (tistory.com)
nsis를 통한 배포 패키징 하기
지난 포스팅에서 pyinstaller을 통해 실행파일화 하는 방법을 알아보았는데요, 이번 포스팅에서는 직접 배포패키징까지 진행해 보겠습니다. 지난포스팅 파이썬 설치 파일 만들기 with pyinstaller (tisto
tripleler.tistory.com
따라서 압축해야 할 내용이 2GB가 넘어가면 붉은 창과 함께 다음과 같은 오류가 발생한다.
Internal compiler error #12345: error mmapping file () is out of range.
Note: you may have one or two (large) stale temporary file(s)
left in your temporary directory (Generally this only happens on Windows 9x)."
워낙 예전에 개발되어서 방법이 없나 살펴보다가 찾게 된 사이트를 공유한다.
https://sourceforge.net/projects/nsisbi/
nsisbi
Download nsisbi for free. NSISBI aims to remove the current 2GB limit found in NSIS. NSISBI aims to remove the current 2GB limit found in NSIS. This version adds support for using a separate file for storing the install data, therefore allowing installer s
sourceforge.net
위 사이트에서 nsis 2GB 제한을 해제하도록 코딩해 배포한다.
다운로드 버튼을 누르면 설치파일이 아닌 단순 압축파일이 받아진다.
압축파일을 해제한 뒤, makensisw.exe.를 실행하면 된다.
약 3.7GB 파일이 1.55GB 파일로 성공적으로 패키징되었다.
'기술' 카테고리의 다른 글
Python 애플리케이션 데이터 생성하기 (0) | 2022.04.25 |
---|---|
NSIS 언어팩 오류 해결법 (0) | 2022.03.30 |
nsis를 통한 배포 패키징 하기 (0) | 2022.03.28 |
파이썬 설치 파일 만들기 with pyinstaller (0) | 2022.03.23 |
댓글