Skip to content
⌘ NSIS Forum Archive

Internal compiler error

3 posts

ricky03#

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?
Anders#
How about some more information? Are you creating a Unicode installer?

Could you provide a minimal example that I can actually compile...
ricky03#
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