You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using NSIS from Chocolatey to create an installer for Windows, this installer currently cannot handle strings larger than ~1024 characters. This makes it almost impossible for the installer to augment the users $PATH (i.e. add any directories for the installed software there).
I would expect Chocolatey to use the 'special build version' which can handle up to 8k strings.
Expected Behavior
When using NSIS from Chocolatey to create an installer for Windows, this installer currently cannot handle strings larger than ~1024 characters. This makes it almost impossible for the installer to augment the users $PATH (i.e. add any directories for the installed software there).
I would expect Chocolatey to use the 'special build version' which can handle up to 8k strings.
Current Behavior
See above.
The reason is this: https://github.com/kichik/nsis/blob/master/SCons/config.py#L11 default, when NSIS is build.
This has widespread consequences, since GitHub actions is using the Chocolatey NSIS in its runners, i.e. all NSIS-based installers created with GHActions are affected.
see https://github.com/actions/runner-images/blob/main/images/win/scripts/Installers/Install-NSIS.ps1
Possible Solution
Use https://sourceforge.net/projects/nsis/files/NSIS%203/3.09/nsis-3.09-strlen_8192.zip/download instead of the current
https://sourceforge.net/projects/nsis/files/NSIS%203/3.09/nsis-3.09-setup.exe/download
, if that is possible.
Steps to Reproduce (for bugs)
Context
Your Environment
The text was updated successfully, but these errors were encountered: