|
|
#1 |
|
Junior Member
Join Date: Mar 2006
Posts: 2
|
How to install MSXML
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 |
|
|
|
|
|
#2 |
|
Guest
Posts: n/a
|
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. |
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2006
Posts: 2
|
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 |
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: May 2006
Posts: 27
|
Quote:
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)? Surely then these dlls can be used on whatever Win OS they're deployed onto using the RegDLL command in the NSIS sctipt? |
|
|
|
|
|
|
#7 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,338
|
It might be possible to install them using the Library 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.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|