Illustrator, in my opinion, handles this properly. It greys they menu item out. It's frustrating to accidently click 'Open in Bridge', which then automatically opens up CC and installs the app.
The menu item should just be named "Open Bridge"... As it does not actually automatically "browse" to a previously saved, open/active document (which the script above does do).