cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Pilgrim

Uninstall a Sql script based patch

I have created an uninstallable Patch that executes some SQL scripts during install. The SQL scripts are Marked as "Run during Install".

But when i try to uninstall this patch it again try to connect to the database and executes a SQL script.
So how i can prevent my patch from connecting to the database server and executing any script during a patch uninstall.
Labels (1)
0 Kudos
2 Replies
Highlighted
Pilgrim

Re: Uninstall a Sql script based patch

Try setting "ALL" to the IS_SQLSERVER_CXNS_ABSENT_FROM_INSTALL Windows Installer property and see if it works.
0 Kudos
Highlighted
Pilgrim

Re: Uninstall a Sql script based patch

I have already tried this, but even then my patch is trying to connect to SQL server when uninstalling it.
0 Kudos