[Issue 13264] 2.066-rc1 installer had problems

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Aug 5 21:28:02 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13264

Brad Anderson <eco at gnuk.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eco at gnuk.net

--- Comment #1 from Brad Anderson <eco at gnuk.net> ---
The installer was partially rewritten for 2.066 so the uninstall path issue may
no longer be present. You can try uninstalling 2.066-rc1 and seeing if the path
is correct now.

The new behavior is to uninstall before installing. This helps eliminate very
bad problems we've had with stagnant files staying around and messing things
up. This means your sc.ini is getting deleted even if it hadn't be overwritten.
If users are going to customize their sc.ini, I think it's reasonable to expect
users to have a copy stored somewhere. Saving a backup somewhere would actually
be tricky because the files are removed by the previous versions uninstaller
before new version's installer can do anything (like backup an old file).

The .old files are from the automatic MSVC detection the installer does. It
does a find and replace on the file to replace the environmental variables with
the detected paths and part of that is making a backup first. It's not really
necessary or helpful though, just the default behavior.

Did you have any changes to sc.ini beyond adding DirectX paths? If that's all
you are changing it for we can probably just add the detection you've wanted so
you don't have to touch sc.ini. I'd need your help though, I haven't touched
DirectX since DirectX 7 so I'm out of touch.

--


More information about the Digitalmars-d-bugs mailing list