Archive: nsExec::ExecToLog timeout makes installer abort


nsExec::ExecToLog timeout makes installer abort
In my MUI-based installer I'm trying to use nsExec::ExecToLog with a timeout.

If the timeout occurs I want to be able to continue with the installation but if the timeout occurs the installer always aborts.

I tried adding a DetailPrint to show the nsExec return value. When the command timesout this prints out "timeout" and the installer stops with just the "Cancel" button enabled.

Is there a way to make my script continue after nsExec::ExecToLog timesout?


If the DetailPrint shows, the installer wasn't canceled by nsExec, but by your script using Abort.


You are right - my script was causing the problem. Sorry I wasted your time.