electron / electron/windows-installer
Getting error when trying to create installer
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 267
- Avg merge
- 5h 38m
- Merged PRs (30d)
- 1
Description
Hi all. I am getting an error when trying to run `createInstaller.js`
Here is my createInstaller.js file
```
const createWindowsInstaller = require('electron-winstaller').createWindowsInstaller
const path = require('path')
getInstallerConfig()
.then(createWindowsInstaller)
.catch((error) => {
console.error(error.message || error)
process.exit(1)
})
function getInstallerConfig() {
console.log('creating windows installer')
const rootPath = path.join('./')
const outPath = path.join(rootPath, 'release-builds')
return Promise.resolve({
appDirectory: path.join(outPath, 'EvenDex-win32-ia32/'),
authors: 'Even Foundation',
noMsi: true,
outputDirectory: path.join(outPath, 'windows-installer'),
exe: 'even.exe',
setupExe: 'EvenDex.exe',
setupIcon: path.join(rootPath, 'system', 'icons', 'favicon.ico')
})
}
```
Here is the error which I have got
```
No dice: Failed with exit code: 4294967295
Output:
Couldn't open log file, trying new file: System.MethodAccessException: Attempt by method 'Squirrel.Update.SetupLogLogger..ctor(Boolean)' to access method 'System.IO.StreamWriter..cto
r(System.IO.Stream, System.Text.Encoding, Int32, Boolean)' failed.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.