0

I have outlook add-in which i have developed in C# (Not a VSTO application).

There are 4 projects in my solution :

  • Project1 (Add-in project)
  • Project2 (Class library)
  • Project3 (Shim Project)
  • Project4 (Class library)

Here are configurations of it :

  • Project1 (Platform : Any CPU)
  • Project2 (Platform : Any CPU)
  • Project3 (Platform : All Platforms)
  • Project4 (Platform : Any CPU)

I have WIX tool to make installer of it & Here is the snap of configuration manager.

enter image description here

NOTE : Project1.bootstrapper,Project1.setup & Project3 Doesn't shows option for 'Any CPU'.

I am making installer by building my solution in Debug/Release|Any CPU & Debug/Release|x64. But in this case, My add-in is working only in 64bit outlook. In 32bit outlook, Its giving me error "Run time error occurred. COM add-in not loaded". And While i am installing this add-in for 32bit outlook, Installer showing me message "Add-in (x64) Installing..." instead of "Add-in (x86) Installing...".

If i am buidling my solution in Debug/Release|x86, Then add-in is loaded on 32bit outlook. But this time not loading on 64bit outlook. While i am installing add-in on 64bit outlook, Installer showing me message "Add-in (x86) Installing..." instead of "Add-in (x64) Installing...".

Can anybody help me : How to make installer that can work on both architecture of outlook..?

Smit Rathod
  • 101
  • 6

0 Answers0