Capture HTML / JavaScript event in NSIS
Hi.

I am displaying a browser control within a page of my installer using nsWeb plugin. The browser displays a registration page for my app. The user has to compulsorily register in order to complete the installation.
I have to send an event (for successful / unsuccessful registration) from the HTML page to the installer.
Only on successful registration will the "Finish" button of the installer be enabled.

My questions are :

1.) Is there any way I can capture a HTML or JavaScript event sent by the page within the installer ?

2.) Assuming successful registration, can I send the username and password from the HTML page to the installer?

Thanks.