Install visual studio 2015 "setup blocked" with 10 errors - installation

who can help me about visual studio 2015 install problem ??? preview windows update error
here is the screenshot of the setup blocking:
and here are the errors I get for this setup:
Condition '(VersionNT = v6.3) AND (WindowsBuildNumber < 9600)' evaluates to false.
Condition 'CompatibilityMode = 0' evaluates to false.
Condition 'NOT((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))' evaluates to false.
Condition '(NOT IsLanguagePack) AND ( CurrentOperation = "Install" ) AND ( FLP_Version > v14.0.22310 )' evaluates to false.
Condition 'RebootPending = 1' evaluates to false.
Condition 'NOT (IEsvcVersionExists) OR (IEsvcVersion < v10.0)' evaluates to false.
Condition '(VersionNT < v6.2) AND ((NetworkAvailable = 0) OR (DisableRootAutoUpdate = 1)) AND NOT ((MicrosoftRootCertificateAuthority2011RootExists OR MicrosoftRootCertificateAuthority2011AuthRootExists) AND (MicrosoftRootCertificateAuthority2010RootExists OR MicrosoftRootCertificateAuthority2010AuthRootExists))' evaluates to false.
Condition '(VersionNT = v6.3) AND (KB2919355_amd64_CurrentState <> 112 AND KB2919355_x86_CurrentState <> 112)' evaluates to true.
Condition '(Not UltimateVersion_DetectKey) AND ProfessionalVersion_DetectKey AND (ProfessionalVersion_DetectKey < v14.0.22230) AND (CurrentOperation = "Install")' evaluates to false.
Condition '(VersionNT = v6.3) AND (netfxfullredist_43_DetectKey < v4.5.50709)' evaluates to false.
can someone suggest a fix to this setup error?

Your setup is blocked until you install KB 2919355. You will find two methods to install this update in this link. This would definitely unblock it.
UPDATE if these updates are installed successfully, then the problem is because the download package is corrupted, you just need to redownload it and hope it works for you. Even if the package sizes are the same, this should be downloaded again. this could have been caused by interrupted download process.

You'll need to install KB2919442 first before installing KB2919355.

This tutorial can help.
Three Simple Steps to Solve the Problem
Step 1: Before proceeding with the solution, please make sure you are using Windows 8.1 x64 OS;
To find out OS Architecture, Run following command in Command Prompt of Windows (cmd.exe)
C:\Users\sandeep>wmic os get osarchitecture
OSArchitecture
64-bit
Step 2: Download and Install Windows8.1-KB2975061-x64.msu
https://www.microsoft.com/en-in/download/details.aspx?id=43530
Step 3 : Download and Install Windows8.1-KB2919355-x64.msu
https://www.microsoft.com/en-in/download/details.aspx?id=42335
https://www.microsoft.com/en-in/download/details.aspx?id=42335
Note: Second one is little heavier update and will take longer to download as well install. So, please have patience.
Installing-Windows-Update
Once both of above updates are installed. Start Visual Studio 2015 Community Installer once again. This time Installation completes like a charm.
VisualStudioCommunity-Install
Problem Solved!
Credits:
http://beingzero.in/c-sharp-selenium/visual-studio-2015-installation-troubleshooting

Related

Chromium custom build running too slow

I have followed instructions here:
https://chromium.googlesource.com/chromium/src/+/master/docs/windows_build_instructions.md
to compile chormium on Windows 7 x64.
It takes some long time to compile, but the problem is not the slow compiling, the problem is in fact that when the browser i built, it runs very, very slow. Is uses much more RAM then usual Chome and it even cannot run on Virtual Machine with 3GB of RAM (shows error).
How can I compile Chromium that can run normally without performanse problems?
If you built it according to instructions then I suppose the problem was in "is_debug = true".
In case you want build browser for normal usage try to change this string from dev manual from:
gn gen out/Default --args="is_component_build = true is_debug = true"
to
gn gen out/Default --args="is_official = true"
"is_officail" flag makes a lot of optimizasions.
see https://www.chromium.org/developers/gn-build-configuration
for full gn-docs
you most likely need
is_official_build = true
is_debug = false
dcheck_always_on = false
blink_symbol_level = 0
symbol_level = 0
in your gn args.

Microsoft visual studio "setup blocked"

When I try to install Microsoft visual studio 2015 it gives the error "Setup Blocked". telling me:"The computer needs to be restarted before setup can continue. Please restart the computer and run setup again."
after doing so it still doesn't work...
I'm on Windows 10 Build 10130
this is the last bit of the log file:
[0A60:1530][2015-07-10T18:48:06]i101: Detected package: VSSetupUtility_Complete_vs_community, state: Absent, cached: None
[0A60:1530][2015-07-10T18:48:06]i000: MUX: Setup update feature is enabled. Evaluating conditions to determine whether to run setup update.
[0A60:1530][2015-07-10T18:48:06]i000: MUX: Checking http://go.microsoft.com/fwlink/?LinkID=500683 for update.
[0A60:1530][2015-07-10T18:48:07]e000: MUX: Exception: Info: Could not download update data.
[0A60:1530][2015-07-10T18:48:07]e000: MUX: WARNING: For security reasons DTD is prohibited in this XML document. To enable DTD processing set the ProhibitDtd property on XmlReaderSettings to false and pass the settings into XmlReader.Create method.
[0A60:1530][2015-07-10T18:48:07]e000: MUX: Stack: at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res, String arg)
at System.Xml.XmlTextReaderImpl.ParseDoctypeDecl()
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at Microsoft.Devdiv.Bootstrapper.DownloadManager.DownloadXml(String url, Int32& returnCode)
[0A60:1530][2015-07-10T18:48:07]i000: MUX: Failed to download the update xml file from http://go.microsoft.com/fwlink/?LinkID=500683 Setup will not be updated.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (WindowsBuildNumber < 9600)' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition 'CompatibilityMode = 0' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition 'NOT((VersionNT > v6.1) OR (VersionNT = v6.1 AND ServicePackLevel >= 1))' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '(NOT IsLanguagePack) AND ( CurrentOperation = "Install" ) AND ( FLP_Version > v14.0.22823 )' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition 'RebootPending = 1' evaluates to true.
[0A60:1530][2015-07-10T18:48:07]i052: Condition 'NOT (IEsvcVersionExists) OR (IEsvcVersion < v10.0)' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT < v6.2) AND ((NetworkAvailable = 0) OR (DisableRootAutoUpdate = 1)) AND NOT ((MicrosoftRootCertificateAuthority2011RootExists OR MicrosoftRootCertificateAuthority2011AuthRootExists) AND (MicrosoftRootCertificateAuthority2010RootExists OR MicrosoftRootCertificateAuthority2010AuthRootExists))' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '( CurrentOperation = "Install" AND EnterpriseExists )' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '( CurrentOperation = "Install" AND UltimateExists )' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '( CurrentOperation = "Install" AND NOT EnterpriseExists AND ProfessionalExists)' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (KB2919355_amd64_CurrentState <> 112 AND KB2919355_x86_CurrentState <> 112)' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i052: Condition '(VersionNT = v6.3) AND (netfxfullredist_43_DetectKey < v4.5.22816)' evaluates to false.
[0A60:1530][2015-07-10T18:48:07]i000: MUX: Stop Block: SystemRebootPendingBlock : The computer needs to be restarted before setup can continue. Please restart the computer and run setup again.
[0A60:1530][2015-07-10T18:48:07]i000: MUX: Detect Completed
[0A60:1530][2015-07-10T18:48:07]i000: MUX: Wait for View to be loaded
[0A60:139C][2015-07-10T18:48:07]i000: MUX: Detect Completed, now create view
[0A60:1530][2015-07-10T18:48:08]i000: MUX: View loaded
[0A60:1530][2015-07-10T18:48:08]i000: MUX: Stop Block: SystemRebootPendingBlock : The computer needs to be restarted before setup can continue. Please restart the computer and run setup again.
[0A60:1530][2015-07-10T18:48:08]i000: MUX: Go to Blocker page.
[0A60:1530][2015-07-10T18:48:08]i199: Detect complete, result: 0x0
and this is the full log
It seems that from Windows 8 onward shutting down doesn't actually turns the computer off, but rather hibernates it. That causes system files which the installer needed to operate on to continue being used.
You can turn hibernation off by running the following command as an administrator:
powercfg.exe /hibernate off
After running it, restart the computer and the setup should work. You can turn it on again by using
powercfg.exe /hibernate on
You have 2 choices:
Restart PC (not shutdown!)
OR
If you dont want to restart pc, just use ignore-restart.bat script before installation.
You can also go to Control panel; power options; Choose what the power buttons do; Change settings that are currently unavailable; then uncheck the 'Turn on fast startup(recommended)' check box, save the changes then shut down.
I have managed to bypass the same error on Windows 7 x64 by:
emptying Windows Temp folder (usually C:\Windows\Temp), but keeping all files in use
performing a restart
I hit this issue but my problem was something completely different.
The issue was that I was trying to install:
Visual Studio 2015 Update 1 (x86 and x64) - Web Installer (Multiple Languages)
Not:
Visual Studio Professional 2015 with Update 1 (x86 and x64) - Web Installer (English)
The error message is not helpful, but in my case it meant that i didnt have 2015 installed, so the update 1 couldn't be applied.
msdn forum post here for more info:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/6c531ef3-6c95-4dc9-a9a3-d23cc95b09c3/vs2015-update-1-setup-blocked-update-1-does-not-apply-or-is-blocked-by-another-condition-on-your?forum=vssetup
Just go to command prompt and run the below:
SHUTDOWN /r /f /t 0
The problem is because an instance of previous installation required a reboot and the reboot required is still in the registry. Although with reboot the "reboot required" key should have been deleted from the registry, but it is still existing in registry.
The solution is to manually delete the "reboot required" key and then try to setup/uninstall the visual studio.
The key is located in -
"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall{9600393b-6ede-469b-a522-689fce1461d1}.RebootRequired"
Locate the key and delete it. Then try to install/uninstall/repair the visual studio.

Visual Studio 2013 Update 4 isn't installing ( Error: Update 4 does not apply, or is blocked by another condition on your computer.)

I've had Visual Studio 2013 installed for a while, but after experiencing certain issues, thought I would try reinstalling.
I completely removed VS2013, and tried to install the full application with update 4 included... i.e. from the complete 6GB install package.
Immediately after starting the installer, it immediately said:
Update 4 does not apply, or is blocked by another condition on your computer.
Does anyone have any suggestions? The last few lines of the log file is:
[1E08:16F0][2015-01-11T11:02:04]i101: Detected package: sqlsysclrtypes_Sql2014_amd64_rus, state: Obsolete, cached: None
[1E08:16F0][2015-01-11T11:02:04]i101: Detected package: sharedmanagementobjects_Sql2014_x86_rus, state: Absent, cached: None
[1E08:16F0][2015-01-11T11:02:04]i101: Detected package: sharedmanagementobjects_Sql2014_amd64_rus, state: Absent, cached: None
[1E08:16F0][2015-01-11T11:02:04]i101: Detected package: SSDTJuneau_rus, state: Absent, cached: None
[1E08:16F0][2015-01-11T11:02:04]i052: Condition 'NOT (CurrentOperation = "Uninstall")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i052: Condition 'NOT (CurrentOperation = "Uninstall")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i052: Condition 'NOT (CurrentOperation = "Uninstall")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i052: Condition 'NOT (CurrentOperation = "Uninstall")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i052: Condition 'NOT (CurrentOperation = "Uninstall")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i052: Condition 'NOT (CurrentOperation = "Uninstall")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i052: Condition '(CurrentOperation = "Install") OR (CurrentOperation = "Repair")' evaluates to true.
[1E08:16F0][2015-01-11T11:02:04]i000: MUX: Stop Block: NoApplicableUpdates : Update 4 does not apply, or is blocked by another condition on your computer.
[1E08:16F0][2015-01-11T11:02:04]i000: MUX: Detect Completed
[1E08:16F0][2015-01-11T11:02:04]i000: MUX: Wait for View to be loaded
[1E08:1E58][2015-01-11T11:02:04]i000: MUX: Detect Completed, now create view
[1E08:16F0][2015-01-11T11:02:04]i000: MUX: View loaded
[1E08:16F0][2015-01-11T11:02:04]i000: MUX: Go to Blocker page.
[1E08:16F0][2015-01-11T11:02:04]i199: Detect complete, result: 0x0
This issue occurs when you run an update for Visual Studio and don't
have any of the core Visual Studio components installed.
e.g. The file VS2013.5.exe can represent Visual Studio 2013 Update 5.
You may however, still need to install Visual Studio 2013 before running this update.
I had the same problem. I had to install Windows (your O.S.version) SDK
package to solve it.

registry launch condition for ie version?

i am using vs2005 deployment project to build setup for my application. my application runs well in ie versions 6,7,8 but not supports ie version more than 8. i have created a registry launch condition for that but it even not allowing me to install in ie 8 machine also
here is the details of registry launch condition
Search for registry launch condition properties:
Progperty = IEVER
RegKey = SOFTWARE\Microsoft\Internet Explorer\Version Vector
Root= vsdrrHKLM
value = IE
launch condition properties: - i have tried those diffent kinds of conditions
Condition: IEVER <= "8.0.0.0"
Condition: IEVER <= "#8.0"
Condition: IEVER <= "#8.0.0.0"
Condition: IEVER <= 8
can anybody help me to overcome the problem
At last we found solution, here it is
registry launch condition properties:
Progperty = IEVER
RegKey = SOFTWARE\Microsoft\Internet Explorer
Root= vsdrrHKLM
value = Version
Condition: IEVER < "9.0.0.0"

How do I find the path of Visual Studio in the registry using Python?

We have this code, but it doesn't work any more:
def get_vcvarsall(generator):
value = None
type = None
key_name = r'SOFTWARE\Microsoft\VisualStudio\SxS\VC7'
key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, key_name)
if generator.startswith('Visual Studio 8'):
value,type = _winreg.QueryValueEx(key, '8.0')
elif generator.startswith('Visual Studio 9'):
value,type = _winreg.QueryValueEx(key, '9.0')
elif generator.startswith('Visual Studio 10'):
value,type = _winreg.QueryValueEx(key, '10.0')
else:
raise Exception('Cannot determin vcvarsall.bat location for: ' + generator)
path = value + 'vcvarsall.bat'
if not os.path.exists(path):
raise Exception("'%s' not found.")
return path
This seems to have stopped working since I upgraded to Python 2.6 x64 from x86 (but I can't be sure). Could have been upgrading to Win7 that caused the problem.
It's the x64 part.
Since Visual Studio is a 32-bit application, it's registry entries get shoved in the 32-bit WoW dungeon. You'll want to look in
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\SxS\VS7
Note that if you run Python as a 32-bit executable, it'll get redirected as well -- so everything "just works". It's only when you look for 32-bit information from a 64-bit application or vice versa that you run into problems.

Resources