Nativefier: Why is my windows output not including an exe?

Created on 2 Oct 2020  路  6Comments  路  Source: jiahaog/nativefier

Hi, I built my website for windows on my windows pc, however I was expecting to get an exe file that I could have people run to install the application or create a freestanding application without a dependency, in this case i cant open the application file outside of its build folder because the error "the code execution cannot proceed because ffmped.dll was not found". I want to create a singular file however it only works if it is inside the folder with that file. How can I create the .exe file like I was expecting and that is written on the readme? Thanks

question

Most helpful comment

awesome, thanks for your help, this is a really great package.

All 6 comments

Hi, I built my website for windows on my windows pc, however I was expecting to get an exe file that I could have people run to install the application or create a freestanding application without a dependency, in this case i cant open the application file outside of its build folder because the error "the code execution cannot proceed because ffmped.dll was not found". I want to create a singular file however it only works if it is inside the folder with that file. How can I create the .exe file like I was expecting and that is written on the readme? Thanks

Hi @jshepin. You're misreading the readme. It says

Apps are wrapped by Electron (which uses Chromium under the hood) in an OS executable (.app, .exe, etc) for use on Windows, macOS and Linux.

To mean "you get an executable for your platform for a website".

But it does not pretend the expected output is a single giant standalone static file, as that's not something Electron supports. Yes, to run a Nativefier app, you need the outputted folder as a whole.

Closing.

okay, however this article on medium clearly outputs a .exe, how did that happen?

okay, however this article on medium clearly outputs a .exe, how did that happen?

@jshepin it outputs a main .exe inside a folder containing other DLLs (Dynamically-Linked Libraries), which must be present at runtime for the main .exe to work:

medium image

do you have any documentation on how to get those files? or is it just project dependent?

do you have any documentation on how to get those files? or is it just project dependent?

@jshepin see https://github.com/electron/electron/releases and https://github.com/electron/electron-packager

awesome, thanks for your help, this is a really great package.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vegbrasil picture vegbrasil  路  4Comments

desimaniac picture desimaniac  路  4Comments

ranzou06 picture ranzou06  路  3Comments

danielyli picture danielyli  路  5Comments

simonweil picture simonweil  路  5Comments