include EULA license file in windows installer
See original GitHub issue- Version: latest 7.9.0
- Target: windows 10 x64
I am including an EULA license file in the NSIS installer.
I have edited package.json to include a custom nsis.include
= resources/windows/license.nsh
My license.nsh
script looks like this:
!include "MUI2.nsh"
!insertmacro MUI_PAGE_LICENSE "resources\license.txt"
The NSIS installer creation fails at common.nsh
line 11 when setting Unicode true
with:
Error: Can't change target architecture after data already got compressed or header already changed!
Error: Unable to set target charset (adequate stub not found?)
I can fix this temporarily by commenting out line 11 in common.nsh
.
I’m not very familiar with NSIS, I wasn’t sure it its possible to check the mentioned cases in the error message before setting the Unicode
value or not. Or if this is even something that you all wanted to worry about.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to configure the EULA for the setup - Advanced Installer
Add license agreement dialog to the setup. To add the EULA to the setup, you can follow these steps: Go to the Dialogs...
Read more >How to add license file dynamically to LicenseAgreement ...
I have a Basic MSI project installer. When user run a setup then I want to download a EULA file from server and...
Read more >How to launch EULA.rtf for the end user agreement ... - MSDN
I tried adding the EULA file via Setup Project-> Application Folder -> Add -> File -> EULA.rtf assuming that installer will identify the...
Read more >EULA During Installation - TermsFeed
An EULA, or End User License Agreement, is a legal contract between a publisher of a software application and the end user who...
Read more >How to present EULA to user when build application installer?
how can I include a kind of EULA (End User License Agreement) into ... patch to windows: first ask the user "Do you...
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
Please try 7.14.2.
nsis.license
(path to file, not recommended, use convention) or just putlicense.rtf
orlicense.txt
to build resources (build
directory).Supported for all nsis variants.
@artpol Issue is fixed, I will finish and push fix in the evening, please wait.