#Dev runs fine but error building application

2 messages · Page 1 of 1 (latest)

plush anvil
#
Built application at: C:\Users\adity\AppData\Local\Temp\cargo-install43DLvn\release\students-hub.exe
    Info Target: x64
    Running candle for "main.wxs"
    Running light to produce C:\Users\adity\AppData\Local\Temp\cargo-install43DLvn\release\bundle\msi\Student's Hub_1.0.0_x64_en-US.msi
    Info Target: x64
    Running makensis.exe to produce C:\Users\adity\AppData\Local\Temp\cargo-install43DLvn\release\bundle\nsis\Student's Hub_1.0.0_x64-setup.exe
!insertmacro: macro "NSISCOMCALL" requires 4 parameter(s), passed 7!
Error in macro IsShortcutTarget on macroline 11
Error in script "C:\Users\adity\AppData\Local\Temp\cargo-install43DLvn\release\nsis\x64\installer.nsi" on line 689 -- aborting creation process
    Error failed to bundle project:
    - `The system cannot find the file specified. (os error 2)`

I got this error when trying to bundle my app, it works fine in development.

I am using react as fronend

#

.msi bundle is created but error when creating nsis bundle