Jumpy73
Jumpy73

Reputation: 105

NSIS zipDLL.nsh not working with NSIS portable version

I'm trying to compile a script, perfectly working with NSIS installing version, by NSIS partable version but it doesn't work.

Other .nsh files, also natively available in Include folder of NSIS portable version, called by the script are working well. The web downloaded zipdll.nsh file, added in a second time into the Include folder of NSIS portable version, is at moment the only file called by the script that doesn't work!

The compiler gets back the following message:

!include: "C:\PortableApps\NSISPortable\App\NSIS\Include\zipdll.nsh" (UTF8)
!define: "ZIPDLL_USED"=""
Bad text encoding
!include: error in script: "C:\PortableApps\NSISPortable\App\NSIS\Include\zipdll.nsh" on line 77

Does anybody of you know how to put me in the right direction?

Thanks in advance to everyone who will help me

Upvotes: 1

Views: 601

Answers (1)

Anders
Anders

Reputation: 101569

That file contains multiple languages but is not valid UTF-8 so you have to force the codepage:

!include /CHARSET=CP1252 zipdll.nsh

Upvotes: 1

Related Questions