plop412
20th December 2012 14:10 UTC
Unable to load NsisIIS.dll
Hi,
I'm trying to do a installer for web site with IIS.
I'm using the plugin NsisIIS.
My installer works well on my windows seven 32bits, but doesn't on a windows server 2008 64bits.
This error is writed at each utilisation of a NsisIIS function :
Impossible de charger : C:\Users\ADMINI~1\AppData\Local\Temp\2\nsxFA7E.tmp\NsisIIS.dll
"Impossible de charger" means "unable to load" in French.
I'm using :
${If} ${RunningX64}
!insertmacro DisableX64FSRedirection
SetRegView 64
${EndIf}
(if there are something with 64bits...)
How to correct this error ?
Anders
20th December 2012 18:08 UTC
You cannot call DisableX64FSRedirection and then load a dll, enable it again before you call the dll...
plop412
21st December 2012 08:15 UTC
Thank you so much.
It works !
Now at each problem, i'll test with and without 64 bits redirection.
Anders
21st December 2012 08:40 UTC
You cannot do anything that might load a dll from system32 when redirection is off because it will try to load the 64 bit dll and you cannot load a 64 bit dll in a 32 bit process...
plop412
21st December 2012 12:51 UTC
It works prefectly on Windows Server 2008.
But I try on Windows Server 2012, and have the same error :
Unable to load : C:\Users\ADMINI~1\AppData\Local\Temp\2\nse1FDD.tmp\NsisIIS.dll
The installer detects 64bits.
Is it because NsisIIS doesn't support windows 8 / windows server 2012 ?