Archive: NSIS on XP Checked build


NSIS on XP Checked build
Hi,

I've been using NSIS 1 & 2 for a long time now on all versions of windows, and just tried this morning my NSIS 2-based installer on XP Checked build (debug build, available through MSDN subscription). As soon as the first file is extracted (actually, as soon as it's created, before it's expanded: new file size=0), the installer crashes and Dr Watson pops up. The error code is 0xC0000264, STATUS_RESOURCE_NOT_OWNED, which looks like NSIS is trying to free a resource it doesn't own. This is an error which is usually ignored by the retail version of XP, but which crashes the checked (debug) version.

I tried to debug it, but it looked like it happened in a LeaveCriticalSection called (it looks like the thread didn't own the CS???)

Anybody experienced this or knows what it could be?

Thanks!

Eric


So you are using LZMA compression?

Try to compile the latest CVS version, the critical section is not used anymore.


Yes, I'm using LZMA. I'll check out the latest CVS version.


Hi,

I had a look at the change logs for 2.01 but couldn't really see if this fix had been impacted. Could someone please confirm?

Thanks!

Eric


It has been fixed. Critical sections are no longer used.


Yes, I actually double checked last night. Thanks! Great tool!

Eric