nsExec/ExecDos return 128...why?
I have a 2003 Windows Server I am attempting to install an application. The install fails as the nsExec command in my nis script I am using all return 128 and the supplied command is not executed.
I than used the following test.nsi script provided with a nsi compiler tool and received the same 128 errors.
Name "nsExec Test"
OutFile "nsExec Test.exe"
ShowInstDetails show
Section "Silent MakeNSIS"
nsExec::Exec '"${NSISDIR}\makensis.exe"'
Pop $0 # return value/error/timeout
DetailPrint ""
DetailPrint " Return value: $0"
DetailPrint ""
SectionEnd
Section "MakeNSIS commands help"
nsExec::ExecToLog '"${NSISDIR}\makensis.exe" /CMDHELP'
Pop $0 # return value/error/timeout
DetailPrint ""
DetailPrint " Return value: $0"
DetailPrint ""
SectionEnd
Section "Output to variable"
nsExec::ExecToStack '"${NSISDIR}\makensis.exe" /VERSION'
Pop $0 # return value/error/timeout
Pop $1 # printed text, up to ${NSIS_MAX_STRLEN}
DetailPrint '"${NSISDIR}\makensis.exe" /VERSION printed: $1'
DetailPrint ""
DetailPrint " Return value: $0"
DetailPrint ""
SectionEnd
I have no idea what has chaned on this server cause it once looked.
I have been searching the forum for the past couple of hours but didn't find any answer. There was one post which kinda describe the same problem but the solution didn't seem to apply. Any ideas?
Mike