Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

7998: ANSI targets are deprecated

Tags:

nsis

How can I resolve "7998: ANSI targets are deprecated"?

When I add Unicode True

I get error,

Error: Can't change target charset after data already got compressed or header already changed!
Error in script -- on line 58
-- aborting creation process

like image 884
Yogesh Avatar asked Nov 10 '20 08:11

Yogesh


1 Answers

Unicode True needs to be set very early in your .NSI file, before any !include statements and before any File commands.

like image 116
Anders Avatar answered Oct 13 '22 02:10

Anders