unable to uninstall Visual Studio 2012 - visual-studio-2012

I am trying to uninstall Visual studio 2012 from my machine but is is not giving me any option for uninstalling the same. When I write click on Visual Studio 2012 in control panel/Program and Features, it shows CHANGE option and when I click on this option it display popup with following option.
Microsoft .Net Framework Required for Microsoft Visual Studio Professional 2012 Setup.
Click Accept and Install to accept Microsoft Framework license Term.
When I click on this option, it doesn't perform anything and dont uninstall it. Can u please suggest me any option to remove it and install it again. This is licenced copy of the same.

You could try forcibly removing VS2012 and all its components
http://support.microsoft.com/kb/2771441#Force
1. Download the setup application you used to originally install Visual Studio 2012. If you installed from media, please insert that media.
2. Open a command prompt.
3. Click Run on the Start menu (Start + R).
a. Type cmd and press OK (Enter).
b. Type in the full path to the setup application and pass the following command line switches: /uninstall /force
Example: D:\vs_ultimate.exe /uninstall /force
4. Click the Uninstall button and follow the prompts.

Download msiinv.zip from the following location
https://skydrive.live.com/?cid=27e6a35d1a492af7&id=27E6A35D1A492AF7%21910&authkey=!ANs8Pr0aVhaT_qQ
Extract the contents of msiinv.zip to the folder c:\msiinv on your
system
Click on the Start menu, choose Run, type cmd and click OK
Type this command: c:\msiinv\msiinv.exe -p >
c:\msiinv\msiinv_output.txt
Note: This command must be run from a cmd prompt or it will not create a log file as expected.
These steps will create a text file named c:\msiinv\msiinv_output.txt with a list of each product that Windows Installer thinks is installed on the system. Then you can open the text file in any text editor and search the list of products for the name of the product that you want to uninstall.
Output in the text file will be displayed like this:
Microsoft .NET Framework 2.0 Beta 2
Product code: {7A1ADD0C-17F3-47B8-B033-A06E189C835D}
Product state: (5) Installed.
Package code: {856D48D2-6F94-466D-9732-534DB5854FB3}
Version: 2.0.50215
Now we have the Windows Installer product code and we can use that to uninstall the product by running msiexec /x {product code} (make sure that you include the curly braces in this command line). If the product is actually installed on your system you will see a progress screen and uninstall will complete.
If Windows Installer thinks that the product is installed but it really isn't, then running msiexec /x will give you an error stating that this command is only valid for installed products. If this happens, you will need to perform an extra step to remove the data that causes Windows Installer to think this product is installed. You can download the Windows Installer Cleanup Utility and install and run it on your machine to fix this.
Reference: http://blogs.msdn.com/b/astebner/archive/2005/07/01/434814.aspx

If you still have the installer disk, you can run the following command and it removes everything except for a few of the SQL 2012 apps stayed when I ran it.
vs_ultimate.exe /uninstall /force
or in my case
vs_premium.exe /uninstall /force
Here is the link to the Microsoft article on the topic, and the article lists all the installed applications so if you need to manually remove some you have a list to go off of.
https://support.microsoft.com/en-us/kb/2771441#Force

Windows update service is using that log file. Do as follows:
Type services.msc in run
check for windows update service and stop the service.
go to C:\windows\windows update.log file and check the properties. The file should have read\write rights. (Note this is a operating system file.You need to make it visible in files and folder option first.)
Now try to uninstall the Package.

Simply use a CCleaner programs (Bing it)
Goto "tools" menu on the bottom left > Uninstall > Select "Microsoft Visual Studio Professional 2012" then click "Run Uninstaller"
Finish.

Related

How to create second desktop entry for preview and stable android studio on Ubuntu

I want to install android studio preview alongside the stable version.
Download the .zip into ~/Download
/home/zelongg/Downloads/android-studio-ide-171.4444016-linux-3.1-canary-4.zip
sudo unzip android-studio-ide-171.4444016-linux-3.1-canary-4.zip -d
/usr/local/lib/android-studio-preview
sudo mv -v /usr/local/lib/android-studio-preview/android-studio/*
/usr/local/lib/android-studio-preview/
sudo rm -rf /usr/local/lib/android-studio-preview/android-studio/
zelongg#zelongg:/usr/local/lib/android-studio-preview/bin$ ./studio.sh
create a new folder in ~/Android/sdk in case that the newly downloaded
sdk will affect the sdk in mini project.
we can successfully run android studio preview 3.1 canary 4
But we cannot create the second desktop entry somehow.
https://developer.android.com/studio/preview/install-preview.html
The 2 desktop entry means:
What I want is that it should show 2 icons for both Android Studio and Android Studio Preview seperately. But now they share one icon in the left bar.
I followed the instructions below, but it doesn't work.
To make the preview version available in your list of applications, select Tools
Create Desktop Entry from the Android Studio menu bar.
I used Create Desktop Entry from Android Studio Preview, which replaced the ~/.local/share/applications/jetbrains-studio.desktop of my stable version.
Then I copied that file to ~/.local/share/applications/jetbrains-studio-preview.desktop.
The icon was still green, so I downloaded a yellow one and used it in the .desktop file:
I also edited the .desktop file to suffix the name property with Preview
Then I ran the stable version to Create Desktop Entry to restore it.
Unity launcher didn't refresh the preview version icon and name straight away (it's ok after a reboot) and I couldn't figure out which one was which after typing Android Studio in the launcher. So I ran the jetbrains-studio-preview.desktop from its directory (first setting it to be executable), and then I locked it to the launcher. The result:
I tried the accepted answer but had little difficulty since I am not so good with the terminal. so I installed *nautilus Admin. using the command sudo apt-get install nautilus-admin
open Computer-> usr -> share right click applications select Open as Administrator. (for this option u need to install nautilus admin as stated above). right click existing android studio desktop entry select edit as Administrator.
In that file change the StartupWMClass property to jetbrains-studio-preview. that is done. now open your newly installed android studio and create desktop entry. and .... that's it.
just install stable and canary versions from ubuntu software store and their shortcuts are separate by default

Visual studio 2012 fails: CompatibilityMode : Windows Program Compatibility mode is on

Guys I'm trying to install Visual Studio 2012 in Win8.1 but unfortunately I face this error:
Compatibility Mode : Windows Program Compatibility mode is on. Turn it off and then try Setup again
Could you please help me how to fix it step by step?
Go to installation (.exe) file.
Right Click on that file.
click on Properties option.
Then select to compatibility .
Check the option Run this program in compatibility mode for : and select for Windows 8.
In Settings Check the Run this program as an administrator.
finally ok and apply this setting and the .exe again.
I hope this will work surely.
This answer is from this link
Run the uninstaller until it fails
Go to task manager
Call up the context menu for the installer process (right-click)
Select ‘open file location’
This will open the package folder
Call up the context menu for the uninstaller executable
Select the ‘compatibility’ tab
Disable all compatibility settings over here
This could happen if you are trying to install the program from iso.
Extract it first to a folder, then install it from the folder. It worked for me.

installing Help viewer without installing visual studio

I want to take some of MSDN help files offline on a windows machine which does not have visual studio installed on it. the problem is that I cannot find a way to get and install Help Library manager and Help viewer without installing the visual studio or sql server.
How can I install them without installing the visual studio or sql server?
I just wrote an answer on how to do this for an older question, which can be found here.
For convenience, here are the essential steps to get Help Viewer 2.2 to run without going to the trouble of installing a complete copy of Visual Studio 2015:
Most of the files required by HlpViewer.exe can be found on the Visual Studio DVD in two different MSI packages. By passing some additional command line arguments to msiexec, it's quite easy to install them manually:
msiexec.exe /i help3_vs_net.msi VS_SETUP=1
msiexec.exe /i vs_minshellcore.msi MSIFASTINSTALL="7" VSEXTUI="1"
While this installs most necessary files, it doesn't account for all of them ... to keep things simple, I copied the rest of them from a working installation on another computer:
C:\ProgramData\Microsoft\HelpLibrary2
Essentially only contains a CatalogType.xml and some empty directories.
C:\Program Files (x86)\Microsoft Help Viewer\v2.2\CatalogInfo\VS11_en-us.cab
Moreover, it's necessary to provide the application with a valid ContentStore path by importing the following .reg file:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.2\Catalogs\VisualStudio14]
"LocationPath"="%ProgramData%\\Microsoft\\HelpLibrary2\\Catalogs\\VisualStudio14\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Help\v2.2\Catalogs\VisualStudio14\en-US]
"SeedFilePath"="C:\\Program Files (x86)\\Microsoft Help Viewer\\v2.2\\CatalogInfo\\VS11_en-us.cab"
"catalogName"="Visual Studio Documentation"
Finally, I created a new Application Shortcut and changed its Target: to read as follows:
"C:\Program Files (x86)\Microsoft Help Viewer\v2.2\HlpViewer.exe" /catalogName VisualStudio14 /launchingApp Microsoft,VisualStudio,14
Et voilà!, with that HlpViewer.exe should finally execute without any problems!
In MSDN to USB v2.5, you don't have to have any Visual Studio IDE installed:
https://stackoverflow.com/a/66595500/3268088
I know its old question. I just run into a problem involving Help Viewer.
my recovery steps are :
get sqlexress installer (if you haven't got one)
after extracting the files, check its folder and find for "help" folder
I got mine "SQLEXPRWT_x64_ENU\redist\VisualStudioShell\Help\x64"
run install.exe with administration priveleges (Run as Administrator)
all done.

Android Studio Beta v0.8.14 not showing in start menu

I have downloaded Android Studio Beta v0.8.14 and followed the steps to install it on Windows 7 from the link:
https://developer.android.com/sdk/installing/index.html?pkg=studio
The link says to launch studio.exe and follow the installation wizard. But the zip file contains studio.exe file in bin folder and directly launches Android Studio(after resolving all issues). There is no installation wizard and so it is not showing up in start menu. I don't have any others problems though but just want to make sure that everything is all right.
Am I missing something?
Android studio doesn't have an installer. you just unzip the file and its ready to go. You are not missing anything.
However, if you want to you can adda start menu shortcut for the .exe file if you want, that doesn't have an installer.

Android Studio failed to open by giving error "Files Locked"

After running once successfully, Android Studio is getting failed to open.
The error is:
Files in C:\Program Files (x86)\Android\android-studio\system\caches are locked. Android Studio will not be able to start.
Did any one find its solution?
Solved in Windows 7:
Go to folder where android-studio is installed. (e.g. C:\Program Files (x86)\Android\android-studio)
Now go up one folder. (i.e. C:\Program Files (x86)\Android)
Right click on the android-studio folder and go to Properties.
In the Properties window, go to the Security tab.
Click the Edit button.
A new window will open, here you click the Users (your-username-or-your-group-name)
From the list below, check Allow in front of Full control.
Press OK, then again OK.
Now you can use Android Studio easily instead of "Running it As Administrator" every time.
If you are running in Windows 7 / Vista/ etc. then try running Android Studio as administrator. I was having the same problem and this fixed it for me.
I installed it for all users too, and got this same error on second run. Didn't want to reinstall it, and also prefer not to run programs as admin unless necessary, so I just changed a couple file permissions and it runs fine.
I changed the settings on C:\Program Files (x86)\Android\android-studio and let it apply to all sub-folders -- removed Read-Only, and gave localhost/Users group permissions to modify files in this folder. Worked fine afterwards. If you want to be more secure, just give your user permissions to modify those folders.
During the installation, select "install for the current user". Android Studio will be installed in the user's folders, without any authorization issues. Personally I do not like to run program with Administrator power.
if u install for all users than , run as admin will solve it .
Tested in windows 8 also.
SIMPLEST SOLUTION:
Uninstall Android Studio and install it again
I had the same problem and it solved .
Simply go and delete the cache folder from user .AndroidStudio3. . It solved problem

Resources