Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | 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. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
989cbb5f667cab391ecadbc4e7e203a7 |
User & Date: | mistachkin 2014-07-31 21:17:40.025 |
Context
2014-07-31
| ||
21:24 | Remove accidentally duplicated debugging code in the design-time components installer. check-in: 6bd339500c user: mistachkin tags: trunk | |
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 | |
Changes
Changes to tools/install/Installer.cs.
︙ | ︙ | |||
1822 1823 1824 1825 1826 1827 1828 | // do nothing. } #endregion /////////////////////////////////////////////////////////////////// #region Public Properties | | | | > > > > > > > > > | | 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 | // do nothing. } #endregion /////////////////////////////////////////////////////////////////// #region Public Properties private string configInvariantName; public string ConfigInvariantName { get { return configInvariantName; } set { configInvariantName = value; } } /////////////////////////////////////////////////////////////////// private string providerInvariantName; public string ProviderInvariantName { get { return providerInvariantName; } set { providerInvariantName = value; } } /////////////////////////////////////////////////////////////////// private string factoryTypeName; public string FactoryTypeName { |
︙ | ︙ | |||
3494 3495 3496 3497 3498 3499 3500 | } return designerAssemblyName; } /////////////////////////////////////////////////////////////////// | | > > > > > > > | 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 | } return designerAssemblyName; } /////////////////////////////////////////////////////////////////// public string GetConfigInvariantName() { return InvariantName; } /////////////////////////////////////////////////////////////////// public string GetProviderInvariantName() { return IsEf6Supported() ? Ef6InvariantName : InvariantName; } /////////////////////////////////////////////////////////////////// public string GetFactoryTypeName() |
︙ | ︙ | |||
3724 3725 3726 3727 3728 3729 3730 | traceCallback(String.Format(NameAndValueFormat, "GetDesignerAssemblyName", ForDisplay( GetDesignerAssemblyName())), traceCategory); /////////////////////////////////////////////////////////// traceCallback(String.Format(NameAndValueFormat, | | | > > > > | 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 | traceCallback(String.Format(NameAndValueFormat, "GetDesignerAssemblyName", ForDisplay( GetDesignerAssemblyName())), traceCategory); /////////////////////////////////////////////////////////// traceCallback(String.Format(NameAndValueFormat, "GetConfigInvariantName", ForDisplay( GetConfigInvariantName())), traceCategory); traceCallback(String.Format(NameAndValueFormat, "GetProviderInvariantName", ForDisplay( GetProviderInvariantName())), traceCategory); traceCallback(String.Format(NameAndValueFormat, "GetFactoryTypeName", ForDisplay( GetFactoryTypeName())), traceCategory); traceCallback(String.Format(NameAndValueFormat, "GetProviderAssemblyName", ForDisplay( |
︙ | ︙ | |||
6013 6014 6015 6016 6017 6018 6019 | RegistryHelper.SetValue( dataProviderKey, "AssociatedSource", package.DataSourceId.ToString(VsIdFormat), whatIf, verbose); RegistryHelper.SetValue( dataProviderKey, "InvariantName", | | | 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 | RegistryHelper.SetValue( dataProviderKey, "AssociatedSource", package.DataSourceId.ToString(VsIdFormat), whatIf, verbose); RegistryHelper.SetValue( dataProviderKey, "InvariantName", package.ProviderInvariantName, whatIf, verbose); RegistryHelper.SetValue( dataProviderKey, "Technology", package.AdoNetTechnologyId.ToString(VsIdFormat), whatIf, verbose); RegistryHelper.SetValue( |
︙ | ︙ | |||
6154 6155 6156 6157 6158 6159 6160 | } #endregion /////////////////////////////////////////////////////////////////////// #region Visual Studio Package Handling private static void InitializeVsPackage( | | > | > | 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 | } #endregion /////////////////////////////////////////////////////////////////////// #region Visual Studio Package Handling private static void InitializeVsPackage( string configInvariantName, string providerInvariantName, string factoryTypeName, AssemblyName providerAssemblyName, AssemblyName designerAssemblyName, bool globalAssemblyCache, ref Package package ) { if (package == null) { package = new Package(); package.ConfigInvariantName = configInvariantName; package.ProviderInvariantName = providerInvariantName; package.FactoryTypeName = factoryTypeName; package.ProviderAssemblyName = providerAssemblyName; package.DesignerAssemblyName = designerAssemblyName; package.GlobalAssemblyCache = globalAssemblyCache; package.AdoNetTechnologyId = new Guid( "77AB9A9D-78B9-4BA7-91AC-873F5338F1D2"); |
︙ | ︙ | |||
6836 6837 6838 6839 6840 6841 6842 | #region .NET Framework / Visual Studio Data Package package = null; FrameworkList frameworkList = null; VsList vsList = null; /////////////////////////////////////////////////////////// | | > > | 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 | #region .NET Framework / Visual Studio Data Package package = null; FrameworkList frameworkList = null; VsList vsList = null; /////////////////////////////////////////////////////////// InitializeVsPackage( configuration.GetConfigInvariantName(), configuration.GetProviderInvariantName(), configuration.GetFactoryTypeName(), configuration.GetProviderAssemblyName(), configuration.GetDesignerAssemblyName(), configuration.HasFlags( InstallFlags.GlobalAssemblyCache, true) && configuration.HasFlags( InstallFlags.VsPackageGlobalAssemblyCache, true), |
︙ | ︙ | |||
7025 7026 7027 7028 7029 7030 7031 | InstallFlags.DbProviderFactory, true)) { bool saved = false; if (!ForEachFrameworkConfig(registry, frameworkList, ProcessDbProviderFactory, configuration.ConfigVersion, | | | 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 | InstallFlags.DbProviderFactory, true)) { bool saved = false; if (!ForEachFrameworkConfig(registry, frameworkList, ProcessDbProviderFactory, configuration.ConfigVersion, package.ConfigInvariantName, ProviderName, Description, package.FactoryTypeName, package.ProviderAssemblyName, directoryData, configuration.PerUser, NetFxIs32BitOnly || configuration.Wow64, configuration.ThrowOnMissing, configuration.WhatIf, configuration.Verbose, ref saved, ref error)) |
︙ | ︙ |