electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.47k stars 1.72k forks source link

NSIS ERROR #8148

Open iEmirRekt opened 3 months ago

iEmirRekt commented 3 months ago
Last Version

/root/.cache/electron-builder/nsis/nsis-3.0.4.1/linux/makensis process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Exit code: 1 Output: Command line defined: "APP_ID=dmfbot.discordmarketim.com.tr" Command line defined: "APP_GUID=6e8ffa84-80c5-5c29-ba70-25f2cd8f9d87" Command line defined: "UNINSTALL_APP_KEY=6e8ffa84-80c5-5c29-ba70-25f2cd8f9d87" Command line defined: "PRODUCT_NAME=DMFBOT Kullanıcı Paneli" Command line defined: "PRODUCT_FILENAME=DMFBOT Kullanıcı Paneli" Command line defined: "APP_FILENAME=dmfbot-kullanici-paneli" Command line defined: "APP_DESCRIPTION=Discord Marketim tarafından tasarlanmış herkese açık DMFBOT Discord botu bildirim paneli." Command line defined: "VERSION=1.0.0" Command line defined: "PROJECT_DIR=/home/emir/Masaüstü/Socket Client" Command line defined: "BUILD_RESOURCES_DIR=/home/emir/Masaüstü/Socket Client/build" Command line defined: "APP_PACKAGE_NAME=dmfbot-kullanici-paneli" Command line defined: "MUI_ICON=/home/emir/Masaüstü/Socket Client/logo.ico" Command line defined: "MUI_UNICON=/home/emir/Masaüstü/Socket Client/logo.ico" Command line defined: "APP_64=/home/emir/Masaüstü/Socket Client/dist/dmfbot-kullanici-paneli-1.0.0-x64.nsis.7z" Command line defined: "APP_64_NAME=dmfbot-kullanici-paneli-1.0.0-x64.nsis.7z" Command line defined: "APP_64_HASH=F83AC73BA4D6557FDE4CB327989D0E24A865CFF9299152FE5012C6574B97B5D3A123AC9C706BD3E85840B967B5084DFE6D7F091FE058136E341ADA1B16B386FA" Command line defined: "APP_64_UNPACKED_SIZE=764429" Command line defined: "COMPANY_NAME=Discord Marketim" Command line defined: "APP_PRODUCT_FILENAME=DMFBOT Kullanıcı Paneli" Command line defined: "APP_INSTALLER_STORE_FILE=dmfbot-kullanici-paneli-updater\installer.exe" Command line defined: "COMPRESSION_METHOD=7z" Command line defined: "MULTIUSER_INSTALLMODE_ALLOW_ELEVATION" Command line defined: "INSTALL_MODE_PER_ALL_USERS_REQUIRED" Command line defined: "allowToChangeInstallationDirectory" Command line defined: "SHORTCUT_NAME=DMFBOT Kullanıcı Paneli" Command line defined: "DELETE_APP_DATA_ON_UNINSTALL" Command line defined: "UNINSTALL_DISPLAY_NAME=DMFBOT Kullanıcı Paneli Kaldır" Command line defined: "DISPLAY_LANG_SELECTOR" Command line defined: "MUI_WELCOMEFINISHPAGE_BITMAP=${NSISDIR}\Contrib\Graphics\Wizard\nsis3-metro.bmp" Command line defined: "UNINSTALLER_ICON=/home/emir/Masaüstü/Socket Client/logo.ico" Command line defined: "MUI_UNWELCOMEFINISHPAGE_BITMAP=/home/emir/Masaüstü/Socket Client/logo.bmp" Command line defined: "ESTIMATED_SIZE=764428" Command line defined: "COMPRESS=auto" Command line defined: "BUILD_UNINSTALLER" Command line defined: "UNINSTALLER_OUT_FILE=Z:\home\emir\Masaüstü\Socket Client\dist__uninstaller-nsis-dmfbot-kullanici-paneli.exe" Processing config: /root/.cache/electron-builder/nsis/nsis-3.0.4.1/nsisconf.nsh Processing script file: "" (UTF8)

Error output: Invalid command: "!addincludedir" Error in script "" on line 2 -- aborting creation process failedTask=build stackTrace=Error: /root/.cache/electron-builder/nsis/nsis-3.0.4.1/linux/makensis process failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE Exit code: 1 Output: Command line defined: "APP_ID=dmfbot.discordmarketim.com.tr" Command line defined: "APP_GUID=6e8ffa84-80c5-5c29-ba70-25f2cd8f9d87" Command line defined: "UNINSTALL_APP_KEY=6e8ffa84-80c5-5c29-ba70-25f2cd8f9d87" Command line defined: "PRODUCT_NAME=DMFBOT Kullanıcı Paneli" Command line defined: "PRODUCT_FILENAME=DMFBOT Kullanıcı Paneli" Command line defined: "APP_FILENAME=dmfbot-kullanici-paneli" Command line defined: "APP_DESCRIPTION=Discord Marketim tarafından tasarlanmış herkese açık DMFBOT Discord botu bildirim paneli." Command line defined: "VERSION=1.0.0" Command line defined: "PROJECT_DIR=/home/emir/Masaüstü/Socket Client" Command line defined: "BUILD_RESOURCES_DIR=/home/emir/Masaüstü/Socket Client/build" Command line defined: "APP_PACKAGE_NAME=dmfbot-kullanici-paneli" Command line defined: "MUI_ICON=/home/emir/Masaüstü/Socket Client/logo.ico" Command line defined: "MUI_UNICON=/home/emir/Masaüstü/Socket Client/logo.ico" Command line defined: "APP_64=/home/emir/Masaüstü/Socket Client/dist/dmfbot-kullanici-paneli-1.0.0-x64.nsis.7z" Command line defined: "APP_64_NAME=dmfbot-kullanici-paneli-1.0.0-x64.nsis.7z" Command line defined: "APP_64_HASH=F83AC73BA4D6557FDE4CB327989D0E24A865CFF9299152FE5012C6574B97B5D3A123AC9C706BD3E85840B967B5084DFE6D7F091FE058136E341ADA1B16B386FA" Command line defined: "APP_64_UNPACKED_SIZE=764429" Command line defined: "COMPANY_NAME=Discord Marketim" Command line defined: "APP_PRODUCT_FILENAME=DMFBOT Kullanıcı Paneli" Command line defined: "APP_INSTALLER_STORE_FILE=dmfbot-kullanici-paneli-updater\installer.exe" Command line defined: "COMPRESSION_METHOD=7z" Command line defined: "MULTIUSER_INSTALLMODE_ALLOW_ELEVATION" Command line defined: "INSTALL_MODE_PER_ALL_USERS_REQUIRED" Command line defined: "allowToChangeInstallationDirectory" Command line defined: "SHORTCUT_NAME=DMFBOT Kullanıcı Paneli" Command line defined: "DELETE_APP_DATA_ON_UNINSTALL" Command line defined: "UNINSTALL_DISPLAY_NAME=DMFBOT Kullanıcı Paneli Kaldır" Command line defined: "DISPLAY_LANG_SELECTOR" Command line defined: "MUI_WELCOMEFINISHPAGE_BITMAP=${NSISDIR}\Contrib\Graphics\Wizard\nsis3-metro.bmp" Command line defined: "UNINSTALLER_ICON=/home/emir/Masaüstü/Socket Client/logo.ico" Command line defined: "MUI_UNWELCOMEFINISHPAGE_BITMAP=/home/emir/Masaüstü/Socket Client/logo.bmp" Command line defined: "ESTIMATED_SIZE=764428" Command line defined: "COMPRESS=auto" Command line defined: "BUILD_UNINSTALLER" Command line defined: "UNINSTALLER_OUT_FILE=Z:\home\emir\Masaüstü\Socket Client\dist__uninstaller-nsis-dmfbot-kullanici-paneli.exe" Processing config: /root/.cache/electron-builder/nsis/nsis-3.0.4.1/nsisconf.nsh Processing script file: "" (UTF8) Error output: Invalid command: "!addincludedir" Error in script "" on line 2 -- aborting creation process at ChildProcess. (/home/emir/Masaüstü/Socket Client/node_modules/builder-util/src/util.ts:252:14) at Object.onceWrapper (node:events:633:26) at ChildProcess.emit (node:events:518:28) at maybeClose (node:internal/child_process:1105:16) at Socket. (node:internal/child_process:457:11) at Socket.emit (node:events:518:28) at Pipe. (node:net:337:12)

aehyok commented 2 months ago

I encountered the same issue on Windows.

github-actions[bot] commented 2 weeks ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.