System.Data.SQLite

Check-in [8e0f024374]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add try/catch around libpath install code
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | sourceforge
Files: files | file ages | folders
SHA1: 8e0f0243746feec3646c77ed563eda7d8ddc2bc1
User & Date: rmsimpson 2006-04-14 19:55:10.000
Context
2006-05-02
16:06
no message check-in: 4fb971a706 user: rmsimpson tags: sourceforge
2006-04-14
19:55
Add try/catch around libpath install code check-in: 8e0f024374 user: rmsimpson tags: sourceforge
19:43
Added ReservedWords metadata collection check-in: 01999c6608 user: rmsimpson tags: sourceforge
Changes
Unified Diff Show Whitespace Changes Patch
Changes to bin/Designer/install.exe.

cannot compute difference between binary files

Changes to tools/install/InstallDesigner.cs.
776
777
778
779
780
781
782


783
784
785
786
787
788




789
790
791
792
793
794
795
      installDir = Path.Combine(Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(installDir))), "VC");

      string currentDir;
      string[] lookIn = new string[] { "vcpackages", "bin\\amd64", "bin\\ia64" };
      string sqlitePath = Path.GetDirectoryName(SQLiteLocation);

      foreach (string subfolder in lookIn)


      {
        currentDir = Path.Combine(installDir, subfolder);
        FixXmlLibPaths(currentDir, "VCProjectEngine.DLL*.config", sqlitePath, install);
        FixXmlLibPaths(currentDir, "AMD64.VCPlatform.config", Path.Combine(sqlitePath, "x64"), install);
        FixXmlLibPaths(currentDir, "Itanium.VCPlatform.config", Path.Combine(sqlitePath, "itanium"), install);
        FixXmlLibPaths(currentDir, "WCE.VCPlatform.config", Path.Combine(sqlitePath, "CompactFramework"), install);




      }

      FixLocalUserPaths(install);
    }

    private void FixLocalUserPaths(bool install)
    {







>
>






>
>
>
>







776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
      installDir = Path.Combine(Path.GetDirectoryName(Path.GetDirectoryName(Path.GetDirectoryName(installDir))), "VC");

      string currentDir;
      string[] lookIn = new string[] { "vcpackages", "bin\\amd64", "bin\\ia64" };
      string sqlitePath = Path.GetDirectoryName(SQLiteLocation);

      foreach (string subfolder in lookIn)
      {
        try
      {
        currentDir = Path.Combine(installDir, subfolder);
        FixXmlLibPaths(currentDir, "VCProjectEngine.DLL*.config", sqlitePath, install);
        FixXmlLibPaths(currentDir, "AMD64.VCPlatform.config", Path.Combine(sqlitePath, "x64"), install);
        FixXmlLibPaths(currentDir, "Itanium.VCPlatform.config", Path.Combine(sqlitePath, "itanium"), install);
        FixXmlLibPaths(currentDir, "WCE.VCPlatform.config", Path.Combine(sqlitePath, "CompactFramework"), install);
        }
        catch
        {
        }
      }

      FixLocalUserPaths(install);
    }

    private void FixLocalUserPaths(bool install)
    {