Teamwork/node-auto-launch

Unable to make the application run on startup for all users

Open

#62 opened on Oct 3, 2017

View on GitHub
 (5 comments) (0 reactions) (1 assignee)CoffeeScript (911 stars) (111 forks)batch import
good first issuehelp wanted

Description

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.

Contributor guide