- I'm using electron builder, my target is windows nsis
- I've been looking at this links https://www.electron.build/configuration/nsis#custom-nsis-script and https://nsis.sourceforge.io/Category:Tutorials to find an easy way to customize my installer but no luck so far, so the question is:
- What's the easiest way to customize the string values like "only for me" in the following pic
0
votes
I don't think the point is what I want it to say, but let's say I wanna put "the quick brown fox jumps over the lazy dog" instead, can I do that? is it customizable? how?
- Ahmed Mohamed
1 Answers
0
votes
This appears to be a Electron custom page implemented in multiUserUi.nsh and the text is defined in assistedMessages.yml. It looks like nsisLang.ts is used to convert the .yml file to a temporary .nsh include file.
It might be possible to use the Electron NSIS include feature to include your own custom file. Depending on when it is included it might be possible to override the string:
; NSIS include file:
!pragma warning push
!pragma warning disable 6030 ; Disable multiple use warning
LangString onlyForMe 1033 "Just me and only me" ; 1033 is English
!pragma warning pop
If that does not work then you must manually edit assistedMessages.yml instead.
