Uninstall deletes user created folders too

John Colvin john.loughran.colvin at gmail.com
Thu Jan 9 06:37:39 PST 2014


On Thursday, 9 January 2014 at 13:28:46 UTC, Orvid King wrote:
> On 1/9/14, John Colvin <john.loughran.colvin at gmail.com> wrote:
>> On Thursday, 9 January 2014 at 06:50:56 UTC, John J wrote:
>>> The Uninstall on Windows is deleting user created folders too!
>>> :(
>>>
>>> I thought it's a good idea to uninstall the previous version 
>>> of
>>> D before I install the latest one, but when I did that, it
>>> deleted the C:\D folder, including the sub-folders and files I
>>> created under that "D" folder! :(
>>>
>>> This is most unusual behavior. Can someone please fix the
>>> installer?
>>>
>>> And as I was panic, I made a quick search and installed Recuva
>>> to undelete the files.. but sadly it overwrote the important
>>> files I thought of recovering! (I guess I should have tried it
>>> from a different partition or a USB stick).
>>
>> This is the second time this has come up. While I agree that
>> leaving the D folder intact would be a safe default, it still
>> seems weird that anyone would put anything irreplaceable in 
>> that
>> folder. In my mind I always saw it as the equivalent of putting
>> something in a particular program's Program Files subdir, i.e.
>> you're likely to see it wiped if you uninstall it.
>>
>
> I keep my git head version of D, and consequentially, my 
> single-click
> update & build script, in my C:\D folder, and I think that it 
> is the
> best place to put it.

sure, it's neat. But still, I would never do it myself.
Installers and uninstallers are notorious for touching more than 
they need to.


More information about the Digitalmars-d mailing list