Issue Details (XML | Word | Printable)

Key: DNET-560
Type: Bug Bug
Status: Open Open
Priority: Critical Critical
Assignee: Jiri Cincura
Reporter: André Ziegler
Votes: 3
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
.NET Data provider

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

Created: 25/Jul/14 08:21 AM   Updated: 18/Sep/16 10:24 AM
Component/s: ADO.NET Provider
Affects Version/s: 4.2.0.0
Fix Version/s: None

Environment: Windows 8, VS2012 Update 4


 Description  « Hide
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).

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
André Ziegler added a comment - 10/Sep/14 07:54 AM
still happens with provider 4.5.0.1

André Ziegler added a comment - 08/Dec/14 08:03 AM
any progress?

André Ziegler added a comment - 13/Apr/16 06:18 PM
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.

André Ziegler added a comment - 21/Aug/16 07:17 PM
have you looked at the installer from npgsql and detected what they do to avoid it?

Jiri Cincura added a comment - 24/Aug/16 08:00 AM
Not yet. Feel free to contribute and issue PR.

André Ziegler added a comment - 18/Sep/16 10:24 AM
I never created a WiX project/Installer so I have no idea how WiX works in detail.