gringoloco023
11th July 2010 11:13 UTC
[Fixed]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: ...SISPortableAppNSISExamplesnsisXMLnsisXMLSample.exe
This application has requested the Runtime to terminate it in an unusual way.
>Please contact the applications support team for more information.
---------------------------
>OK
>---------------------------
Wizou
11th July 2010 18:00 UTC
enjoy my plugin! :)
gringoloco023
12th July 2010 09:46 UTC
Yes, thanx for that Wizou !
But any chance on getting support for utf-16 encoded xml files !
Wizou
12th July 2010 16:03 UTC
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
14th July 2010 18:13 UTC
Do you have any experience how this plug-in behaves in Wine, due to it's dependency to MSXML.dll ?
Wizou
15th July 2010 02:02 UTC
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
15th July 2010 02:10 UTC
According to this page: http://wiki.winehq.org/winetricks
you can easily install MSXML 3, 4 & 6 in Wine