NSIS- Error handling

Posted by Pia on Stack Overflow See other posts from Stack Overflow or by Pia
Published on 2010-01-08T14:38:43Z Indexed on 2010/05/05 20:18 UTC
Read the original article Hit count: 170

Filed under:
|
|
|
|

I have written an installer and uninstaller in NSIS which creates and drops an sql database, which is working fine. I have written some .bat and .sql files to create and drop the database and then just call these files from NSIS script. My problem is if I keep this database open in SQL Server Management Studio and run the uninstaller ideally it should give an error message that the database is opened. In my case it shows the success message of uninstaller but dosnt drop the database properly. How can I handle this error in NSIS?

© Stack Overflow or respective owner

Related posts about nsis

Related posts about sql