dev-cli icon indicating copy to clipboard operation
dev-cli copied to clipboard

7998 ANSI targets are deprecated

Open shayded-exe opened this issue 4 years ago • 0 comments

Getting this warning when running oclif-dev pack:win

oclif-dev: building target enjinn-v1.1.2-win32-x64.tar.gz
oclif-dev: building target enjinn-v1.1.2-win32-x86.tar.gz
Processing config: /etc/nsisconf.nsh
Processing script file: "/home/rshea0/code/enjinn/tmp/windows-x64-installer/enjinn.nsi" (UTF8)

Processed 1 file, writing output (x86-ansi):
warning 7998: ANSI targets are deprecated

Output: "installer.exe"
Install: 3 pages (192 bytes), 3 sections (12360 bytes), 23451 instructions (656628 bytes), 6527 strings (178114 bytes), 1 language table (294 bytes).
Uninstall: 2 pages (192 bytes), 1 section (4120 bytes), 53 instructions (1484 bytes), 95 strings (1294 bytes), 1 language table (250 bytes).
Datablock optimizer saved 79873 KiB (~69.5%).

Using zlib compression.

EXE header size:               94208 / 78336 bytes
Install code:                 158032 / 838836 bytes
Install data:               35637904 / 312233260 bytes
Uninstall code+data:           11021 / 15341 bytes
CRC (0x6C51623F):                  4 / 4 bytes

Total size:                 35901169 / 313165777 bytes (11.4%)

1 warning:
  7998: ANSI targets are deprecated
built /home/rshea0/code/enjinn/dist/win/enjinn-v1.1.2-x64.exe

It seems the solution might be to include Unicode True at the beginning of the NSIS file. https://stackoverflow.com/questions/64764995/7998-ansi-targets-are-deprecated

shayded-exe avatar May 09 '21 00:05 shayded-exe