nsExec vs long process vs leavecustom
HI all. I have a problem with a custom page. I have a button which when pressed runs a command line app using nsExec. The thing is that the process takes around 1 minute or 2 and that makes my installer to appear as "not responding". How can I process the Abort statement and the long process? The behaviour Im looking for is the following:
When the user presses the button, a banner appears and the process starts. When the process is finished, the banner dissapears and the installer stays in the same page (it doesnt go to the next page), so the user can press the button again if desired. I've attached a sample script. I hope you can help. Thanks in advance.