Archive: Internal compiler error


Internal compiler error
Hello,

I'm using the latest version 3.0a1 with HM NIS Edit.

I create a program and the function to uninstall I put it in an external file with the name Uninstall.nsh

In my main file I add it with the code below :

!addplugindir lib
!include "lib\Uninstall.nsh"


When I try to compile it I have and error :
Internal compiler error: installer's shell constants are different than uninstallers!
abnormal program termination


Why? Can you help me?

How about some more information? Are you creating a Unicode installer?

Could you provide a minimal example that I can actually compile...


I found the problem.

I include the file at the end of the main file. Because In the second file I use some variables and those variables are declared after the include.

Problem solved