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:
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: decompiling, ildasm, lookout, outlook 2007, patch, pia

January 22nd, 2008 at 10:44:37
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
January 22nd, 2008 at 11:00:49
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.
January 22nd, 2008 at 14:57:45
Great article! I’m using Lookout with Vista and have no problems! Just disable automatic indexing of new e-mails and do it manually.
January 23rd, 2008 at 1:54:13
@Rob P: Even manual indexing doesn’t work for me on Vista…
January 23rd, 2008 at 10:13:37
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
January 24th, 2008 at 3:07:22
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.
January 24th, 2008 at 19:26:10
I am now using Lookeen! Seems to be the perfect replacement for Lookout - unless the price of course.
-J
January 29th, 2008 at 10:34:52
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
January 30th, 2008 at 0:14:24
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?
January 30th, 2008 at 11:54:57
@Jeff S: do you mean it crashes on Vista? Or do you experience crashes on Windows XP?
February 27th, 2008 at 4:44:43
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?
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!
March 5th, 2008 at 8:03:47
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
March 5th, 2008 at 10:19:52
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.
March 7th, 2008 at 12:29:52
[...] 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) [...]
March 10th, 2008 at 10:20:45
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.
March 10th, 2008 at 10:22:12
Nevermind the above comment…It appears to be a Firefox thingy…again.
March 19th, 2008 at 18:38:02
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
March 27th, 2008 at 15:51:18
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
March 28th, 2008 at 1:01:10
@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…
March 31st, 2008 at 23:17:17
I have been using Lookout, patched, on Vista home premium / Office 2007 without issues for a few days now.
April 3rd, 2008 at 11:17:39
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
May 14th, 2008 at 21:46:56
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.
May 14th, 2008 at 22:03:45
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.
May 15th, 2008 at 17:57:02
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!!
May 18th, 2008 at 23:41:14
Glad to see that that version upgrade solved your problems, Darrell.
May 22nd, 2008 at 19:48:19
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
May 30th, 2008 at 3:33:37
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!
June 5th, 2008 at 14:00:51
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?
June 20th, 2008 at 13:31:04
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?
June 24th, 2008 at 19:04:24
Where is this Inventures_Olk.dll file located? I can’t find it in my Office 2007 directories.
Thanks.
June 24th, 2008 at 19:14:46
Ignore my question please. I should have read the postings carefully.
June 25th, 2008 at 17:36:43
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.
July 1st, 2008 at 22:52:54
[...] and Inventures_old.dll. Unzip the latter and use them to overwrite what Lookout already installed. Leon Zandman’s been writing more on [...]
July 8th, 2008 at 16:21:28
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!!
July 12th, 2008 at 1:35:52
Same problem here.
Outlook 2007 on Windows XP. Lookout 1.3
- Got the pop up with error message.
(not in the right-click menu either)
- Replaced Inventures_Olk.dll
- No error message, but no toolbar 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.
July 14th, 2008 at 13:38:11
@Roberto and SteveG: Sorry guys, but I can’t help you. It all works fine for me.
July 29th, 2008 at 23:36:35
[...] 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 [...]
August 3rd, 2008 at 21:12:58
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.
August 8th, 2008 at 11:34:48
How I Uninstall Look out form Outlook 2007 win xp?
thank you for help
d.
August 27th, 2008 at 12:34:27
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?
August 31st, 2008 at 15:21:48
It works well.
Lookout 1.20 and patches mentioned above.
Vista Enterprice SP1, MS office 2007 SP1.
Thanks all!
September 4th, 2008 at 15:19:29
Many many thanks. It was exactly what I was looking for.
Works fine under XP+Outlook2007.
Thank you!
September 10th, 2008 at 21:32:28
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.
September 27th, 2008 at 3:00:05
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
October 2nd, 2008 at 21:47:05
as one post noted … i am well again
thank you
i did a small test and i was amazed (again)
any plans for enhancements
December 10th, 2008 at 17:19:21
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???????
December 17th, 2008 at 0:14:08
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?
December 29th, 2008 at 1:30:44
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?
December 29th, 2008 at 1:31:47
I originally wanted to comment to say THANK YOU. How’d I forget the thank you? This patch is a great help.
December 29th, 2008 at 15:49:51
Oh, and NOW it’s crashing under Vista (I added a bunch of additional PST files). Oh well.
December 31st, 2008 at 0:08:34
@Sheryl: I’m glad you like my patch
It’s too bad Lookout doesn’t run well on Vista.
January 6th, 2009 at 15:44:44
With Outlook 2003 Professional Edition, the Lookout wizard runs EVERY time Outlook is launched. Would appreciate some straight talking advice from anyone reading.
Thanks
January 8th, 2009 at 22:13:42
@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.
January 21st, 2009 at 16:33:25
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.
January 21st, 2009 at 16:37:04
Sorry typo above, should say- the Lookout wizard launched when I restarted Outlook.
January 22nd, 2009 at 20:15:29
Excellent - thanks for making this work!
January 29th, 2009 at 22:41:35
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.
January 31st, 2009 at 13:46:11
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
February 1st, 2009 at 4:00:12
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
February 5th, 2009 at 3:07:32
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
February 17th, 2009 at 1:13:18
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
March 18th, 2009 at 22:05:30
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).
April 9th, 2009 at 19:34:46
thanks very very much.
i cried a little when it worked again.
ol2007 @ xpSp3, lookout 1.3
April 14th, 2009 at 19:12:02
Excellent work-around. Other fixes on the Internet did not work, but this one did. Thanks a bunch!
April 23rd, 2009 at 1:05:10
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..
May 5th, 2009 at 23:27:49
Which folder is the Inventures_Olk.dll file in?
Thanks!
May 6th, 2009 at 9:10:56
On my system it is located in C:\Program Files\Lookout Software\Lookout.
May 7th, 2009 at 12:50:25
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!
May 9th, 2009 at 4:28:39
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
May 14th, 2009 at 15:15:09
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!
May 15th, 2009 at 16:49:56
Thanx so much! Replacing the two .dlls worked for me - I REALLY missed searching my .pst files!!
May 21st, 2009 at 8:52:32
Hiii
Thanks Alot. It is working fine for me. I’m great Fan of this application. You make my day.
Sanjay
June 1st, 2009 at 2:05:34
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.
June 1st, 2009 at 2:07:20
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
June 9th, 2009 at 10:55:40
Great fix!
just copied the DLL and the lookout error prompt vanished.
thanks a ton!!
June 12th, 2009 at 18:11:02
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
June 16th, 2009 at 20:19:47
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!
July 2nd, 2009 at 0:39:09
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.