Kodi Community Forum
Win NSIS installer not building on Win x64 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Win NSIS installer not building on Win x64 (/showthread.php?tid=365782)



NSIS installer not building on Win x64 - scott967 - 2021-12-02

I was building Kodi on Win x64 VS 2017 using the BuildSetup.bat.  Everything ran OK except it errored out when attempting to build the NSIS installer -- error is
 
Code:
File: failed opening file "C:\Users\scottZ397\Documents\GitHub\build-xbmc\project\Win32BuildSetup\BUILD_WIN32\addons\visualization.projectm\resources\projectM\presets\presets_eyetune\Martin N AdamFX Infusion = Phat+Yin+EoS_Mandala Chaser Ft AdamFX n Martin - The Beast Mandala Chaser FX H.milk"
!include: error in script: "visualization-addons.nsi" on line 35
Error in script "genNsisInstaller.nsi" on line 246 -- aborting creation process

Also tried BuildSetup.bat nobinaryaddons clean  same results.

I can find that file and open it in notepad.  So I deleted the visualization.projectM folder from project\Win32BuildSetup\BUILD_WIN32\addons and reran BuildSetup.bat nobinaryaddons clean and it completed. (aside -- but it seems all the binaries are in the installer even with that switch.)

The resulting installer works fine, but wondering what went wrong?

scott s.
.


RE: NSIS installer not building on Win x64 - Fuzzard - 2021-12-02

Probably path length limits. Windows is hit and miss with support for long paths

https://docs.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=cmd


RE: NSIS installer not building on Win x64 - scott967 - 2021-12-03

Thanks, I was wondering a little about path length, but haven't experienced that in a long time.

scott s.
.