Hello There,

For past few days i've been working on Visual Studio professional 2013. Now the thing with this is, it installs fine. But the moment you try to uninstall it along with other updates provided with source, it somehow, doesnt uninstall. i've tried all the combination of switches the exe supports but so far no success. Any help in this regard will be appreciable

3 Comments   [ + ] Show Comments

Comments

  • You can log the install and uninstall. Start there.
    • cross checked the log, when running the uninstall via ARP , it passes the parameter /uninstall to the exe. However, the MSDN blog suggests to use /quiet /NoRestart. I, however, am coupling it with /uninstall /quiet /NoRestart, somehow, only this command line is executed, the product gets uninstalled fine. However, i have other products too , to be uninstalled. like MS Office Developer Tools for VS 2013 and F# bundle. The moment all three of them are uninstalled via .BAT file, something screws the entire uninstaller and only partial uninstallation takes place. Any help?
      • Do we take it, then, that it's one of the pre-requisites that's causing the failure? If so, uninstall those separately and log each one.
  • Nothing happening VBSCab: This is what I am doing in my batch file
    REM MS Office Developer Tools for VS 2013
    "%~dp0MS Office Developer Tools for VS 2013 - March 2014 Update\cba_bundle.exe" /uninstall /quiet

    REM Uninstall Visual FSharp
    "%~dp0Visual Fsharp update\FSharp_Bundle.exe" /uninstall /quiet

    REM Uninstall Visual Studio Professional 2013
    "%~dp0Visual Studio Professional 2013\vs_professional.exe" /Uninstall /Quiet /NoRestart

    Even if for some reason , i shuffle the order of uninstall, still the uninstall fails with only partial uninstall
  • My guess is that the .BAT file is not monitoring a process and waiting for it to complete, so it launches the EXE which launches something else that performs the uninstall. As an experiment, try adding a pause between each command and wait 5 or 10 minutes before launching the next command.
    • This content is currently hidden from public view.
      Reason: Removed by member request
      For more information, visit our FAQ's.
    • Didnt work mate. Same old story, except VS 2013 everything uninstalls
Please log in to comment

Community Chosen Answer

1

Found the answer to the problem. When uninstalling via command line in a silent mode, the vs_professional.exe needs to be run twice, the very first instance of exe doesnt uninstall the application, the second however does. So i wrote a small piece of code in batch file to run the exe twice. Problem Solved!!!

Answered 04/17/2014 by: talonsprem87
Tenth Degree Black Belt

Please log in to comment

Answers

0

Have you tried with the parameters: /Uninstall /Force

ref: http://msdn.microsoft.com/en-us/library/e2h7fzkw.aspx

 

Answered 04/14/2014 by: AngelD
Red Belt

  • that was the first thing i tried but no go :( .....any ways lets see,vjaneczko has suggested a solution. let me see if that works.
    • This would be a good time to examine the MSI to see whether any components are marked as permanent, and also examine a verbose log of an uninstall to see exactly what is going on
Please log in to comment
Answer this question or Comment on this question for clarity