NSIS ExecDos plug-in doesn't work with latest (>=3.07) makensis.exe

94 Views Asked by At

ExecDos plug-in don't work with latest (>=3.07) makensis.exe.

ExecDos:exec immediately returns with strange error code.

2

There are 2 best solutions below

0
On

The ExecDos plug-in has both ANSI and Unicode versions included in its .zip, make sure you are using the correct version. This is really important if you are using !addplugindir.

2
On

That can happen because of "breaking" change in makensis version 3.07:

F.3.2.1 Major Changes
Unicode now defaults to true

So, if your script and ExecDos.dll are non-Unicode, you should explicitly set it by adding Unicode false line (at the beginning of nsi file).