cuckoobox/cuckoo — pull request #318 by robertsjw (2014-05-03 21:43:26+00:00)
Title: [FIX] Error with path on 32 bit machines for analyzer

I'm really sorry I missed this one during initial testing, but after additional testing I've found this to be a better way to handle determining the path of MS Office, Adobe, java, IE, etc.
```
officex86 = os.path.join(os.getenv("ProgramFiles(x86)"), "Microsoft Office")
```
Will cause an error on 32 bit machines that do not recognize the environment variable. Changing to the below code fixes this.

```
if os.getenv("ProgramFiles(x86)"):
officex86 = os.path.join(os.getenv("ProgramFiles(x86)"), "Microsoft Office")
else:
officex86 = os.path.join(os.getenv("ProgramFiles"), "Microsoft Office")
```