hello all,

I am doing an application IBM Data Server Runtime Client - DB2Copy1. When i uninstall it using msiexec /x [ProductCode] /qn , it prompts a popup saying " DB2 installces still exists in the DB2 copy that is being uninstalled. If you cotinue, these DB2 instances will be removed. DB2 databases will not be removed. Do you want to continue with the uninstallation? " .
Can I not suppress this dialog box??
Also why this dialog is coming??? Can I not get those instances deleted prior to uninstall so that this dialog do not pops up??

Any help
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


That prompt is almost certainly generated by a Custom Action. If you don't care about the other instances, simply disable the CA by conditioning-out its execution in the relevant sequence table. If you do, you'll need to determine how it checks for the instance (ProcMon will be your friend here, obviously) and that will also tell you how you can keep/delete those instances.
Answered 09/05/2016 by: VBScab
Red Belt

Please log in to comment
If you 'drop' the instance prior to uninstalling you will not be prompted.

Get instance name:
"C:\Program Files\IBM\SQLLIB\BIN\db2ilist.exe"
(Default instance name is 'DB2')

Drop instance:
"C:\Program Files\IBM\SQLLIB\BIN\db2idrop.exe" DB2
Answered 03/16/2018 by: lascelk
White Belt

Please log in to comment