Installer not working correctly
See original GitHub issueHi all. I am usingelectron-winstaller
to make an installabe file for windows.
So I have installed the node package by the command npm i -g electron-winstaller
Than have created built.js
var electronInstaller = require('electron-winstaller');
// In this case, we can use relative paths
var settings = {
// Specify the folder where the built app is located
appDirectory: './release-builds/MyApp-win32-ia32',
// Specify the existing folder where
outputDirectory: './installers',
// The name of the Author of the app (the name of your company)
authors: 'MyAppGroup',
// The name of the executable of your built
exe: './MyApp.exe'
};
resultPromise = electronInstaller.createWindowsInstaller(settings);
resultPromise.then(() => {
console.log("The installers of your application were succesfully created !");
}, (e) => {
console.log(`Well, sometimes you are not so lucky: ${e.message}`)
});
I have already made my package by the command
electron-packager . --overwrite --asar --platform=win32 --arch=ia32 --icon=system/icons/win/icon.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"MyApp\""
So after running the command node built.js
I am getting that the instalalble file successfuly created.
So now in my installers
folder I have some new files
MyApp-0.1.0-full.nupkg
MyAppSetup.exe
MyAppSetup.msi
RELEASES
So when I am trying to install app by msi file I am getting a loading window which closing after 2-3 sec.
When trying to run MyAppSetup.exe
file, the application is starting to work withouth installation process.
Please help me to get correct installable file. Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:7
- Comments:11
Top GitHub Comments
My installer seems to install, but just a blank window comes up when running. Is there a way to see the console log?
Any update on this issue?