mherrmann / fbs

Create Python GUIs with Qt in minutes
https://build-system.fman.io
GNU General Public License v3.0
3.73k stars 193 forks source link

FBS cannot find makensis even though it is installed #293

Open adwaye opened 1 year ago

adwaye commented 1 year ago

Running fbs installer on my application gives the following error:

(pyqt5) C:\Users\goku\PycharmProjects\fbsProject>echo %NSIS%
C:\Program Files (x86)\NSIS
(pyqt5) C:\Users\goku\PycharmProjects\fbsProject>echo %makensis%
C:\Program Files (x86)\NSIS\makensis.exe

Would be grateful for any help on this.

gabrieljreed commented 1 year ago

I know this is late, but did you add it to the windows PATH? After you've done that, you may need to restart your terminal and/or machine (depending on if you added to User path or System path).

meramsey commented 1 year ago

Yeah would be user user env path and a reboot should do it. I think if you run powershell refreshenv it might work without a reboot but a reboot is probably the safest way to ensure it.

It is very similiar to signtool snippet i put up awhile back https://github.com/mherrmann/fbs-tutorial/pull/47/files#diff-04c6e90faac2675aa89e2176d2eec7d8

Ban2Me commented 3 days ago

Under Windows, in your terminal use: set PATH=%PATH%;C:\Program Files (x86)\NSIS. This should fix your issue