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.

Windows Installer Hanging on Mono Command

See original GitHub issue

I’m using windows-installer through electron-builder. My installation appears to be hanging at the step seen in https://github.com/electron/windows-installer/blob/master/src/index.js#L151. I’m running windows-installer with the debug flag, and I very quickly get to the output for ‘Created NuSpec file’.

Running ps | grep mono, I see that the mono pack command continues to run indefinitely (At the time of writing this, it’s been going for over 10 minutes). Any ideas what might be causing this? I’m running this on a mac and have installed mono using brew. Mono version is 4.2.0.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:42 (22 by maintainers)

github_iconTop GitHub Comments

6reactions
danlopezcommented, Apr 5, 2016

Yup - you’re right. it looks like that run actually produced an Installer. Testing it now, but I’m going to close this - it’s definitely gotten past the hanging mono.

I’m not sure what fixed it, but it could be one of the following:

  1. Using asar=true
  2. Clearing and reinstalling all dependencies.
  3. windows-installer updates.

@develar - thanks so much for your help getting through this!

0reactions
dereklieucommented, Sep 11, 2017

FWIW, I also had to set asar:true when building with electron-packager for this to work. The whole thing took about a minute. When set to false, it hung for about an hour before I stopped it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Install Mono on Windows
The installer creates a “Open Mono Command Prompt” shortcut under the Mono program group in the start menu. This shortcut starts a command...
Read more >
Mono installation freezes at an annoying 99%
Now installing Mono-complete and it hangs at 99% on this process: Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.
Read more >
Windows Installer Stuck – Gathering Required Information ...
Windows Installer Stuck – Gathering Required Information Freezing FIXCommands Used:MSIEXEC /UNREGISTERMSIEXEC /REGSERVERSome users have said ...
Read more >
Installation of mono-complete package caused R Pi to freeze ...
Mono precompiling /usr/lib/mono/4.5/Microsoft.CodeAnalysis.CSharp.dll for arm... and that terminal window sits there forever. (however the rest ...
Read more >
Mono Package for Wine is not installed - Ask Ubuntu
Do the following to install wine-mono : Download wine-mono.msi from the official WineHQ site. Type wine64 uninstaller . Press install from the uninstaller ......
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