Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
firebird-automations opened this issue Jul 25, 2014 · 7 comments

Comments

@firebird-automations
Copy link

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
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

still happens with provider 4.5.0.1

@firebird-automations
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

any progress?

@firebird-automations
Copy link
Author

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
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

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

@firebird-automations
Copy link
Author

Commented by: @cincuranet

Not yet. Feel free to contribute and issue PR.

@firebird-automations
Copy link
Author

Commented by: André Ziegler (andre.ziegler)

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

@cincuranet
Copy link
Member

Duplicate of #968.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants