How to create a windows installer for an application built with Electron Framework

preview_player
Показать описание


Please subscribe to our channel. For more awesome content visit

Follow us on Twitter

Like us on Facebook:
Рекомендации по теме
Комментарии
Автор

Thank you for this tururial. this comment is to encourage you for more videos. best of luck

animotivation
Автор

Can you send the link to the website you copied the codes from?

budescode_academy
Автор

Thank you for this tuturial. This installation is a bit too transparent for the user, is it possbile to add the standard installations pages of Windows with that let the user choose the installation path with the Next button?

batclaudio
Автор

I am getting this error --- End of inner exception stack trace ---
at
at millisecondsTimeout, CancellationToken cancellationToken)
at outputFile, String packagesRootDir, Func`2 releaseNotesProcessor, Action`1 contentsPostProcessHoo
k)
at package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingO
pts, String baseUrl, String setupIcon, Boolean generateMsi, String frameworkVersion, Boolean generateDeltas)
at args)
at args)
at args)
---> (Inner Exception #0) The specified path, file name, or both are too long. The fully qualified file name must be less t
han 260 characters, and the directory name must be less than 248 characters.
at fullPath, String path, Object dirSecurityObj, Boolean checkHost)
at path, Boolean checkHost)
at path)
at
at
at

abhaynarnaware
Автор

How to install a 3rd party software with electron? Like mySql

Bali
Автор

hey !
Your code description is working fine but during building .exe file I have faced some problem.Although ".nupkg" has been created after that my console shows some error like this.

Well, sometimes you are not so lucky: Failed with exit code: 4294967295
Output:
System.AggregateException: One or more errors occurred. ---> The specified executable is not a valid application for this OS platform.
at startInfo)
at
at startInfo)
at
--- End of stack trace from previous location where exception was thrown ---
at task)
at task)
at
--- End of inner exception stack trace ---
at
at millisecondsTimeout, CancellationToken cancellationToken)
at outputFile, String packagesRootDir, Func`2 releaseNotesProcessor, Action`1 contentsPostProcessHook)
at package, String targetDir, String packagesDir, String bootstrapperExe, String backgroundGif, String signingOpts, String baseUrl, String setupIcon, Boolean generateMsi, String
frameworkVersion, Boolean generateDeltas)
at args)
at args)
at args)
---> (Inner Exception #0) (0x80004005): The specified executable is not a valid application for this OS platform.
at startInfo)
at
at startInfo)
at
--- End of stack trace from previous location where exception was thrown ---
at task)
at task)
at
Please guide me for solving this problem ....

DheerajKumar-ihej
Автор

hi
I have some errors in creating installer.
Help me.

build.js
Well, sometimes you are not so lucky: Failed with exit code: 1
Output:
Attempting to build package from
Description is required.

antonvanderlip
Автор

hi, sir how much time it will taken when run "electron-packager" command please mention in reply

electronjs
Автор

While creating executable in windows 7 32 bit, IT got this error.

failed with exit code 4294967295
System.ComponentModel .Win32Exception: The specified executable is not a valid application for this os platform

vikramenu
Автор

the command i used :
"node build.js"

error message i got :
"Well, sometimes you are not so lucky: Failed with exit code: 1
Output:
Attempting to build package from 'myapp.nuspec'.
Description is required."

I have followed every single step in the tutorial, yet i am getting this error. Please educate me about the same if anyone found the possible solution for the same.


P.S.

"devDependencies": {
"electron": "^3.0.10"
},
"dependencies": {
"electron-packager": "^12.2.0",
"electron-squirrel-startup": "^1.0.0"
}

The above mentioned are the versions of the dependencies used in this project.... #Just for the reference.

prinsonp.l.
Автор

it is good, but how can we build with database and distribute for others

wendmwerku
Автор

Good tutorial, but when I try to install the app using the msi file, I'm getting a loading window which closes after 2-3 sec!

What's the solution for this?

aniruddhashevle
Автор

Awesome tutorial for beginners. i created the app using your steps, i install the setup file it works fine for me and checked with another system it returns the error "The application requires .NET Framework 4.5. Please install the .NET Framework then run your installer again" please advice. and app first page loading take too much time in other systems

dineshsubramani
Автор

hi... does we need nodejs or any requirements on windows ? i'm using linux for developing and want deploy to windows

masbejo
Автор

I am working on react js project. i create an .exe when i install it than got error : TypeError: Cannot read property 'isBuffer' of undefined at Object.

devbd
Автор

Great tutorial but I have an error when building installer: Failed with exit code 4294967295. Failed to link Wix Template setup.wixobj, error LGTH0311 Setup.wxs "A string was provided with characters that are not available in the specified database code page '1252'. And no installer is created. In Windows.

comercialconferencia
Автор

can you help me:
i build but error: cannot find module mz/child_process, how fix it?

tiennguyen-hiov
Автор

very nice tutorial. .thanks. .please create video how to change app icon for Windows app

majeedk
Автор

Hi, I got this error

Command failed: npm prune --production

npm ERR! May not delete:


npm ERR! A complete log of this run can be found in:
npm ERR!
238Z-debug.log

any chance you know how to fix this?
THANKS!

Roman-fdqr
Автор

a code with error : 4294967295. how to solve this?

abhi