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

MSI build fails on latest electron-builder 20.10.0 #2815

Closed
jhnferraris opened this issue Apr 20, 2018 · 2 comments
Closed

MSI build fails on latest electron-builder 20.10.0 #2815

jhnferraris opened this issue Apr 20, 2018 · 2 comments

Comments

@jhnferraris
Copy link

  • Version: 20.10.0
  • Target: MSI

Running $ build -w --x64 --ia32 to generate a msi target throws an error and stops the whole process. I already run WiX Toolset while builder is running.

$ build -w --x64 --ia32
  • electron-builder version=20.10.0
  • loaded configuration file=package.json ("build" field)
  • writing effective config file=dist\electron-builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=1.8.4 appOutDir=dist\win-unpacked
  • building        target=MSI arch=x64 file=dist\HelpMe-2.0.0.msi
  • no native production dependencies
  • packaging       platform=win32 arch=ia32 electron=1.8.4 appOutDir=dist\win-ia32-unpacked
Downloading tmp-8516-0-electron-v1.8.4-win32-ia32.zip
[============================================>] 100.0% of 41.99 MB (311.03 kB/s)
  • building        target=MSI arch=ia32 file=dist\HelpMe-2.0.0-ia32.msi
Error: Exit code: 94. Command failed: C:\.....\electron-builder\cache\wix\wix-4.0.0.5512.2\light.exe -out C:\.....\dist\HelpMe-2.0.0.msi -v -spdb -sw1076 -dappDir=C:\.....\dist\win-unpacked -pedantic -wx project.wixobj
C:\....\dist\__msi-x64\project.wxs(63) : error LGHT0094 : The identifier 'Directory:DesktopFolder' could not be found. Ensure you have typed the reference correctly and that all the necessary inputs are provided to the linker.

WiX Toolset Linker version 4.0.0.5512
Copyright (c) .NET Foundation and contributors. All rights reserved.

Last known electron-builder version that works on MSI is version 19.52.1

Let me know on how to address this issue. Thanks!

@jhnferraris
Copy link
Author

So I check other reports and found this.

Last known electron-builder version works on 20.6.2

@develar
Copy link
Member

develar commented Apr 27, 2018

Duplicates #2798

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

No branches or pull requests

2 participants