question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error building msi - Win path on Mac

See original GitHub issue
  • Version: 20.28.4
  • Target: MSI

Using electron-builder 20.28.4, I get this error (and more after, but this one is symptomatic) when I build a msi

  • electron-builder version=20.28.4
  • loaded configuration file=package.json ("build" field)
  • writing effective config file=dist/dev/builder-effective-config.yaml
  • no native production dependencies
  • packaging       platform=win32 arch=x64 electron=2.0.9 appOutDir=dist/dev/win-unpacked
  • building        target=MSI arch=x64 file=dist/dev/[REDACTED]-1.4.0.msi
  • no native production dependencies
  • packaging       platform=win32 arch=ia32 electron=2.0.9 appOutDir=dist/dev/win-ia32-unpacked
  • building        target=MSI arch=ia32 file=dist/dev/[REDACTED]-1.4.0.msi
Error: Cannot cleanup:

Error #1 --------------------------------------------------------------------------------
Error: Exit code: 103. Command failed: /Users/[REDACTED]/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine Z:\Users\[REDACTED]\Library\Caches\electron-builder\wix\wix-4.0.0.5512.2\light.exe -out Z:\Users\[REDACTED]\Documents\[REDACTED]\GIT\[REDACTED]\dist\dev\[REDACTED]-1.4.0.msi -v -spdb -sw1076 -dappDir=Z:\Users\[REDACTED]\dist\dev\win-ia32-unpacked -pedantic -wx -sval project.wixobj
Z:\Users\[REDACTED]\Documents\eGull\GIT\[REDACTED]\dist\dev\__msi-ia32\project.wxs(190) : error LGHT0103 : The system cannot find the file 'Z:\Users\[REDACTED]\Documents\eGull\GIT\[REDACTED]\dist\dev\win-ia32-unpacked\blink_image_resources_200_percent.pak'.

I guess the error might come from the paths (Z:\ !) that are written like under Windows but I use a mac.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:9
  • Comments:7

github_iconTop GitHub Comments

3reactions
dombarnescommented, Feb 19, 2019

Bump. Seem to be getting the same thing.

Error #2 --------------------------------------------------------------------------------
Error: Exit code: 103. Command failed: /Users/[username]/Library/Caches/electron-builder/wine/wine-2.0.3-mac-10.13/bin/wine Z:\Users\[username]\Library\Caches\electron-builder\wix\wix-4.0.0.5512.2\light.exe -out Z:\Users\[username]\myproject\dist\release\My Project-4.2.0.msi -v -spdb -sw1076 -dappDir=Z:\Users\[username]\myproject\dist\release\win-unpacked -pedantic -wx -sval project.wixobj
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
err:wineboot:ProcessRunKeys Error running cmd L"C:\\windows\\system32\\winemenubuilder.exe -a -r" (2)
Z:\Users\[username]\myproject\dist\release\__msi-x64\project.wxs(268) : error LGHT0103 : The system cannot find the file 'Z:\Users\[username]\myproject\dist\release\win-unpacked\resources\app.asar.unpacked\node_modules\electron-windows-store\LICENSE'.

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

Updating file information.

Z:\Users\[username]\myproject\dist\release\__msi-x64\project.wxs(268) : error LGHT0103 : The system cannot find the file 'Z:\Users\[username]\myproject\dist\release\win-unpacked\resources\app.asar.unpacked\node_modules\electron-windows-store\LICENSE'.
electron-builder --version
20.28.3
0reactions
superhoscommented, May 15, 2020

Same issue. Still no solution yet?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manual deployment for Microsoft Defender for Endpoint on ...
This topic describes how to deploy Microsoft Defender for Endpoint on macOS manually. A successful deployment requires the completion of all ...
Read more >
There is a problem with this Windows Installer package
The .msi file was not fully downloaded. One of the following error messages may appear: There is a problem with this Windows Installer...
Read more >
How do you install an MSI with msiexec into a specific directory?
Using "INSTALLDIR" is not working properly because the MSI is installed into the default path and not into the specified path. path ......
Read more >
Software : Change default installation path in msi setup - ITNinja
I received following error after creating batch file and execute program through batch file. "Error while writing to C:\Program Files\Company Name\Product Name\ ...
Read more >
Error: 1317 during installation | Crick Software
Resolution · Open the Windows Start menu, start typing controlled folder access and click the result when it appears. · Turn the feature...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found