Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | For the VS designer components installer, modify the default log file naming to match the assembly file name. Also, remove all dead code. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | VsSetupIntegration |
Files: | files | file ages | folders |
SHA1: |
61c5139ccc25224fee2874c83400584c |
User & Date: | mistachkin 2012-01-04 11:20:53.168 |
Context
2012-01-04
| ||
23:43 | Add the VS designer project to the MSBuild 'optimized' solution files. check-in: 5fb874112d user: mistachkin tags: VsSetupIntegration | |
11:20 | For the VS designer components installer, modify the default log file naming to match the assembly file name. Also, remove all dead code. check-in: 61c5139ccc user: mistachkin tags: VsSetupIntegration | |
09:41 | Add the VS designer components and the rewritten installer for them to the setup package. check-in: bcdca9ada5 user: mistachkin tags: VsSetupIntegration | |
Changes
Changes to tools/install/Installer.cs.
︙ | ︙ | |||
1382 1383 1384 1385 1386 1387 1388 | // do nothing. } } #endregion /////////////////////////////////////////////////////////////////////// | < < < < < < < < < < < < | 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 | // do nothing. } } #endregion /////////////////////////////////////////////////////////////////////// #region Package Class internal sealed class Package { #region Public Constructors public Package() { // do nothing. |
︙ | ︙ | |||
2957 2958 2959 2960 2961 2962 2963 | private VersionList versions; public VersionList Versions { get { return versions; } set { versions = value; } } | < < < < < < < < < < < < < < < < < < | 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 | private VersionList versions; public VersionList Versions { get { return versions; } set { versions = value; } } #endregion } #endregion #endregion /////////////////////////////////////////////////////////////////////// |
︙ | ︙ | |||
3014 3015 3016 3017 3018 3019 3020 | /////////////////////////////////////////////////////////////////////// private static readonly string FrameworkKeyName = "Software\\Microsoft\\.NETFramework"; /////////////////////////////////////////////////////////////////////// | < < < < < < < < < < | 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 | /////////////////////////////////////////////////////////////////////// private static readonly string FrameworkKeyName = "Software\\Microsoft\\.NETFramework"; /////////////////////////////////////////////////////////////////////// private static readonly string XPathForAddElement = "configuration/system.data/DbProviderFactories/add[@invariant=\"{0}\"]"; private static readonly string XPathForRemoveElement = "configuration/system.data/DbProviderFactories/remove[@invariant=\"{0}\"]"; #endregion |
︙ | ︙ | |||
3046 3047 3048 3049 3050 3051 3052 | private static TraceCallback debugCallback = AppDebug; private static TraceCallback traceCallback = AppTrace; #endregion /////////////////////////////////////////////////////////////////////// #region Trace Handling | | | > > > | | > | | 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 | private static TraceCallback debugCallback = AppDebug; private static TraceCallback traceCallback = AppTrace; #endregion /////////////////////////////////////////////////////////////////////// #region Trace Handling private static string GetLogFileName() /* throw */ { string fileName = Path.GetTempFileName(); string directory = Path.GetDirectoryName(fileName); string fileNameOnly = Path.GetFileNameWithoutExtension(fileName); string newFileName = Path.Combine(directory, traceCategory + "." + fileNameOnly + LogFileSuffix); File.Move(fileName, newFileName); return newFileName; } /////////////////////////////////////////////////////////////////////// private static void AppDebug( string message, string category |
︙ | ︙ | |||
3170 3171 3172 3173 3174 3175 3176 | if (!(value is string)) return null; return Path.Combine( (string)value, String.Format("v{0}", frameworkVersion)); } } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 | if (!(value is string)) return null; return Path.Combine( (string)value, String.Format("v{0}", frameworkVersion)); } } #endregion /////////////////////////////////////////////////////////////////////// #region Per-Framework/Platform Handling private static void InitializeFrameworkList( Configuration configuration, |
︙ | ︙ | |||
3739 3740 3741 3742 3743 3744 3745 | if ((configuration == null) || !configuration.NoVs2008) vsList.Versions.Add(new Version(9, 0)); // Visual Studio 2008 if ((configuration == null) || !configuration.NoVs2010) vsList.Versions.Add(new Version(10, 0));// Visual Studio 2010 } | < < < < < < < < < < < < < < < < < < < < | 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 | if ((configuration == null) || !configuration.NoVs2008) vsList.Versions.Add(new Version(9, 0)); // Visual Studio 2008 if ((configuration == null) || !configuration.NoVs2010) vsList.Versions.Add(new Version(10, 0));// Visual Studio 2010 } } /////////////////////////////////////////////////////////////////////// private static bool HaveVsVersion( RegistryKey rootKey, Version vsVersion, |
︙ | ︙ | |||
4225 4226 4227 4228 4229 4230 4231 | if (vsVersion == null) return null; return String.Format("Software\\Microsoft\\VisualStudio\\{0}", vsVersion); } | < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < < | 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 | if (vsVersion == null) return null; return String.Format("Software\\Microsoft\\VisualStudio\\{0}", vsVersion); } /////////////////////////////////////////////////////////////////////// #region Visual Studio Data Source Handling private static bool AddVsDataSource( RegistryKey rootKey, Version vsVersion, Package package, |
︙ | ︙ |