Change installation directory when not using 'oneClick' with NSIS
See original GitHub issueelectron-builder version
- 5.12.1
Building for
- windows nsis x64
Building on
- linux x64(Ubuntu 16.04)
Assuming ‘oneClick’ is set to false for NSIS, and two package.json scheme is used with the development package.json having the build object as follows -
"build": {
"appId": "com.somerandom.name",
"productName": "RandomName",
"asar":false,
"win": {
"target": "nsis",
"title": "TitleValue",
"version": "1.0.0",
"authors": "User Name"
},
"nsis":{
"oneClick": false
}
}
The Installation directory(tested with Windows 10) defaults to
C:\Users\username\AppData\Local\Programs\appname
How can the user be allowed to change the installation directory ?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:15
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Remove "Installation Complete" close prompt? - NSIS Forums
One-click installer : Remove "Installation Complete" close prompt?
Read more >NSIS
Whether to allow user to change installation directory. ... To customize web installer, use the top-level nsisWeb key (not nsis ). If for...
Read more >Nsis - changing installation directory
Currently I am in my installing directory say c:\Program File\My installer.I have to execute a demo.bat file that is stored at some other ......
Read more >CUSTOM Installer w/ Electron - YouTube
This installer can have a license and allow the user to select the install directory. Furthermore, the user can uninstall the app now...
Read more >Specify location where end users install from
Learn how to use the Publish Wizard to publish a ClickOnce application for the first time. Make later changes on the Publish page...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 I think it’s common sense for allowing users to choose where to install.
But now, we have a boring installer even for updates, am i wrong ? How can I fix it in this idea :