refactor unregister deploy in regfx.cpp

XMLWordPrintable

    • b08
    • x86
    • windows
    • Verified

        when fixing 7068626 - it's noticed that we should refactor unregisgterDeploy in regfx.cpp:

        I'd suggest to structure code differently like:
            if (checkIfOurBinariesAreRegisteredFroDeploy()) {
                doRegularUninstall()
                if (hadShadowedJRE()) {
                    reregisterShadowedJRE();
                }
            }

        For reregister logic we can refactor registerDeploy() to extract function that will register everything given
        root directory. Then we can use it for reregister and registerDeploy() to avoid replicating the code
        to reconstruct registry keys?

              Assignee:
              Thomas Ng (Inactive)
              Reporter:
              Thomas Ng (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: