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

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

Overview
Comment:Use the correct registry key when deleting the Visual Studio packageId key sub-tree.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | VsSetupIntegration
Files: files | file ages | folders
SHA1: a866805790b126c56ac77dc3b0451b7173625084
User & Date: mistachkin 2012-01-05 06:34:27
Context
2012-01-05
06:37
Merge the VS installer integration fixes and changes to the trunk. check-in: 2db8c0b5a5 user: mistachkin tags: trunk
06:34
Use the correct registry key when deleting the Visual Studio packageId key sub-tree. Closed-Leaf check-in: a866805790 user: mistachkin tags: VsSetupIntegration
05:29
Add MockRegistry class to wrap the real Registry class. Remove all implicit conversions from RegistryKey to MockRegistryKey. Modify installer tests to account for the writable fix to RemoveFromAssemblyFolders. Rename some enumeration values. check-in: 3f22762c9e user: mistachkin tags: VsSetupIntegration
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/install/Installer.cs.

5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
                            "could not open registry key: {0}\\Packages",
                            key);

                        return false;
                    }

                    RegistryHelper.DeleteSubKeyTree(
                        key, package.PackageId.ToString(VsIdFormat),
                        whatIf, verbose);
                }

                using (MockRegistryKey subKey = RegistryHelper.OpenSubKey(
                        key, "Menus", true, whatIf, verbose))
                {
                    if (subKey == null)







|







5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
                            "could not open registry key: {0}\\Packages",
                            key);

                        return false;
                    }

                    RegistryHelper.DeleteSubKeyTree(
                        subKey, package.PackageId.ToString(VsIdFormat),
                        whatIf, verbose);
                }

                using (MockRegistryKey subKey = RegistryHelper.OpenSubKey(
                        key, "Menus", true, whatIf, verbose))
                {
                    if (subKey == null)