Closed firebird-automations closed 3 years ago
Commented by: André Ziegler (andre.ziegler)
still happens with provider 4.5.0.1
Commented by: André Ziegler (andre.ziegler)
any progress?
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.
Commented by: André Ziegler (andre.ziegler)
have you looked at the installer from npgsql and detected what they do to avoid it?
Commented by: @cincuranet
Not yet. Feel free to contribute and issue PR.
Commented by: André Ziegler (andre.ziegler)
I never created a WiX project/Installer so I have no idea how WiX works in detail.
Duplicate of #968.
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).