NSIS - Option to show installation details using ShowInstDetails
See original GitHub issue- Version: 22.3.2
- Target: windows
I would like to use the switch ShowInstDetails
to show details about what the installer is currently doing.
Is there a way to use this parameter already or would it be possible to add support for it?
Why: It would give feedback to the user about the progress and details
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (1 by maintainers)
Top Results From Across the Web
How to show details by default with NSIS installer
With NSIS a basic build will have a "Show Details" button which will show the installer script messages. Is there a way to...
Read more >Chapter 4: Scripting Reference
This code will tell NSIS to first show the license page, then the components selection page, then the directory selection page and finally...
Read more >Details not viewed in MUI? - NSIS Forums
Use ShowInstDetails outside of a section for a simpler solution. ... I mean the "Show Details" button at the end of the installation...
Read more >NSIS - ITLnet
NSIS installers are generated by using the 'MakeNSIS' program to compile a NSIS ... ShowInstDetails, hide|show|nevershow, Sets whether or not the details of ......
Read more >Installer Attributes - NSIS Documentation
Because this depends on the installers font, you should use SetFont before ... Replaces the default details button text of "Show details", if...
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
i known the reason: look at the code in
node_modules/app-builder-lib/templates/nsis/installSection.nsh
:we have to set SetDetailsPrint to both.
what i do is:
SetDetailsPrint both
package.json
:"beforePack": "./script/beforePack.js",
, and in the hook, to covernode_modules/app-builder-lib/templates/nsis/installSection.nsh
with my filethese code is needed too, they can be put in your
installer.nsh
:I’m getting same issue with version 22.11.7. Trying to build - “oneClick”: false
As I can see - “ShowInstDetails” and “ShowUninstDetails” options are set to “nevershow”. But for some reason overriding works fine for ShowUninstDetails and doesn’t work for ShowInstDetails. https://github.com/electron-userland/electron-builder/blob/master/packages/app-builder-lib/templates/nsis/common.nsh#L5 As @yafp mentioned - I’m getting an empty UI from but no any installation log inside.
Any idea what happened here? Thanks