Excel Application Add-In install - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

dipple
Posts: 1
Joined: Thu Jun 30, 2011 1:04 am

Excel Application Add-In install

I bought Advanced Installer so I could use it to create an install for my Excel application level add-in. I am using Visual Studio 2010 and building the Excel add-in for Office 2007 / 2010. Currently I have been able to build a project that does perform the installation however when I first start Excel i then get the vstools install dialog which is importing / installing the .vsto file that is part of my Visual Studio project.

The problem with this is that I end up with two entries in the list of installed programs in the Cotnrol Panel->Program and Features. In Excel the Add-In is shown twice as the AI install put the files in one folder and the import of the .vsto put the files in another location.

If I change the properties of the AI installer to use the same values as the .vsto file when I open Excel and it attempts to import the .vsto file I get an error that the Add-In is already installed and I need to change the manifest file to upgrade.

To me it seems that AI is simply copying the files to the computer and then creating a registry entry that causes Excel to import the .vsto file. If this is the case then I what is the correct process so that I do not end up with the Add-In listed twice in Excel and end up with two different installs of the add-in under the Excel Add-Ins folder?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Excel Application Add-In install

Hi,

Thank you for registering Advanced Installer.
To me it seems that AI is simply copying the files to the computer and then creating a registry entry that causes Excel to import the .vsto file. If this is the case then I what is the correct process so that I do not end up with the Add-In listed twice in Excel and end up with two different installs of the add-in under the Excel Add-Ins folder?
Your assumption is correct. We install the files to the location you specify and generate a special set of registry entries based on the Office and VSTO version you set from our wizard. However, the package created by Advanced Installer does not install the add-in two times.

I suspect this could happen if you have tested the package on the same machine were you've developed it. Can you please try the package on another machine,
virtual machines are very recommended for testing the packages you create, as you can easily restore them to a clean state.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”