PDA

View Full Version : NsisXML plug-in for unicode NSIS ?


gringoloco023
11th July 2010, 10:13
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
---------------------------

Wizou
11th July 2010, 17:00
enjoy my plugin! :)

gringoloco023
12th July 2010, 08:46
Yes, thanx for that Wizou !

But any chance on getting support for utf-16 encoded xml files !

Wizou
12th July 2010, 15:03
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, 17:13
Do you have any experience how this plug-in behaves in Wine, due to it's dependency to MSXML.dll ?

Wizou
15th July 2010, 01:02
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, 01:10
According to this page: http://wiki.winehq.org/winetricks
you can easily install MSXML 3, 4 & 6 in Wine