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.

Windows 10 - NSIS one click install as Current User

See original GitHub issue
  • 5.10.5:
  • nsis - windows: default to one click install

When installing the nsis .exe under Windows 7, one click will install for all users. However when installing under Windows 10 environment, regardless (UAC - User Access Control settings) it only install under “Current User”. The work around is to run the installer as “Run as Administrator”.

Question, is there anyway to avoid right click > “Run as Administrator” to install the app for all User ?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

4reactions
FromStoneagecommented, Jul 5, 2016

@develar good question, one of the reason is I’m trying to associate a file extension to the electron app. If the app is not installed for all users, the app will not be installed under C:\Program Files. As a result if the file extension is not associated with the app, open a file with unknown extension will prompt user to choose from a list of pre-installed apps, this list will not contain the custom app. Further more, when browse for other apps to open, by default Windows will load an Open with … dialog that defaults to C:\Program Files.

That’s why I’d be interested to deploy the app for All user instead of current user.

0reactions
develarcommented, Jul 11, 2016

If you use NSIS installer, strongly recommended update to 5.12.1 version.

Read more comments on GitHub >

github_iconTop Results From Across the Web

NSIS - electron-builder
If oneClick is false and perMachine is false (default): install mode installer page. allowElevation = true Boolean - assisted installer only. Allow requesting ......
Read more >
Simple tutorials - NSIS Wiki
Simple tutorials · 1 NSIS Setup · 2 The bare minimum · 3 Simple hello world - popup box · 4 Simple hello...
Read more >
Let installer create an auto-run shortcut on windows startup for ...
Install something only for the current user. Install something for every user on the machine. In NSIS you perform the current/single user mode ......
Read more >
UAC plug-in and MultiUser dialog - NSIS Forums
Hi, I'm trying to use UAC plug-in in my script which already uses the MultiUser dialog for selection between all-users and current-user ......
Read more >
Complete Guide: How to Fix NSIS Error Windows 10
If you have download and install software on your computer, you should know that every software contains an installer that controls the whole ......
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