Skip to content
⌘ NSIS Forum Archive

Silent Install - Incomplete Releases

68 posts

stonkers#
Not working...

When the folder create fails, the psexec process doesn't hang. I'm guessing that these stubs aren't dumping. Should I put some sort of code in my nsi file for debug purposes to force a dump?
stonkers#
It carry's on just like it did before the stubs were changed. Gives the can't create folder error in the log file.
stonkers#
I believe as it creates the folder, it says (err=5), and thereafter cannot create files in that folder that doesn't exist. If this isn't the case, I'll cut, paste, and post when it happens again.
kichik#
Are you sure the executed installer was created with the stubs I gave you? I see no reason it'd ignore a call to DebugBreak(), even when executed with psexec. Open the installer with notepad or some text editor and look for DebugBreak.
stonkers#
I believe we've fixed it (no problems for 2 weeks). It looks like IIS was sometimes blocking the installer from deleting folders. So instead of doing an "IISRESET" after the installer is done, we now do an "IISRESET /STOP" in .onInit and then an "IISRESET /START" after the installer is done.

BTW - I checked it out and the move of those stub files was failing in NAnt. Probably a typo in folder name on my part, but we won't need it this time. I'll look deeper if we need this again though.

Thanks Kichik!!!