View Single Post
Old 26th March 2014, 10:51   #4
PARTISAN
Junior Member
 
Join Date: Mar 2014
Posts: 3
Quote:
Originally Posted by Anders View Post
Are you compiling with "Unicode True"?
No, should I check it?

Quote:
Originally Posted by Anders View Post
Does NSIS v2.46 have the same problem?
Yes, I also got this crash with NSIS v2.46, but it's not the same: it's happens on third nsExec.dll use. Here is the log:
code:
Call: 580
nsExec::Exec: taskkill /S localhost /IM SomeProgramName.exe
Call: 1893
File: overwriteflag=1, allowskipfilesflag=2, name="C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nswB2.tmp\nsExec.dll"
File: skipped: "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nswB2.tmp\nsExec.dll" (overwriteflag=1)
nsExec::Exec (failed): taskkill /S localhost /IM SomeProgramName.exe
nsExec::Exec (error 128): ERROR: The process "SomeProgramName.exe" not found.

Call: 580
nsExec::Exec: sc stop SomeServiceName
Call: 1893
File: overwriteflag=1, allowskipfilesflag=2, name="C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nswB2.tmp\nsExec.dll"
File: skipped: "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nswB2.tmp\nsExec.dll" (overwriteflag=1)
nsExec::Exec (success): sc stop SomeServiceName

Jump: 596
Call: 580
nsExec::Exec: sc delete SomeServiceName
Call: 1893
File: overwriteflag=1, allowskipfilesflag=2, name="C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nswB2.tmp\nsExec.dll"
File: skipped: "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\nswB2.tmp\nsExec.dll" (overwriteflag=1)
*EOF*



and code for this log
code:
Push "taskkill /S localhost /IM SomeProgramName.exe"
Call ExecToInstallLog
Push "sc stop SomeServiceName"
Call ExecToInstallLog
Push "sc delete SomeServiceName"
Call ExecToInstallLog

PARTISAN is offline   Reply With Quote