www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15109] New: Always gets install dir wrong when uninstalling


          Issue ID: 15109
           Summary: Always gets install dir wrong when uninstalling
                    previous version
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: installer
          Assignee: nobody puremagic.com
          Reporter: turkeyman gmail.com

When installing a new version, it first uninstalls the prior version. It always
gets the install path wrong.
The default install dir is C:\D, but I never install there (who wants to spam
the root directory?), I install to C:\dev\D. It first offers to uninstall, but
there is a greyed out (not-editable) text box showing C:\D (NOT where DMD is
installed on my machine), and I can't do anything but click continue. It them
complains that it can't find DMD at that path (no shit!), and fails to
uninstall. It then proceeds to install the new version, but having failed to
uninstall the prior version, it all gets a little messy.

DMD installer should remember where it's installed.

Sep 24 2015