node-auto-launch
node-auto-launch copied to clipboard
Registry is not created in Windows and App doesn't start with Windows
- The target platform(s) the problem occurs on (Linux, Mac, Mac App Store, and or Windows): Windows
- Node version (run
node -v
): 7.10.0 - auto-launch version: 5.0.1
- The options you're passing to auto-launch:
- Are you using NW.js or Electron?
Electron
- If so, which version? 1.7.6
- If you're using Electron, are you using auto-launch from the main process or a renderer process? renderer process
My application doesn't start when Windows is restarted and a registry entry under \HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run is not created.
Hmmm I'm not sure what could be wrong here. Did you try on another other machine? Could you provide us with the app or a simple version of it we could debug?
And make sure to try 5.0.3
just to be safe.
Hi @adam-lynch Registry edit permission is disabled on some windows systems. What to do in that scenario. I am getting l ADD command exited with code 1: ERROR: Registry editing has been disabled by your administrator. in my electron app. Is there any workaround for this problem?
@deepanshushukla not that I know of, I'm afraid. I think all you can do is gracefully handle the error and maybe disable any options in your UI.
@adam-lynch I am able to reproduce it by disabling the registry edit setting in Windows. Getting the same error
This is not unexpected. If registry editing is disabled, there isn't anything you can do
Any update on this issue will be much appreciated.
No Solution yet