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.

[Bug] nsis-web auto-update just uninstall application without new installation

See original GitHub issue
  • Version: 20.15.3
  • Version: 2.21.10
  • Target: nsis-web

nsis-web auto-update uninstalls previous installed files but does not install new one, so auto-update just deletes installed files.

I think this issue is caused by #2739. child_process.spawn doesn’t seem to require double quotes, and unexpected double quotes makes nsis script cannot parse --package-file properly.

Possible solutions

  • Rollback #2739 to remove double quotes
  • Add shell: true or windowsVerbatimArguments: true to spawn options

Reference: https://stackoverflow.com/questions/12310468/node-js-child-process-issue-with-args-quotes-issue-ffmpeg-issue#comment16520727_12310468

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
pawsongcommented, Jul 4, 2018

@paulingalls https://github.com/ds300/patch-package might help you before fixed version is deployed 😃

0reactions
stale[bot]commented, Jul 2, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Electron nsis-web installer uninstalls existing app while ...
In our case, it's not just links in the start menu but seems the entire app itself is getting uninstalled, as we see...
Read more >
Auto Update - electron-builder
You need only 2 lines of code to make it work. Quick Setup Guide¶. Install electron-updater as an app dependency. Configure publish. Use ......
Read more >
How do I reinstall Microsoft Autoupdate on my Mac
Right click MAU file and click Move to Trash to uninstall it. (Note: you need to quit MAU before uninstalling it.) To reinstall...
Read more >
electron-builder | Yarn - Package Manager
A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out...
Read more >
Autoupdater.exe Your Uninstaller Download - Colaboratory
This is always installed with the setups described above. If the client is configured for Autoupdates, this application is started at every system...
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