View Full Version : How to install MSXML
tcdmail
13th March 2006, 20:42
Hello,
I've developped an application which users the MSXML4.DLL. How can I include this file in the installer? As i've read in other posts you have to use re-distributables. But I can't find a redistributable for MSXML (in DLL format, i only find the one with MSM files)
What options are there to install MSXML via my NSIS script?
And if there's more than one suggestion which one is the most preferable?
Tnx in advance for the answers !
Kind regards,
tcdmail
biggena
13th March 2006, 21:10
Find following files in your System32 directory:
msxml4.dll, msxml4a.dll, msxml4r.dll
Copy them into directory of your installator script.
Add following lines to your script (inside corresponding section):
SetOutPath $SYSDIR
SetOverwrite off
File msxml4.dll
File msxml4a.dll
File msxml4r.dll
RegDLL $SYSDIR\msxml4.dll
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
Above lines will install and register MSXML if it doesn't exist on system yet.
tcdmail
13th March 2006, 21:17
Tnx for the reply
My first thought was also doing this but other posts in this forum mentioned not to use the dll's from my system32 folder since these ones are only compatbile with the OS that's on my system.
I think this is a solution but i'm wondering if it's a good one.
Kind regards,
Tcdmail
RobGrant
14th March 2006, 07:45
This (http://forums.winamp.com/showthread.php?s=&threadid=240751) is built into NSIS.
There are multiple free, portable XML parsers. Yahoo have Javascript ones, dotGNU have one, just Google.
kichik
14th March 2006, 11:48
tcdmail, you can install the MSM using msiexec.exe. You can create a simple MSI, with WiX for example, that'll only install your MSM and install that. Search the forum for more details.
blue_harvester
11th May 2006, 10:15
Originally posted by tcdmail
Tnx for the reply
My first thought was also doing this but other posts in this forum mentioned not to use the dll's from my system32 folder since these ones are only compatbile with the OS that's on my system.
I think this is a solution but i'm wondering if it's a good one.
Kind regards,
Tcdmail
I would also like more information on this.
What about instead of using the 3 dll files from the system32 folder, would it be possible to use the same 3 dll files that can be extraced from the msxmlcab.exe (downloadable here (http://www.microsoft.com/downloads/details.aspx?FamilyID=3144b72b-b4f2-46da-b4b6-c5d7485f2b42&DisplayLang=en#filelist))?
Surely then these dlls can be used on whatever Win OS they're deployed onto using the RegDLL command in the NSIS sctipt?
kichik
19th May 2006, 08:03
It might be possible to install them using the Library (http://nsis.sourceforge.net/Docs/AppendixB.html) macros. If their installer only installs those files, I don't see a reason why it shouldn't work, assuming the DLLs are not protected.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.