This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Uninstall a Sql script based patch
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 07, 2010
12:05 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 07, 2010
09:23 AM
Try setting "ALL" to the IS_SQLSERVER_CXNS_ABSENT_FROM_INSTALL Windows Installer property and see if it works.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 07, 2010
09:45 PM
I have already tried this, but even then my patch is trying to connect to SQL server when uninstalling it.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)