![]() |
#1 |
Junior Member
Join Date: Nov 2014
Posts: 19
|
![]()
I've searched around the forums but didn't find a solution which works for me, so my situation is this, I've an installer which uses NSISIIS plugin for creating Virtual directories and app pools on IIS, and this works on some 64 bit windows servers and doesn't work on some. I see a bunch of copy failed messages and this error "cannot load nsisiis dll from /temp/blah/blah". I saw in another thread that it might be due to X64redirection being disabled , but i'm not disabling that explicitly anywhere in the script. However i included x64.nh and try enabling it once just before the nsisiis command, but to no use, can anyone shed some light here would be great...thanks..
|
![]() |
![]() |
![]() |
#2 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Dependency Walker shows NsisIIS.dll depends on MSVCP100.DLL and MSVCR100.DLL. Either include them in your installer (and extract to $PLUGINSDIR) or contact the author and tell them to link statically.
Stu |
![]() |
![]() |
![]() |
#3 |
Junior Member
Join Date: Nov 2014
Posts: 19
|
Thank you Stu, will try that....
![]() |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Nov 2014
Posts: 19
|
![]()
Hi Stu,
I've added the below code to my script and tried running it on the same machine but that error still pops up? am i doing it wrong here..? ![]() code: |
![]() |
![]() |
![]() |
#5 |
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
What are the copy failed messages exactly?
Edit: Also check $PLUGINSDIR has a value before your SetOutPath call. Stu |
![]() |
![]() |
![]() |
#6 |
Junior Member
Join Date: Nov 2014
Posts: 19
|
Weird thing i found is, in the windows 64 bit server where the installer is working has the MSVCP100 and MSVCR100 dlls in the SYSWOW64 folder(I'm not including these in the installer, still its working). Weird part is the same dlls are present in another windows 64 bit server where the installer isn't working in the same SYSWOW64 folder. So i'm confused why this error would come in the first place...By copy error i mean i see a bunch of copy failed messages while the install is going on, now i dont see the "cannot load dll" but in the end no IIS virtual folders or app pools are created, while uninstalling the exe crashes showing fault module as "NSISIIS DLL" , so i'm pretty that one's still not working...
![]() |
![]() |
![]() |
![]() |
#7 |
Junior Member
Join Date: Nov 2014
Posts: 19
|
Gonna try the APPCMD command itself..that ought to work...
|
![]() |
![]() |
![]() |
#8 |
Junior Member
Join Date: Mar 2016
Posts: 1
|
Same problem, downloaded the nsisiis sources to do a static build, and the sources do not have the iiis.h file....
|
![]() |
![]() |
![]() |
#9 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,358
|
That is probably a Microsoft header file and you need a SDK that supports that version of IIS.
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
|
Tags |
nsisiis, plug-in |
Thread Tools | Search this Thread |
Display Modes | |
|
|