A
Andreas Mauczka
Hi all,
I am using VS .Net 2003 to develop an Outlook AddIn. This AddIn uses an
import that cannot be registered; it works simply by instancing it. Now when
I compile the project, I get the Error that the Registration for Interop Com
has failed, which was expected. So I disabled the registration for the normal
build and manually selected to register the required .dlls thru the setup
project of the AddIn.
This worked. I could deploy the tool by taking that route. Now I had to
reset my development environment recently and after installing everything
again and recompiling the Project I can no longer deploy it. Nothing has
changed, I am using the same .dlls, I use the same setup, I just can't create
a running version of my Project any longer.
Things I tried already:
-Create a new project, import all classes => Result: I still can not deploy
it, but I can build a version that runs via the normal build process. This is
hard to explain, basically I get it to run on my machine, but the addin
doesnt load on other machines when I install it via setup. Note: the project
loads from the /bin directory and not from the installation directory after I
install and run it on my development PC
-Exchanged the .dlls: Used the MS PIAs, the OL 2003 .dlls and the OL 2000
..dlls => Result: always the same. It runs on my dev. PC.
-Used TlbExp.exe on the .dll => Result:Now I can register the whole Project
via com-interop but the outcome hasnt changed. Still cant deploy it.
I dont get any errormessages or anything. The AddIn just doesnt load after
installation.
I hope I made myself clear and that someone can help me.. I have no clue
what else I can try..
Thanks in Advance!
I am using VS .Net 2003 to develop an Outlook AddIn. This AddIn uses an
import that cannot be registered; it works simply by instancing it. Now when
I compile the project, I get the Error that the Registration for Interop Com
has failed, which was expected. So I disabled the registration for the normal
build and manually selected to register the required .dlls thru the setup
project of the AddIn.
This worked. I could deploy the tool by taking that route. Now I had to
reset my development environment recently and after installing everything
again and recompiling the Project I can no longer deploy it. Nothing has
changed, I am using the same .dlls, I use the same setup, I just can't create
a running version of my Project any longer.
Things I tried already:
-Create a new project, import all classes => Result: I still can not deploy
it, but I can build a version that runs via the normal build process. This is
hard to explain, basically I get it to run on my machine, but the addin
doesnt load on other machines when I install it via setup. Note: the project
loads from the /bin directory and not from the installation directory after I
install and run it on my development PC
-Exchanged the .dlls: Used the MS PIAs, the OL 2003 .dlls and the OL 2000
..dlls => Result: always the same. It runs on my dev. PC.
-Used TlbExp.exe on the .dll => Result:Now I can register the whole Project
via com-interop but the outcome hasnt changed. Still cant deploy it.
I dont get any errormessages or anything. The AddIn just doesnt load after
installation.
I hope I made myself clear and that someone can help me.. I have no clue
what else I can try..
Thanks in Advance!