electron / electron/windows-installer
Installer not working correctly
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 267
- Avg merge
- 5h 38m
- Merged PRs (30d)
- 1
Description
Hi all. I am using` electron-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!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.