Skip to content

Unable to make the application run on startup for all users #62

Open

Description

@anaszgh

Platform: Windows 10 x64
Node v6.11.2
auto-launch v5.0.1

Using electron, and after installation i run a form which user has to enter configuration for the application, there the auto-launch should work, the problem is that the installation wizard (thus the configuration form) runs under a specific user, and the main application (which i need to set the auto launch for) runs under different user.

And because of this the auto launch functionality wont work because the registry change is under HKCU, to resolve this there must be a parameter in the construct whether the auto launch should be for all users or not, and this boolean value will decide whether to make the change in HKCU or HKLM.

Activity

  1. adam-lynch commented on Nov 11, 2017

    @adam-lynch
    Contributor

    Oh nice find. We would be open to adding that. Could you open a pull-request? 😄

  2. anaszgh commented on Nov 27, 2017

    @anaszgh
    Author

    @adam-lynch
    Sorry for being late,
    I'm unable to push my code, can you please help through it?

    remote: Permission to Teamwork/node-auto-launch.git denied to anaszgh.
    fatal: unable to access 'https://github.com/Teamwork/node-auto-launch.git/': 
    The requested URL returned error: 403
    
  3. adam-lynch commented on Dec 2, 2017

    @adam-lynch
    Contributor

    @anaszgh no problem. Only maintainers of this project have access/permission to push directly to the repository directly. So what you need to:

    1. Create a fork. This is essentially a copy of the project you own. Here is a GitHub help article on that: https://help.github.com/articles/fork-a-repo/.
    2. Push your code there.
    3. Create a pull-request, i.e. a request to take the code you pushed to your fork and add it to the original project. Here is a GitHub help article on that: https://help.github.com/articles/creating-a-pull-request-from-a-fork/.

    Let me know if you've any questions 😄

  4. itsre commented on Dec 10, 2017

    @itsre

    Is the pull-request has been merged in to the master?

  5. anaszgh commented on Dec 10, 2017

    @anaszgh
    Author

    Not yet, sorry for being late, i'll do it today 😄

  6. added a commit that references this issue on Dec 10, 2017
  7. self-assigned this
    on Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions