FirebirdSQL / NETProvider

Firebird ADO.NET Data Provider
https://www.firebirdsql.org/en/net-provider/
Other
159 stars 65 forks source link

Firebird .Net Provider Installer doesn't remove entries from the machine.config <DbProviderFactories> when removing/repair the provider [DNET560] #533

Closed firebird-automations closed 3 years ago

firebird-automations commented 10 years ago

Submitted by: André Ziegler (andre.ziegler)

Votes: 3

The Installer has some issues with the machine.config file. When you remove and older provider, the config settings for Firebird under <DbProviderFactories> are still left in the config.

Wen you now install a new FB provider version, a 2nd entry is added. This caused VS crashes for me when working with DDEX provider when trying to do Reverse Engineering a DB to EDMX Model. Also, when you repair the provider, a second entry is added. Also the structure of the XML config is corrupted, when the other entry is added and this causes that other providers like SQL CE fail to load.

Removing all the bad entries fixes both VS issues (crash and SQL CE errors).

firebird-automations commented 10 years ago

Commented by: André Ziegler (andre.ziegler)

still happens with provider 4.5.0.1

firebird-automations commented 9 years ago

Commented by: André Ziegler (andre.ziegler)

any progress?

firebird-automations commented 8 years ago

Commented by: André Ziegler (andre.ziegler)

will this be ever fixed?

Take a look at this one:

https://github.com/npgsql/npgsql/blob/develop/src/GACInstaller/Npgsql.wxs

this doesn't seam to have the issue.

firebird-automations commented 8 years ago

Commented by: André Ziegler (andre.ziegler)

have you looked at the installer from npgsql and detected what they do to avoid it?

firebird-automations commented 8 years ago

Commented by: @cincuranet

Not yet. Feel free to contribute and issue PR.

firebird-automations commented 7 years ago

Commented by: André Ziegler (andre.ziegler)

I never created a WiX project/Installer so I have no idea how WiX works in detail.

cincuranet commented 3 years ago

Duplicate of #968.