What's the best way to make an electron app installer so that it installs it in ProgramFiles? I am using the electron-builder, but it installs the app in %appdata%
Asked
Active
Viewed 3,024 times
1 Answers
13
The installer will indeed install in %appdata% if you have set build/nsis/perMachine to false (which is default) in your package.json. If you set perMachine to true, the program will be installed in program files, and furthermore if you set oneClick to false, you allow the user to choose where to install.

Garmien
- 185
- 1
- 9
-
but is there any way to set the app installation path as per our choice and set oneClick to true? – Mukund Mar 01 '23 at 06:11