windows-installer
windows-installer copied to clipboard
Error parsing EntityName from nuspec file
Hey,
I'm getting the following error when trying to build an installer...
[START] Electron Winstaller
electron-windows-installer:main Using Mono: 'mono' +0ms
electron-windows-installer:main Using Wine: 'wine' +3ms
electron-windows-installer:main Created NuSpec file:
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>wmail</id>
<title>wmail</title>
<version>1.2.4</version>
<authors>Thomas Beverley</authors>
<owners>Thomas Beverley</owners>
<iconUrl>https://raw.githubusercontent.com/atom/electron/master/atom/browser/resources/win/atom.ico</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>The missing desktop client for Gmail & Google Inbox</description>
<copyright>Copyright © 2016 Thomas Beverley</copyright>
</metadata>
<files>
<file src="locales/**" target="lib/net45/locales" />
<file src="resources/**" target="lib/net45/resources" />
<file src="*.bin" target="lib/net45" />
<file src="*.dll" target="lib/net45" />
<file src="*.pak" target="lib/net45" />
<file src="Update.exe" target="lib/net45/squirrel.exe" />
<file src="icudtl.dat" target="lib/net45/icudtl.dat" />
<file src="LICENSE" target="lib/net45/LICENSE" />
<file src="wmail.exe" target="lib/net45/wmail.exe" />
</files>
</package>
+7s
[Error: Failed with exit code: 1
Output:
Attempting to build package from 'wmail.nuspec'.
An error occurred while parsing EntityName. Line 1, position 39.
]
Has anyone else seen this? I'm using el-capitan with mono 4.2.3
I am getting the same error. Did you find a solution/fix?
Unfortunately not :-(. When I was looking into it someone did suggest that using osx to create windows installers was a bit fraught. I never got around to setting up a windows dev machine with all the bells and whistles to test this though!
Try to use electron-builder instead of windows-installer directly.
Thanks for the suggestions @develar will give that a go myself!
Don't use &
in the name. This issue will be fixed in electron-builder — https://github.com/electron-userland/electron-builder/issues/517
It's working for me now. Had an "&" in my package.json "description". Removed it and everything works fine now.