windows-installer: Error on OS X: "System.DllNotFoundException: msdelta.dll"
$ wine --version
wine-1.8.1
$ mono --version
Mono JIT compiler version 4.2.3 (Stable 4.2.3.4/832de4b Wed Mar 30 13:57:48 PDT 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen
Any ideas?
$ DEBUG=electron-windows-installer:main npm run package -- win32
electron-windows-installer:main Using Mono: '/usr/local/bin/mono' +0ms
electron-windows-installer:main Using Wine: '/usr/local/bin/wine' +2ms
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>WebTorrent</id>
<title>WebTorrent</title>
<version>0.2.0</version>
<authors>The WebTorrent Project</authors>
<owners>The WebTorrent Project</owners>
<iconUrl>https://raw.githubusercontent.com/feross/webtorrent-desktop/master/static/WebTorrent.ico</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>WebTorrent</description>
<copyright>Copyright © 2016 The WebTorrent Project</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="WebTorrent.exe" target="lib/net45/WebTorrent.exe" />
</files>
</package>
+53ms
electron-windows-installer:main Attempting to build package from 'WebTorrent.nuspec'.
Successfully created package '/var/folders/n9/tqh670d16c3bd5853qgbvz1w0000gn/T/si-11635-82019-17kbzp6/WebTorrent.0.2.0.nupkg'.
+24s
electron-windows-installer:main +17s
Failed with exit code: 255
Output:
System.DllNotFoundException: msdelta.dll
at (wrapper managed-to-native) DeltaCompressionDotNet.MsDelta.NativeMethods:CreateDelta (DeltaCompressionDotNet.MsDelta.FileTypeSet,long,long,string,string,string,string,DeltaCompressionDotNet.MsDelta.DeltaInput,intptr,DeltaCompressionDotNet.MsDelta.HashAlgId,string)
at DeltaCompressionDotNet.MsDelta.MsDeltaCompression.CreateDelta (System.String oldFilePath, System.String newFilePath, System.String deltaFilePath) <0x1063ef5e0 + 0x0007b> in <filename unknown>:0
at Squirrel.DeltaPackageBuilder.createDeltaForSingleFile (System.IO.FileInfo targetFile, System.IO.DirectoryInfo workingDirectory, System.Collections.Generic.Dictionary`2 baseFileListing) <0x1063eea40 + 0x003b0> in <filename unknown>:0
at Squirrel.DeltaPackageBuilder.CreateDeltaPackage (Squirrel.ReleasePackage basePackage, Squirrel.ReleasePackage newPackage, System.String outputFile) <0x1063c1dc0 + 0x006f9> in <filename unknown>:0
at Squirrel.Update.Program.Releasify (System.String package, System.String targetDir, System.String packagesDir, System.String bootstrapperExe, System.String backgroundGif, System.String signingOpts, System.String baseUrl, System.String setupIcon, Boolean generateMsi) <0x1052a8f60 + 0x00b5a> in <filename unknown>:0
at Squirrel.Update.Program.executeCommandLine (System.String[] args) <0x102a10930 + 0x0173e> in <filename unknown>:0
at Squirrel.Update.Program.main (System.String[] args) <0x102a0c260 + 0x0027a> in <filename unknown>:0
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 27 (27 by maintainers)
Commits related to this issue
- Handle any kind of failure in generating deltas /cc https://github.com/electron/windows-installer/issues/61 — committed to Squirrel/Squirrel.Windows by anaisbetts 8 years ago
- fix: Error on OS X: "System.DllNotFoundException: msdelta.dll" #61 — committed to develar/windows-installer by develar 8 years ago
Fixed. I’ve got some work to do on Squirrel.Windows this week, then we’ll put out a new version