I've tried to create an install-free app (portable), but I can't get System.Data.SQLite to work unless I install it. Once installed, my app works and it keeps working even after I uninstall System.Data.SQLite.
The same is true for the tests (test.exe and testlinq.exe) included in sqlite-netFx40-binary-bundle-x64-2010-1.0.76.0 and sqlite-netFx40- binary-bundle-Win32-2010-1.0.76.0. Here are the steps to reproduce the problem: 1 - Start with a clean Windows machine (I've tried with both XP SP3 and Windows 7 SP1) with nothing installed (I used virtual machines for testing). 2 - Install .NET 4. 3 - Download sqlite-netFx40-binary-bundle-Win32-2010-1.0.76.0. 4 - Run the included test.exe and click "Run". You'll get the error message "System.Configuration.ConfigurationErrorsException: Failed to find or load the registered .Net Framework Data Provider. at System.Data.Common.DbProviderFactories.GetFactory(DataRow providerRow) at test.TestCasesDialog.runButton_Click(Object sender, EventArgs e) in c:\dev\sqlite\dotnet\test\TestCasesDialog.cs:line 104" 5 - Download and run the sqlite-netFx40-setup-bundle- x86-2010-1.0.76.0.exe installation. Uncheck the two options to install to the image cache and GAC. 6 - After the installation, go to Control Panel and uninstall System.Data.SQLite. 7 - Run test.exe again. Now, it will work. So, there is something that the installation does, which the uninstall doesn't undo, that you have to do in order to get System.Data.SQLite working. The question is what, and how can you do it without having to run the installation? -John _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users