System.Data.SQLite
Check-in [2741442819]
Not logged in

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

Overview
Comment:Add more logging to the design-time components installer.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 27414428194f5fae3b49bcbe855ffc4f16846de0
User & Date: mistachkin 2014-07-31 21:01:35
Context
2014-07-31
21:17
For the design-time components installer, make sure the machine config invariant name is always 'System.Data.SQLite', per the requirements of the designer package code. check-in: 989cbb5f66 user: mistachkin tags: trunk
21:01
Add more logging to the design-time components installer. check-in: 2741442819 user: mistachkin tags: trunk
20:40
Improve debugging support in the design-time components installer. check-in: 252b910ba5 user: mistachkin tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to Tests/data/Installer_Test_Vs2010.log.

     1         -Installer.exe: #1: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     2         -Installer.exe: #2: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            1  +Installer.exe: #1: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            2  +Installer.exe: #2: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     3      3   Installer.exe: #3: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.dll]]"
     4      4   Installer.exe: #4: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.Linq.dll]]"
     5      5   Installer.exe: #5: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.EF6.dll]]"
     6      6   Installer.exe: #6: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] SQLite.Designer.dll]]"
     7      7   Installer.exe: #7: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.0.30319", writable = False
     8      8   Installer.exe: #8: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx", writable = True
     9      9   Installer.exe: #9: RegistryHelper.DeleteSubKey: rootKey = "HKEY_LOCAL_MACHINE\Software${wow64}\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx", subKeyName = "SQLite"

Changes to Tests/data/Installer_Test_Vs2012.log.

     1         -Installer.exe: #1: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     2         -Installer.exe: #2: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            1  +Installer.exe: #1: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            2  +Installer.exe: #2: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     3      3   Installer.exe: #3: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.dll]]"
     4      4   Installer.exe: #4: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.Linq.dll]]"
     5      5   Installer.exe: #5: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.EF6.dll]]"
     6      6   Installer.exe: #6: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] SQLite.Designer.dll]]"
     7      7   Installer.exe: #7: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.50709", writable = False
     8      8   Installer.exe: #8: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx", writable = True
     9      9   Installer.exe: #9: RegistryHelper.DeleteSubKey: rootKey = "HKEY_LOCAL_MACHINE\Software${wow64}\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx", subKeyName = "SQLite"

Changes to Tests/data/Installer_Test_Vs2013.log.

     1         -Installer.exe: #1: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     2         -Installer.exe: #2: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            1  +Installer.exe: #1: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            2  +Installer.exe: #2: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     3      3   Installer.exe: #3: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.dll]]"
     4      4   Installer.exe: #4: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.Linq.dll]]"
     5      5   Installer.exe: #5: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.EF6.dll]]"
     6      6   Installer.exe: #6: Installer.Main: GacInstall: assemblyPath = "[file nativename [file join [getBuildDirectory] SQLite.Designer.dll]]"
     7      7   Installer.exe: #7: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.1", writable = False
     8      8   Installer.exe: #8: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.1\AssemblyFoldersEx", writable = True
     9      9   Installer.exe: #9: RegistryHelper.DeleteSubKey: rootKey = "HKEY_LOCAL_MACHINE\Software${wow64}\Microsoft\.NETFramework\v4.5.1\AssemblyFoldersEx", subKeyName = "SQLite"

Changes to Tests/data/Uninstaller_Test_Vs2010.log.

     1         -Installer.exe: #1: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     2         -Installer.exe: #2: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            1  +Installer.exe: #1: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            2  +Installer.exe: #2: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     3      3   Installer.exe: #3: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] SQLite.Designer.dll]]"
     4      4   Installer.exe: #4: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.EF6.dll]]"
     5      5   Installer.exe: #5: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.Linq.dll]]"
     6      6   Installer.exe: #6: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.dll]]"
     7      7   Installer.exe: #7: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.0.30319", writable = False
     8      8   Installer.exe: #8: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx", writable = True
     9      9   Installer.exe: #9: RegistryHelper.DeleteSubKey: rootKey = "HKEY_LOCAL_MACHINE\Software${wow64}\Microsoft\.NETFramework\v4.0.30319\AssemblyFoldersEx", subKeyName = "System.Data.SQLite"

Changes to Tests/data/Uninstaller_Test_Vs2012.log.

     1         -Installer.exe: #1: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     2         -Installer.exe: #2: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            1  +Installer.exe: #1: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            2  +Installer.exe: #2: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     3      3   Installer.exe: #3: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] SQLite.Designer.dll]]"
     4      4   Installer.exe: #4: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.EF6.dll]]"
     5      5   Installer.exe: #5: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.Linq.dll]]"
     6      6   Installer.exe: #6: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.dll]]"
     7      7   Installer.exe: #7: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.50709", writable = False
     8      8   Installer.exe: #8: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx", writable = True
     9      9   Installer.exe: #9: RegistryHelper.DeleteSubKey: rootKey = "HKEY_LOCAL_MACHINE\Software${wow64}\Microsoft\.NETFramework\v4.5.50709\AssemblyFoldersEx", subKeyName = "System.Data.SQLite"

Changes to Tests/data/Uninstaller_Test_Vs2013.log.

     1         -Installer.exe: #1: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     2         -Installer.exe: #2: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            1  +Installer.exe: #1: Configuration.IsSystemEf6AssemblyAvailable: Entity Framework 6 assembly was resolved to "[file nativename [file join [getBuildDirectory] EntityFramework.dll]]".
            2  +Installer.exe: #2: Configuration.Process: No actual changes will be made to this system because "what-if" mode is enabled.
     3      3   Installer.exe: #3: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] SQLite.Designer.dll]]"
     4      4   Installer.exe: #4: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.EF6.dll]]"
     5      5   Installer.exe: #5: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.Linq.dll]]"
     6      6   Installer.exe: #6: Installer.Main: GacRemove: assemblyPath = "[file nativename [file join [getBuildDirectory] System.Data.SQLite.dll]]"
     7      7   Installer.exe: #7: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.1", writable = False
     8      8   Installer.exe: #8: RegistryHelper.OpenSubKey: rootKey = "HKEY_LOCAL_MACHINE", subKeyName = "Software${wow64}\Microsoft\.NETFramework\v4.5.1\AssemblyFoldersEx", writable = True
     9      9   Installer.exe: #9: RegistryHelper.DeleteSubKey: rootKey = "HKEY_LOCAL_MACHINE\Software${wow64}\Microsoft\.NETFramework\v4.5.1\AssemblyFoldersEx", subKeyName = "System.Data.SQLite"

Changes to tools/install/Installer.cs.

  3692   3692                               traceCategory);
  3693   3693   
  3694   3694                           traceCallback(String.Format(NameAndValueFormat,
  3695   3695                               "AssemblyConfiguration",
  3696   3696                               ForDisplay(GetAssemblyConfiguration(assembly))),
  3697   3697                               traceCategory);
  3698   3698                       }
         3699  +
         3700  +                    ///////////////////////////////////////////////////////////
         3701  +
         3702  +                    traceCallback(String.Format(NameAndValueFormat,
         3703  +                        "IsLinqSupported", ForDisplay(IsLinqSupported())),
         3704  +                        traceCategory);
         3705  +
         3706  +                    traceCallback(String.Format(NameAndValueFormat,
         3707  +                        "IsEf6Supported", ForDisplay(IsEf6Supported())),
         3708  +                        traceCategory);
         3709  +
         3710  +                    ///////////////////////////////////////////////////////////
         3711  +
         3712  +                    traceCallback(String.Format(NameAndValueFormat,
         3713  +                        "GetCoreAssemblyName", ForDisplay(
         3714  +                        GetCoreAssemblyName())), traceCategory);
         3715  +
         3716  +                    traceCallback(String.Format(NameAndValueFormat,
         3717  +                        "GetLinqAssemblyName", ForDisplay(
         3718  +                        GetLinqAssemblyName())), traceCategory);
         3719  +
         3720  +                    traceCallback(String.Format(NameAndValueFormat,
         3721  +                        "GetEf6AssemblyName", ForDisplay(
         3722  +                        GetEf6AssemblyName())), traceCategory);
         3723  +
         3724  +                    traceCallback(String.Format(NameAndValueFormat,
         3725  +                        "GetDesignerAssemblyName", ForDisplay(
         3726  +                        GetDesignerAssemblyName())), traceCategory);
         3727  +
         3728  +                    ///////////////////////////////////////////////////////////
         3729  +
         3730  +                    traceCallback(String.Format(NameAndValueFormat,
         3731  +                        "GetInvariantName", ForDisplay(GetInvariantName())),
         3732  +                        traceCategory);
         3733  +
         3734  +                    traceCallback(String.Format(NameAndValueFormat,
         3735  +                        "GetFactoryTypeName", ForDisplay(
         3736  +                        GetFactoryTypeName())), traceCategory);
         3737  +
         3738  +                    traceCallback(String.Format(NameAndValueFormat,
         3739  +                        "GetProviderAssemblyName", ForDisplay(
         3740  +                        GetProviderAssemblyName())), traceCategory);
  3699   3741                   }
  3700   3742               }
  3701   3743               #endregion
  3702   3744   
  3703   3745               ///////////////////////////////////////////////////////////////////
  3704   3746   
  3705   3747               #region Public Properties