www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - My friend can't install DMD 2.076.0 after he deleted contents of C:\D

reply Enjoys Math <enjoysmath gmail.com> writes:
Series of messages from installer:

DMD v2.076.0 is installed on your system
Press 'OK' to replace by DMD 2.076.0
An error occurred when removing DMD v2.076.0
Run 'dmd-2.076.0.exe /f to force install

And using the command line has no effect - it repeats the above.

He got into this situation by accidentally installing Visual 
Studio and / or Visual D to C:\D where I told him to install D to.

At one point I told him to delete everything in C:\D and start 
over.  *That* was a mistake...

He's used a trial version of Revo-Uninstaller to remove contents 
of registry.  The issue remains.  How can we repair his system so 
that we can install D on it again?

Thanks.
Sep 16 2017
next sibling parent reply rikki cattermole <rikki cattermole.co.nz> writes:
On 17/09/2017 6:30 AM, Enjoys Math wrote:
 
 Series of messages from installer:
 
 DMD v2.076.0 is installed on your system
 Press 'OK' to replace by DMD 2.076.0
 An error occurred when removing DMD v2.076.0
 Run 'dmd-2.076.0.exe /f to force install
 
 And using the command line has no effect - it repeats the above.
 
 He got into this situation by accidentally installing Visual Studio and 
 / or Visual D to C:\D where I told him to install D to.
 
 At one point I told him to delete everything in C:\D and start over.  
 *That* was a mistake...
 
 He's used a trial version of Revo-Uninstaller to remove contents of 
 registry.  The issue remains.  How can we repair his system so that we 
 can install D on it again?
 
 Thanks.
Skip Revo-Uninstaller, no idea why you'd ever use such trial software. Anyway what you want is CCleaner, standard software that all Windows installs should have on hand. That should remove all references to VS quite happily. It does a lot more than just modify the registry too :)
Sep 16 2017
next sibling parent Andre Kostur <andre kostur.net> writes:
On 2017-09-16 10:33 PM, rikki cattermole wrote:
 On 17/09/2017 6:30 AM, Enjoys Math wrote:
 Series of messages from installer:

 DMD v2.076.0 is installed on your system
 Press 'OK' to replace by DMD 2.076.0
 An error occurred when removing DMD v2.076.0
 Run 'dmd-2.076.0.exe /f to force install

 And using the command line has no effect - it repeats the above.

 He got into this situation by accidentally installing Visual Studio 
 and / or Visual D to C:\D where I told him to install D to.

 At one point I told him to delete everything in C:\D and start over. 
 *That* was a mistake...

 He's used a trial version of Revo-Uninstaller to remove contents of 
 registry.  The issue remains.  How can we repair his system so that we 
 can install D on it again?

 Thanks.
Skip Revo-Uninstaller, no idea why you'd ever use such trial software. Anyway what you want is CCleaner, standard software that all Windows installs should have on hand. That should remove all references to VS quite happily. It does a lot more than just modify the registry too :)
Be sure to check the latest news on CCleaner... it's been reported as being compromised. Be sure to get a clean version. (I've not used it as I'm not on a Windows machine.)
Sep 18 2017
prev sibling parent Moritz Maxeiner <moritz ucworks.org> writes:
On Sunday, 17 September 2017 at 05:33:12 UTC, rikki cattermole 
wrote:
 Skip Revo-Uninstaller, no idea why you'd ever use such trial 
 software.
 Anyway what you want is CCleaner, standard software that all 
 Windows installs should have on hand.
http://blog.talosintelligence.com/2017/09/avast-distributes-malware.html https://www.piriform.com/news/blog/2017/9/18/security-notification-for-ccleaner-v5336162-and-ccleaner-cloud-v1073191-for-32-bit-windows-users
Sep 18 2017
prev sibling parent Enjoys Math <enjoysmath gmail.com> writes:
On Sunday, 17 September 2017 at 05:30:51 UTC, Enjoys Math wrote:
 Series of messages from installer:

 DMD v2.076.0 is installed on your system
 Press 'OK' to replace by DMD 2.076.0
 An error occurred when removing DMD v2.076.0
 Run 'dmd-2.076.0.exe /f to force install

 And using the command line has no effect - it repeats the above.

 He got into this situation by accidentally installing Visual 
 Studio and / or Visual D to C:\D where I told him to install D 
 to.

 At one point I told him to delete everything in C:\D and start 
 over.  *That* was a mistake...

 He's used a trial version of Revo-Uninstaller to remove 
 contents of registry.  The issue remains.  How can we repair 
 his system so that we can install D on it again?

 Thanks.
I sent him a copy of uninstall.exe from my D install root and Revo then "removed D from the list" so that seemed to work. We ran D installer again and it worked!
Sep 16 2017