The NSIS Installer (on OS X) gives "Invalid Command: TargetMinimalOS"

I built NSIS 2.46 on my OS X computer according to the instructions provided at http://nsis.sourceforge.net/Docs/AppendixG.html#G.3 . The design worked perfectly, and it correctly creates my installer.

My installer works completely, but I tried to add the command:

TargetMinimalOS 5.0

This is not important for my task; as I understand it, everything that he does allows the installer to work in Unicode, which is optional. It just seemed that it would be wise to add, since I do not support older versions of Windows. I said this right after the SetCompressor lzma command, which works fine. However, makensis reports:

[...]
SetCompressor: lzma
Invalid command: TargetMinimalOS

and then interrupted.

To check if I did this correctly, I copied it directly from the documentation (I can’t add the hyperlink - Docs / Chapter4.html # 4.8.2.9 on the same site as above), but it still gives this error. The error is the same as if I made up such a silly team name as "FrogXyzzy".

I will solve this problem without using a team! However, does anyone know why this did not work? Is this a problem with how I built nsis? (I prefer not to use DarwinPorts or Fink, but maybe they would build it differently ...) Or am I doing something stupid with a team name that I did not notice?

+3
source share
3

- SVN ( - 2.46)

, scratchpaper.com SVN ( , unicode)

+4

Unicode " MakeNSIS v2.50....". , 2.46. , .

, , 2.50 Unicode- NSIS. , OSX, .

+1

Windows, , TargetMinimalOS PE , . NSIS Windows 95, , , - Windows 95. , , , Windows . Windows 95, 4.0. EditVersion.exe LegacyExtender, .

+1

Source: https://habr.com/ru/post/1765995/


All Articles