Search e-mail at lightspeed: using Lookout with Outlook 2007

Everybody who uses Microsoft Outlook must know that Outlook’s search functionality sucks. Yes, I know that’s a bold statement, but there’s no other way to say it. Outlook search sucks big time, period! Even Joel agrees… My mailbox is growing every day and I find it harder and harder to keep track of its contents. A search through my archived folders often takes a much as a full minute of searching, which I find unacceptable. In the press I often read Microsoft Corporation finds Search important and lately we’ve seen them release some impressive search products (i.e. Search Server 2008 and Search Server 2008 Express). Also a major part of my daily job involves implementing SharePoint 2007 solutions at our customers, which most of the time also includes SharePoint’s search feature. But somehow the Outlook team seems to have missed the boat…

Some years ago a guy called Mike Belshe created a great free Outlook add-in called Lookout, that offered a lightning fast search. Within seconds of starting a search (often even within a second!) the results would appear on screen. Microsoft was quick to buy his company and its technology. At that time many people expected Microsoft to integrate Lookout into Outlook, but unfortunately they seem to have shelved it (Mike himself claims some of his Lookout code ended up in Windows Desktop Search). So now there’s no official way to obtain Lookout. Luckily there are many sites that still offer the Lookout download. A quick search on Google should point you to some sites containing working download links.

However, getting Lookout to work with Outlook 2007 is more problematic. It turns out that Lookout checks for specific Office Primary Interop Assemblies (PIAs) and the PIAs that come with Outlook 2007 don’t pass this test. The result is that Lookout prevents itself from running under Outlook 2007 and instead displays this warning message:

Lookout error message

After much demand Mike Belshe published a way to get Lookout to work with Outlook 2007. For this you have to rename an Office PIA file, which resides in the Global Assembly Cache. While this solution gets Lookout to work, it may have serious impact on other applications/add-ins that make use of this PIA. So this solution isn’t acceptable for me (and it shouldn’t be for you!).

Instead I opted for a different approach. The only reason that Lookout doesn’t run on Outlook 2007 is that dreaded PIA check. So why not remove it? Which is exactly what I did…

A quick Reflector session revealed that the code that performs the PIA check is located inside the assembly named Inventures_Olk.dll and goes by the name of CheckOutlookInterop(). What it does is compare the installed Office PIA’s name to a built-in string constant. If the match is positive it returns the boolean value true, otherwise it returns false. Using ILDASM I decompiled the assembly to CIL, changed CheckOutlookInterop()’s code to always return true and recompiled the assembly. So that gave me a fully working Lookout version that’s compatible with Outlook 2007!

You can download the patched assembly here. Just replace the the original Inventures_Olk.dll with the patched version and you should be searching your Outlook 2007 content a lightspeed in no time…

Oh yeah, there’s one small issue… It seems Lookout crashes while indexing if you run it on Vista. Bummer…

Update: Recently I discovered there’s another bug in Lookout that causes dates to be parsed incorrectly if you have the .NET Framework 2.0 installed. You can read more about it here. Fortunately someone has fixed this problem and also released a patched DLL that you can download.

Tags: , , , , ,

79 Responses to “Search e-mail at lightspeed: using Lookout with Outlook 2007”

  1. Leonel Jansen Says:

    Cool!

    This fix is a real saver for Lookout users migrating to Office 2007.

    Now I just hope someone will find a solution to successfully run Lookout with Office 2007 on Windows Vista (without the Lookout indexer crashing Outlook).

    Leonel

  2. Sonti Says:

    Wow, nice move, Leon! I’m using Copernic Desktop Search, which offers a pretty good Outlook search. But I’m going to try Lookout to see if it’s better.

  3. Rob P. Says:

    Great article! I’m using Lookout with Vista and have no problems! Just disable automatic indexing of new e-mails and do it manually.

  4. Mario Says:

    @Rob P: Even manual indexing doesn’t work for me on Vista… :-(

  5. Francisca Says:

    Wow, your solution really works. I had uninstalled Lookout, because Mike’s solution (renaming the PIAs) broke some other add-ins I have installed. But your solution makes them all work again. Thanks again!

    Francisca

  6. Prakash S Says:

    Good.. Glad that you released it. I had the same fix done when i wrote the post but i did not publish it as it will lead to a user agreement violation of lookout (we decompiled the s/w which is not legal).

    -Prakash.

  7. Johnson Says:

    I am now using Lookeen! Seems to be the perfect replacement for Lookout - unless the price of course.

    -J

  8. Erik M Says:

    Absolutely brilliant solution. I am so happy that I can use LookOut again, now in Outlook 2007. Desktop Search and others are really not up to the same level as far as speed and accuracy are concerned. Thank you so much !
    Erik

  9. Jeff S Says:

    I am not able to get Lookout to index either.. no matter what folders I select.. it still crashes Outlook. Does anyone know of any tricks to index manually so as not to crash Outlook?

  10. lzandman Says:

    @Jeff S: do you mean it crashes on Vista? Or do you experience crashes on Windows XP?

  11. jba Says:

    Hi guys,

    I too have applied both fixes here and am having a problem when i run the indexer.

    I’m running Outlook 2007 on Vista, and have had strange results with the indexer. It always crashes Outlook when manually indexing for the first time. Often it crashes very early in the indexing process (just after having gathered all the folders and started indexing), but sometimes it takes a while to crash (got to about 90% before crashing once).

    Does anyone have any idea what would be causing this?

  12. Mike Says:

    I managed to get Lookout to work inside Vista and Outlook 2007 , by the following simple procedure:

    1) Install lookout
    2) Download and insert the patched Inventures_Olk.dll into the Lookout folder (C/:Programs/lookout). Just click overwrite. You can download the patched file here: http://www.wirwar.com/blog/wp-content/inventures_olk.zip
    3) Download and insert the patched Lookout.dll into the Lookout folder (C/:Programs/lookout). Just click overwrite. You can download the patched file here: http://www.scw.us/win/FixingLookout/lookout.dll

    Very simple!

  13. Kermit Says:

    Mike I tried your solution with Vista, Outlook 2007, & Lookout130 and indexing still crashes. My Lookout was in C:\Program Files\Lookout Software\Lookout, and not C:/programs/lookout

  14. Leon Zandman Says:

    I think Mike was just lucky. My patch and the other one mentioned don’t fix anything that I think can be related to the crash on Vista.

  15. Sm Says:

    [...] funktionierte nach der relativ unkomplizierten Installation leider nicht mehr. Dieser Artikel http://www.wirwar.com/blog/2008/01/22/search-e-mail-at-lightspeed-using-lookout-with-outlook-2007/ zeigt, wie man lookout und Outlook 2007 zur Zusammenarbeit bringt. Comments (0) | Trackbacks (0) [...]

  16. Roger Says:

    Any reason why I can’t see the download of the patch? A ‘divine’ intervention from M$ perhaps? I hope not…Outlook 2007 search suck indeed, and this looks like a miracle…if I can get the files I need.

  17. Roger Says:

    Nevermind the above comment…It appears to be a Firefox thingy…again.

  18. paul davis Says:

    hi, help. i was getting the same error above “lookout failed to start” i’ve replaced the Inventures_Olk.dll. the error has left but i’m still not seeing lookout on my tool bar (outlook 07). I expected to see it the same as in ol03. I also replaced lookout.dll after that. Am i missing something?

    I could really use your help. i use this every second for my job. :( thanks for your help
    paul

  19. Jer Says:

    Missing Toolbar
    I followed these instructions and changed the Inventures DLL and the CheckOutlook DLL, but I find no Lookout Toolbar.

    Now when I load up Outlook I get no errors. Lookout shows in the COM Add-ins part of the 2007 “Trustcenter” and the OutlookAddInShim.dll file is loaded there.

    What have I done wrong??

    HELP

  20. Leon Zandman Says:

    @Jer: What if you press the right mouse button on one of the visible toolbars in Outlook 2007? Do you see the Lookout toolbar in the menu that appears? Maybe the Lookout toolbar installed just fine, but is only hidden? You could also try re-installing…

  21. Vaelek Says:

    I have been using Lookout, patched, on Vista home premium / Office 2007 without issues for a few days now.

  22. Mike Says:

    I don’t know why my above install explanation did not work. For me it working flawlessly. I have also installed Lookout on several other VISTA/office 2007 machines, and there have been no problems. Please note that I have installed Lookout vers. 1.2 (Lookout120.exe).

    Patches have to be installede in the following folder:

    C:\Program Files\Lookout Software\Lookout

    /Mike

  23. Darrell Smith Says:

    Sorry, I submitted an erroneous email address so resubmitting my question.

    This fix only worked partially for me. I repalced the Inventures_Olk.dll in my C:\Program Files\Lookout Software\Lookout folder with the downloaded one. Now when I start Outlook I see the Lookout toolbar but I get a message “I’m sorry but a serious program error (Method ‘SupportsCatagorize’ in tupe ‘Chrome.Indexing.DocumentsEx’ from assembly ‘Lookout, Version 1.2.0.1924, Culture=nuetral, PublicKeyToken=null’ does not have an implementation.) occurred” error. I also get a similar error when I try to kick off the indexer.

    Any thoughts? Thanks again for the tool.

  24. Leon Zandman Says:

    Darrel, are you using Vista? There have been reports that Lookout doesn’t work well on Vista. Also you could check if you have the latest version of Lookout installed. I think I used V1.3.0, but I’d have to check.

  25. Darrell Smith Says:

    No I am not using Vista. I am on XP Pro SP2. I was using Lookout 1.2.0.1924.

    I unistalled 1.2.0.1924 and loaded 1.3.0.24057. This solved my problem and I am back using lookout!

    For those using MS Groove. I had the Trial version as a Outlook Add-in and Lookout never seemed happy until I Disabled that Add-in. I don’t know if this was relevant but I didn’t like Groove anyway and my problem is gone.

    Thanks for the help Leon!!

  26. Leon Zandman Says:

    Glad to see that that version upgrade solved your problems, Darrell.

  27. Uddhav Regmi Says:

    I did the same thing as mentioned here

    Mike Says:

    March 3rd, 2008 at 17:08:18
    I managed to get Lookout to work inside Vista and Outlook 2007 , by the following simple procedure:

    1) Install lookout
    2) Download and insert the patched Inventures_Olk.dll into the Lookout folder (C/:Programs/lookout). Just click overwrite. You can download the patched file here: http://www.wirwar.com/blog/wp-content/inventures_olk.zip
    3) Download and insert the patched Lookout.dll into the Lookout folder (C/:Programs/lookout). Just click overwrite. You can download the patched file here: http://www.scw.us/win/FixingLookout/lookout.dll

    Very simple!

    It still the same - it does start the index, but as soon as it reaches to some value - may be 10 %, it crashes

    Vista SP1 - Outlook 2007

    Any tips/suggestions

  28. Dan Says:

    Thank you, thank you, thank you. So much of my job requires quick access to all of the information that I have in emails, I was crippled without this tool. I archive into a new PST file each month, to keep them small enough to keep CD backups of all my email from the last 6 years.

    I feel whole again! :)

  29. Dermot Says:

    This is great. I just been updated to OL2007 and was horrified at the built in searching and that LookOut wouldn’t work.
    I have noticed something though - in the search results window I used to be able to preview the message in a little pop up box when I hovered about the entry. On my XP SP2 machine this doesn’t display - it just flickers as it tries to draw the box. Its a bit of a pain, but not enough to make me leave LookOut.
    Anyone else notice this or have any idea what me be causing it?

  30. SteveG Says:

    I’m having the same problem that Paul Davis and @Jer mentioned back in March. I’ve installed and everything seemed to go OK but there’s no Outlook toolbar. The toolbar isn’t a choice in the right-click menu either. Any suggestions?

  31. Malcolm Says:

    Where is this Inventures_Olk.dll file located? I can’t find it in my Office 2007 directories.

    Thanks.

  32. Malcolm Says:

    Ignore my question please. I should have read the postings carefully.

  33. Alistair Says:

    I can confirm that the 2 patches that Mike posted have worked succesfully for me first time. It is great to have lookout back! Though unfortunately it has not worked on my colleagues computer with the exact same set up as mines (outlook 2003 + vista) so wether it will work or not is not certain but i recommend trying it.

  34. Outlook 2007, Vista, Spam Protection and Lightning Fast Search | VB Says:

    [...] and Inventures_old.dll. Unzip the latter and use them to overwrite what Lookout already installed. Leon Zandman’s been writing more on [...]

  35. SteveG Says:

    Still no luck with the toolbar (and it’s driving me crazy)!! I’ve tried uninstalling and then installing v1.2.0 and that doesn’t work either. The toolbar is just not an option from the right-click menu. Leon … can you help??!? Thanks!!

  36. Roberto Says:

    Same problem here.
    Outlook 2007 on Windows XP. Lookout 1.3

    - Got the pop up with error message.
    - Replaced Inventures_Olk.dll
    - No error message, but no toolbar either :( (not in the right-click menu either)

    Tried reinstalling, restarting, to no avail.

    Is it possible to manually run lookout after Outlook is up to perhaps “wake up” lookout?

    Thanks for any help.

  37. Leon Zandman Says:

    @Roberto and SteveG: Sorry guys, but I can’t help you. It all works fine for me.

  38. crankygeek » Blog Archive » Windows Desktop Search 4.0 is the bomb Says:

    [...] I just found out about a couple of modified .dlls you can load which do away with the need for “major” hacking and seem to work just [...]

  39. Dana Says:

    For Roberto - did you check to see if lookout was disabled? i think this happened to me once. Check Help->Disabled Items. Probably you have to restart afterwards.

  40. dimas Says:

    How I Uninstall Look out form Outlook 2007 win xp?
    thank you for help
    d.

  41. Georg Says:

    I performed the replacement of the DLLs on Vista and Outlook 2007. It seems to work with Lookout Version 1.20, but *not* with 1.30, so make sure you patch the Lookout 1.20 version.

    I don’t know the difference between the lookout versions. Maybe somebody develops a patch for the “latest” 1.30 version?

  42. Pavel Says:

    It works well.
    Lookout 1.20 and patches mentioned above.
    Vista Enterprice SP1, MS office 2007 SP1.

    Thanks all!

  43. Örs Says:

    Many many thanks. It was exactly what I was looking for.
    Works fine under XP+Outlook2007.

    Thank you!

  44. Yan Says:

    Works for me with Lookout 1.3 + Office 2007 + Windows XP. Thank you - it’s a real time-saver. Wonder why this functionality isn’t just built-into Outlook 2007.

  45. wb Says:

    Had same problem with Lookout toolbar not showing up. XP, OL2007, and Lookout. Checked under Help->Disabled Items and found an item there which I enabled. Closed OL and restarted and Lookout began with indexing wizard starting up.

    Thanks for keeping this great software running on the new OL!

    -wb

  46. Yair Says:

    as one post noted … i am well again :) thank you
    i did a small test and i was amazed (again)

    any plans for enhancements ;)

  47. SmileytheCat Says:

    Installed the two dl’s and Lookout 1.3 works on tablet xp and outlook 2007 Just for the main inbox. I can’t seem to add any of my offline/archive PST’s. I see them in the options tab, check the boxes, close the dialogue box but they don’t stick. Anyone seen this before???????

  48. David Says:

    Ok, this really sucks, I have tried *** EVERYTHING *** listed here and nothing works. I am using Vista 64 and no matter what I can’t get Lookout to index without crashing. I love Lookout and want it back. I’m running Outlook 2007 as well to make things worse. Lookout 120 doesn’t work - gives the traditional error that some other plugin has broken outlook etc. and lookout 130 fares better in 64bit but still fails as soon as you start to index anything. Help!!! We can put a man on the moon but we can’t get Lookout to work in Outlook 2007 on Vista 64 bit?

  49. Sheryl Canter Says:

    I’ve seen several people post that under Vista, Outlook crashes when LookOut start indexing. I’m running Vista and I don’t have that problem. Maybe because I’m running 64-bit Vista?

  50. Sheryl Says:

    I originally wanted to comment to say THANK YOU. How’d I forget the thank you? This patch is a great help.

  51. Sheryl Says:

    Oh, and NOW it’s crashing under Vista (I added a bunch of additional PST files). Oh well.

  52. Leon Zandman Says:

    @Sheryl: I’m glad you like my patch :-) It’s too bad Lookout doesn’t run well on Vista.

  53. Mike Also Says:

    With Outlook 2003 Professional Edition, the Lookout wizard runs EVERY time Outlook is launched. Would appreciate some straight talking advice from anyone reading.

    Thanks

  54. Leon Zandman Says:

    @Mike: I’m also using Lookout with Outlook 2003 Pro on my work laptop and didn’t encounter that problem. Often when these things happen it means the wizard’s settings aren’t persisted.

    Although I haven’t actually checked, I think that when Lookout is run for the first time it checks if it has been run before. If it hasn’t, the wizard will pop up. When the wizard finishes it saves certain settings to the disk. It could be that on your system the wizard either isn’t able to save those changes to disk or those saved settings are somehow deleted from your disk. Either way, the next time you start Outlook the saved settings aren’t found and the wizard reappears.

    If you really want to find out I suggest you run Process Monitor, a tool by Mark Russinovich that you can download from the SysInternals website (http://www.sysinternals.com/). Using that tool you can track whatever Lookout is trying to write to the disk or the registry.

  55. Bill Says:

    I was able to resolve the missing Lookout tool bar. I found two versions Inventures_Olk.dll I had down loaded a 30K version from another site and was not able to see the Toolbar although it did resolve the startup error. I download. I then down loaded a 80K version from http://www.wirwar.com/blog/wp-content/inventures_olk.zip installed it and the lookout wizard launched when I restarted work, hope this helps someone else.

  56. Bill Says:

    Sorry typo above, should say- the Lookout wizard launched when I restarted Outlook.

  57. mn Says:

    Excellent - thanks for making this work!

  58. Ray Says:

    Solved problem:

    Had same problem with Lookout toolbar not showing up. XP, OL2007, and Lookout. Checked under Help->Disabled Items and found an item there which I enabled. Closed OL and restarted and Lookout began with indexing wizard starting up.

    Thank you.

  59. Stephan Says:

    Leon!
    this saved my life! I really loved the lookout experience and did not find any solution with outlook 2007 that could be used as a replacement. Your fix works brilliant and without any problems for me (XP). This is totally cool!
    thanks so much
    Stephan

  60. Chris Says:

    Thanks! I also had to re-enable the toolbar under help-> about outlook-> disabled items. I am a big fan of lookout and have been having trouble searching my e-mail all week since it stopped working for me after outlook crashed. Now I can find whatever I want again!!!!!

    Thanks,
    CD

  61. stroths Says:

    I got it to work fine on my office computer which has XP, but it would crash on my home Vista x64 machine. I tried installing the latest 1.3x version of lookout and renaming the assembly\GAC files with no luck.

    I got it working by using the older 1.20 version as suggested and using the 2 patched dlls. I zipped them up and added instructions for anyone interested.

    http://rapidshare.com/files/194044374/LookOut_for_Outlook.zip

  62. Paul Linos Says:

    i tried all of the stuff to get back my old good lookout, but it doesn´t work on vista quite right…i really was pissed off because i liked it so much and it was such a great help for me…but no i found a tool which is even equal with outlook and works quite similar…lookeen…it´s really great and you can test it for the first 14 days for free… http://www.lookeen.com

    you will see, it´s really a great alternative!

    Paul

  63. Solomon Waters Says:

    Great information!

    I am on Vista Business SP1, Outlook 2007.
    I was able to get Lookout 1.3 to run after replacing Lookout.dll, Inventures_Olk.dll as mentioned above. I got the error “access to the path c:\Program Files\Lookout Software\Lookout\AppUpdate.log is denied” - it turned out the log file didn’t exist. After I created the log file, I ceased to receive the error. The index built manually without crashing and I have had no issues to date (although I have only had it running for 2 days).

  64. Thomas H Says:

    thanks very very much.
    i cried a little when it worked again.

    ol2007 @ xpSp3, lookout 1.3 :D

  65. Chris Says:

    Excellent work-around. Other fixes on the Internet did not work, but this one did. Thanks a bunch!

  66. Zap B. Says:

    I never knew how much I relied on Lookout until I got upgraded to Office 2007 last week. The built-in Outlook search is really a dog, and having Lookout working again really brings a palpable feeling of relief.. Thanks..

  67. janette Says:

    Which folder is the Inventures_Olk.dll file in?

    Thanks!

  68. Leon Zandman Says:

    On my system it is located in C:\Program Files\Lookout Software\Lookout.

  69. mela Says:

    just to mark it here too:

    I’ve tried all the solutions above, none worked for me.
    Then I’ve donwloaded Lookout 1.28, and without any patching or modification it works perfectly (and fast).

    Cheers!

  70. chintan Says:

    This worked on Outlook 2003 & XP Pro(currently indexing folders). Before this, I had wasted about 10 hours in total over the last 4 months to find a solution. I can’t express in words how much this means to me - just BIG BIG THANKS.
    Microsoft can kill a product - not the creativity :)

  71. Eth Says:

    I tried it and it didn´t work…but I am not soo sad about it because in the meantime I think it makes no sense to use an tool, which isn´t developed anymore and will not be in future! So I think the best solution is simply to use another tool, because there are a few good ones, which in my opinion overtake Lookout, so for example LOOKEEN!

  72. Mike Says:

    Thanx so much! Replacing the two .dlls worked for me - I REALLY missed searching my .pst files!!

  73. Sanjay Sharma Says:

    Hiii

    Thanks Alot. It is working fine for me. I’m great Fan of this application. You make my day.

    :)

    Sanjay

  74. Aussie_Guy Says:

    This fix really works.

    I had applied an earlier workaround to get Lookout working with Outlook 2007 on Windows XP Professional, but after many happy months of using it, it stopped again with an error:

    ———————————————————-
    Lookout failed to start

    Sorry!! It looks like another Outlook Plugin has installed an unofficial version of the Outlook libraries which breaks Lookout. Lookout will not be able to aload. For more information, see this link: http://www.lookoutsoft.com/Forums/topic.asp?TOPIC_IC=10
    ———————————————————-

    This link wasn’t useful - it only led to Windows Search, and it was the unpleasantly slow experience with that application which made me look for the original solution to getting Lookout back and working again.

    However, this page here was useful, and the link to the page with:

    http://www.wirwar.com/blog/wp-content/inventures_olk.zip

    produced a workaround in only the time it took to rename and copy the DLL and restart Outlook - or next to no time.

    Very happy.

  75. Aussie_Guy Says:

    To add to my last comment, yes, my Lookout was in a different location as pointed out by an earlier poster:

    C:\Program Files\Lookout Software\Lookout

  76. Hassan Ali Says:

    Great fix!

    just copied the DLL and the lookout error prompt vanished.

    thanks a ton!!

  77. Rick P. Says:

    A ‘life saving fix’ - fantastic!

    Used zip provide by Stroths above and all seems to work fine with LO 1.2 and OL 2007 SP1 & Vista

  78. Pat Says:

    I really don´t understand why so many people hold on an old undeveloped tool!?
    There are so many out there, which are as good as Lookout even better and which are developed and supported! Ok once it was really a good tool, but know in 2009 it is dead!
    Beside this I work with Lookeen now too and have to say that is a lot better than Lookout!

  79. Jake Says:

    Worked great! Nothing that I have tried comes close to Lookout. I’m glad you could help me get it back! I really appreciate it.

Leave a Reply