Hello,
I reviewed a lot of topics regarding this issue, but my issue is something different.
Into.
I have SQL Inline script which is executed during uninstall. It works perfect when I use Remove.
MSI is trying to run this sql script when I upgrade/patch installed application. And there are 2 issues.
1. I don't need to run this script when I upgrade. To prevent this I added conditions (NOT PATCH, NOT AI_PATCH, NOT MSIPATCHREMOVE) to AND Script AND Connection.
2. even if it tries to run SQL script it cannot connect to database. I don't store it in registry. User provides SQL connection details like (type, sql server/instance, username password if needed)
so questions.
1. how to avoid running UNINSTALL SQL Scripts.
2. How to avoid ODBC connect: timeout exceeded.
Thanks in advance.
Please let me know if you need more information.
FOLLOW US
Get the latest news in Application Packaging