Setup Project problem. Please help.

B

BatKing

Hi,

I am facing some problem for setup project of my PowerPoint add-in. Any
advise is appreciated.

I use VS 2008 created a PowerPoint 2007 COM add-in. Since I am using the
Custom Task Pane in Office 2007, I created another project of UserControl for
the Custom Task Pane. This is resulting I need to deploy 2 dll and 2 tlb
files.

VS 2008 created a setup project for me. the main add-in Primary Output is
set to register as vsdrCOM and my UserControl project's Primary Output is
also set to the same.

the setup works fine. but the problem is for Upgrade installation. every
build I increase the assembly version number of both dlls. and I set the
setup project to "DetectNewerInstalledVersion" True and
"RemovePreviousVersions" True.

From my understanding this should make the user do not have to uninstall the
previous version. User should only install a newer version, then the previous
verison will be gone and everything should work as only the newer version is
installed.

However, I am facing my usercontrol's dll is not RegAsm correctly. When the
add-in installed fine with newer version functions works, but my usercontrol
will not be created. by manually run a RegAsm.exe on the usercontrol's dll
file, then everything will work.

Anyone know why this is happening? if I uninstall the previous version then
install the newer version, the dll is Regasm correctly and everything works
fine. This makes the user have to uninstall the previous version everytime.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top