Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while creating delta nupkg for Windows: System.DllNotFoundException: msdelta.dl #294

Closed
atietje opened this issue Apr 5, 2016 · 4 comments · May be fixed by qcif/data-curator#563
Closed

Comments

@atietje
Copy link

atietje commented Apr 5, 2016

I added to my development package.json:

"build": {
    "win": {
      "remoteReleases": "https://github.com/my-username/my-repo"
    }
}

When I run ./node_modules/.bin/build --appDir build/ --dist --platform win32 --arch x64 I get the error:

Packaging app for platform win32 x64 using electron v0.37.4
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)

I'm building for Windows on OS X El Capitan.

In addition to that:

  • Can I use a private Github repo for this? Where do I have to put credentials?
  • Can I use a Nuts URL for remoteReleases?
@atietje atietje changed the title Errore while creating delta nupkg for Windows: System.DllNotFoundException: msdelta.dll Error while creating delta nupkg for Windows: System.DllNotFoundException: msdelta.dl Apr 5, 2016
@develar
Copy link
Member

develar commented Apr 5, 2016

It is reported as electron/windows-installer#61 Unlikely that it will be addressed there soon, but, as you use electron-builder, it will be fixed by me. I will check.

Can I use a private Github repo for this? Where do I have to put credentials?

When pointing to GitHub, use the URL to the repository root page, else point to an existing remote Releases folder

Set remoteToken (see https://github.com/electron/windows-installer). In the development package.json: build: {win: {remoteToken: yourToken }}.

Can I use a Nuts URL for remoteReleases?

Yes. See https://github.com/Squirrel/Squirrel.Windows/blob/9de260cb6b614234511d57723738f1be2ed25476/src/SyncReleases/Program.cs#L52

@atietje
Copy link
Author

atietje commented Apr 5, 2016

Adding remoteToken for Github did the job, thanks!

For Nuts it worked when I use

"remoteReleases": "https://MY-NUTS.herokuapp.com/update/win32/0.3.5"

Seems I have to bump the version in this URL on every release, because there seems to be no latest

System.DllNotFoundException: msdelta.dllis still there. Thanks for investigating!

@develar
Copy link
Member

develar commented Apr 5, 2016

Seems I have to bump the version in this URL on every release, because there seems to be no latest

Please ask about in the Nuts issue tracker (mention this issue, I am also interested).

@develar
Copy link
Member

develar commented Apr 5, 2016

Reproduced. In any case you can build production-ready win app only on Windows (because code signing is not supported https://github.com/electron-userland/electron-builder/blob/master/docs/multi-platform-build.md#multi-platform-build) but will be fixed anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants