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

Registry is not created in Windows and App doesn't start with Windows #70

Open
fabriciolelis opened this issue Nov 16, 2017 · 8 comments

Comments

@fabriciolelis
Copy link

  • 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.

@adam-lynch
Copy link
Contributor

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?

@adam-lynch
Copy link
Contributor

And make sure to try 5.0.3 just to be safe.

@deepanshushukla
Copy link

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?

@adam-lynch
Copy link
Contributor

@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.

@deepanshushukla
Copy link

@adam-lynch I am able to reproduce it by disabling the registry edit setting in Windows. Getting the same error

@adam-lynch
Copy link
Contributor

This is not unexpected. If registry editing is disabled, there isn't anything you can do

@info-ankit
Copy link

Any update on this issue will be much appreciated.

@deepanshushukla
Copy link

No Solution yet

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

4 participants