Mandatory prerequisite error for visual C++ 2008
When running a script in Sikuli, I keep getting the following error:
"You are missing a mandatory prerequisite and should not run the product until you install or upgrade Visual C++ Runtime 9.0.30729. Use the diagnostics window for more details."
Script:
MyPath = r'C:\Mypath'
openApp(MyPath)
wait("Login.
click("
type('MyUserName')
click("
type('MyPassword')
click("
Details in Sikuli IDE (I'm running Sikuli X-1.03c3 (r905):
[error] Error message: Traceback (most recent call last):
File "C:\Users\
click("
Line 8, in file C:\Users\
at org.sikuli.
at org.sikuli.
at org.python.
at sun.reflect.
at sun.reflect.
at sun.reflect.
at java.lang.
org.sikuli.
Line 8, in file C:\Users\
Some or all of the traceback error message may be because the first error ("... missing mandatory prerequisite...") is obscuring the UI when it pops up, including the controls Sikuli is looking for. The script successfully launches my application, then I get the error. I don't see this error when I run the app manually-- only when trying to run it via Sikuli.
The machine is a Windows 7 machine (64-bit). I installed a 32-bit version of the Java 7 JRE, and I've made the changes to point to the JRE7 bin directory in the batch files and PATH environment variables. If I look at a list of installed programs, I DO see that the Visual C++ Runtime is installed (the version number in the error message corresponds to Visual C++ 2008), and I've run Windows Update multiple times to check for all available updates.
Does anybody have any ideas about what might be causing the error?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Michael Sweeney
- Solved:
- Last query:
- Last reply: