Skip to content
⌘ NSIS Forum Archive

NsisXML plug-in for unicode NSIS ?

7 posts

gringoloco023#edited

NsisXML plug-in for unicode NSIS ?

Sorry, my mistake, the sample script was including the ansi plug-in with !addplugindir. It's all working fine now 🙂

There is a fair few xml plug-ins about, but the only one I could find was Wizou's NsisXML.dll what is supposed to work with unicode Nsis.

Anyhow when using this NsisXML plug-in with unicode Nsis, I get the following error:
(Note that it works as expected with normal Nsis)
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!
Program: ...SISPortable\App\NSIS\Examples\nsisXML\nsisXML\Sample.exe
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
---------------------------
OK   
--------------------------- 
gringoloco023#
Yes, thanx for that Wizou !

But any chance on getting support for utf-16 encoded xml files !
Wizou#
Actually, nsisXML let MSXML do all the job of handling the XML files.
So if MSXML supports UTF-16 files, it should work.

According to http://support.microsoft.com/kb/275883 , MSXML supports many encodings including UTF-16. As the page says, make sure your file starts with an UTF-16 BOM.
gringoloco023#
Do you have any experience how this plug-in behaves in Wine, due to it's dependency to MSXML.dll ?
Wizou#
Wine certainly supports MSXML as lots of Windows programs use MSXML..

I don't know which version of MSXML is supported by Wine, but nsisXML automatically recognize and use the best available MSXML version installed in the system.
Wizou#
According to this page: http://wiki.winehq.org/winetricks
you can easily install MSXML 3, 4 & 6 in Wine