Comments (7)
The test that is failing is supposed to test that, in the case msxml is not
available, the function CheckSystemRequirements() returns a specific error. The
test environment tries to simulate this condition by redirecting the registry
HKLM hive so that looking up the COM classes defined by msxml would fail. For
some reason, in this case, the assumption break. It looks like the test has
succeeded. It may be a bug in the code itself, which can be traced into the
debugger, or may be that for some reason, msxml is activated somehow despite
the registry redirection.
Original comment by [email protected]
on 29 Aug 2012 at 10:51
from omaha.
My guess is that this unit test isn't being run from an account with
administrative privileges (or from an elevated command prompt). If you try to
run it as a normal user, you won't have permission to redirect HKLM.
Original comment by [email protected]
on 30 Aug 2012 at 12:44
from omaha.
Hammer was run from a command prompt as administrator
Original comment by [email protected]
on 30 Aug 2012 at 1:12
from omaha.
Thanks for the quick replies, by the way.
I believe I ran the script from a regular command prompt and another as
administrator and obtained the same results.
Original comment by [email protected]
on 30 Aug 2012 at 1:13
from omaha.
Not sure if this is relevant, but when running run_unit_tests.py, there are a
couple other tests that fail as well:
[ RUN ] OmahaCustomizationGoopdateComInterfaceTest.TypeLib
C:\omaha/testing/omaha_customization_test.h(71): error:
::LoadTypeLib(omaha_dll_path, &type_lib_) failed with error 0x80029c4a
[ RUN ] OmahaCustomizationTest.IsInternalUser
common\omaha_customization_unittest.cc(379): error: Value of:
ConfigManager::Instance()->IsInternalUser()
Actual: false
Expected: true
[ FAILED ] OmahaCustomizationTest.IsInternalUser (1 ms)
The full output is attached. There are failures from 5 different tests.
Original comment by [email protected]
on 30 Aug 2012 at 4:00
Attachments:
from omaha.
Also, I do have a Registry Key at HKEY_LOCAL_MACHINE\Software\Google\UpdateDev.
It is called "TestSource" with value "ossdev."
Note: I have also tried with the value "dev" and have also run this test by
building a non GoogleUpdate version where the registry key was at
HKML\Software\OmahaCompanyName\UpdateDev, and got the same results.
Again, not sure if this is entirely related to the previous case.
Original comment by [email protected]
on 30 Aug 2012 at 4:04
from omaha.
I have the same problem.And build omaha with hammer as administrator would not
solve this issue. using the omaha-src-r110.zip. any ideas? kindly help
Original comment by [email protected]
on 1 Aug 2013 at 3:27
from omaha.
Related Issues (20)
- Omaha doesn't support Windows 8
- google Chrom or Talk Bundle cannot be installed HOT 1
- cannot create a good taggedmetainstaller HOT 3
- installation failed HOT 2
- Google Chrome Bundle Doesn't Install
- LocalGoogle Folder HOT 8
- Running unit tests with OMAHA_TEST_UI fails
- Bug inomaha\goopdate\installer_wrapper.cc line 423
- Need control to set time to check for and download updates
- IsVistaOrLater() tests only the major version
- Google Chrome won't open HOT 1
- programmatically update google chrome
- Google Update Check request error HOT 2
- Patch for /trunk/clickonce/clickonce_bootstrap.cs
- Can't resolved detecting download URL of 64-bit builds by GET HOT 3
- Chrome crashes
- Google Omaha is dead HOT 3
- Visual Studio 2010 Support
- GRIT sources for .rc files HOT 1
- Is Project Omaha still active? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omaha.