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"
Related
I built my own version of Chromium using official instruction with very slight changes in the code that do not touch the core things. When I try to launch it on Windows 10 (tried Home and LTSC), is shows "RESULT_CODE_MISSING_DATA" error on each page, including internal ones, like "settings".
The build works on Windows 10 correctly if I launch it with "compatibility to Windows 8" option, but that's a bad option as it launches with additional borders, maybe it's because of Metro UI:
enter image description here
The build launches on Windows 7 well without any additional changes.
I tried to build 82.x.x.x and 81.x.x.x builds, they all emerge this error on Windows 10.
I tried to do builds on multiple OS (Win7, Win10), the error still presents.
my args.gn:
is_debug = false
is_component_build = false
enable_nacl = false
symbol_level = 1
target_cpu = "x86" # I tried x64, same problem
blink_symbol_level = 1
proprietary_codecs = true
ffmpeg_branding = "Chrome"
is_component_ffmpeg=true
is_official_build=true
Ok, after several build tries I built chromium well-working after removing the is_component_ffmpeg=true flag from args.gn.
Thanks Asesh for helping.
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.
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
I faced a problem of checking a specific application is already installed.
I know that I can check from the registry key for which application that is already installed but I cannot find Expression Encoder4 (window 64bit) in HKLM registry key.
Any ideas?
thanks
The registry key to check is:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Expression\Encoder\4.0
I use the following code to check the encoder version and my dev computer is Windows 7 64bit:
string encoderVersion = string.Empty;
RegistryKey localKey = RegistryKey.OpenBaseKey(Microsoft.Win32.RegistryHive.LocalMachine, RegistryView.Default);
localKey = localKey.OpenSubKey(#"SOFTWARE\Microsoft\Expression\Encoder\4.0");
if (localKey != null)
{
encoderVersion = localKey.GetValue("Version").ToString();
}
I'm getting the following error when installing my ClickOnce application via firefox. It doesn't happen with IE on the same computer. I swear I've installed it via firefox before. This is a Windows 7 machine.
The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [ProcessorArchitecture] = Intel {string}
Property: [VersionNT] = 6.1.0 {version}
Running checks for package '.NET Framework 2.0 (x86)', phase BuildList
Running external check with command 'C:\Users\luke\AppData\Local\Temp\VSDEF1A.tmp\DotNetFX\dotnetchk.exe' and parameters ''
Process exited with code 1
Setting value '1 {int}' for property 'DotNetInstalled'
Reading value 'Version' of registry key 'HKLM\Software\Microsoft\Internet Explorer'
Read string value '8.0.7600.16385'
Setting value '8.0.7600.16385 {string}' for property 'IEVersion'
The following properties have been set for package '.NET Framework 2.0 (x86)':
Property: [DotNetInstalled] = 1 {int}
Property: [IEVersion] = 8.0.7600.16385 {string}
Running checks for command 'DotNetFX\instmsia.exe'
Result of running operator 'ValueExists' on property 'VersionNT': true
Result of checks for command 'DotNetFX\instmsia.exe' is 'Bypass'
Running checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe'
Result of running operator 'ValueExists' on property 'Version9x': false
Result of running operator 'VersionLessThan' on property 'VersionNT' and value '5.0.3': false
Result of running operator 'VersionGreaterThanOrEqualTo' on property 'VersionMsi' and value '3.0': true
Result of checks for command 'DotNetFX\WindowsInstaller-KB893803-v2-x86.exe' is 'Bypass'
Running checks for command 'DotNetFX\dotnetfx.exe'
Result of running operator 'ValueNotEqualTo' on property 'DotNetInstalled' and value '0': true
Result of checks for command 'DotNetFX\dotnetfx.exe' is 'Bypass'
'.NET Framework 2.0 (x86)' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697211'
Error: An error occurred trying to download 'http://croppy.lukehunter.net/download/croppy.application'.
The following is the howto from Microsoft, but this doesn't apply to firefox. There is no redirection happening either.
If a user has set Internet Explorer
Advanced Security option "Warn if
changing between secure and not secure
mode" on the deployment target
computer, and if the setup URL of the
ClickOnce application being installed
is redirected from a non-secure to a
secure site (or vice-versa), the
installation will fail because the
Internet Explorer warning interrupts
it.
Internet Explorer calls either LaunchApplication or ShOpenVerbApplication procedure from dfshim.dll behind the scenes, whereas Firefox plug-in (as well as a standard bootstrapper created by Visual Studio 2008-2010, which could also produce this rare error) uses a different, out of date technique to launch ClickOnce applications. (Note, that LaunchApplication requires at least .NET Framework 2 SP 2.)
To avoid such error one could redirect Internet Explorer to a deployment manifest (.application) and all other browsers to a custom installer (.exe) that would install .NET Framework if necessary and then call ShOpenVerbApplication.
Hmm, after using IE to install, then uninstalling, I was able to install via firefox again. Odd.
The following worked for me:
Within the local distribution package CLICK ONCE a web.config file was generated on line clientCache that was the problem, in which altered as follows for CHROME and IE8 and now run the file:
<clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="1.00:00:00" />
I've had this and it to resolve it was to disable the firewall. I sadly don't know what Firewall settings it was, I just disabled the lot and it ran/installed without issue.
After exhausting firewall options on this issue, I found that my excutable was pointing to the IP Address of the Application Server. When I changed the site deployment and consequently the executable to the FQDN of the server instead of the IP Address, the installer worked first time.
Simple Solution, on cmd execute setup.exe /URL=http://< Production URL>/
Easy!