Archive: NSIS - blue screen


NSIS - blue screen
Hi,

When running the installer the user removes a USB flash stick drive during the installation(This is the drive being installed to). Windows XP Pro displays a blue screen.

Any ideas on how to resolve this?

Thanks
-Jeff-


NSIS doesn't have any kernel-side code. Theoretically, BSOD can only be caused by the kernel on XP so this must be a result of a faulty driver or a Windows bug.


I may be shooting in the dark here, but you might check out MS KB921337.

According to the article, you can get BSODs and restarts when XP encounters problems reading a Vista Manifest. (If you're installer uses the RequestExecutionLevel, then it's got a Vista manifest.)

The fix is an updated Sxs.dll. I've noticed that on full updated XP machines, sxs.dll is the updated version.

So, it may not hurt to make sure you've got all the latest patches installed on this XP box. Even if it's not this particular issue, you'll probably be better off with a patched system anyway. (and who knows, maybe there's another "feature" like this that the latest patches might fix.)

(If not, it's probably is a driver like Kichik suggested.)


that problem is with a specific manifest that VS2005 generates AFAIK