PDA

View Full Version : How to capture the pop up error from WiRunSQL.vbs?


pyang
04-18-2010, 08:49 PM
Hi All,

I had a step in my bld project to exectue SQL statements update/inserts occassionally the script fails to update/inserts into my MSI table, but it still return "Build successfully completed". In this case, I'm not able to track if the WiRUnSQL.vbs is executed successfully!

Anyone has any ideas how can I capture the error that pops up during executing WiRunSQL.vbs script?

Thanks,
pyang

kinook
05-06-2010, 11:35 AM
You may need to modify WiRunSQL.vbs to exit with a non-zero exit code instead of displaying a popup.