VSTO add-in wizard still broken? - Advanced Installer Community
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

VSTO add-in wizard still broken?

Hi,
I am trying to use the latest AI 11.0 to add a VSTO add-in for Excel to an existing project. The add-in needs to be targeted at Excel 2003 or later (loads of our customers are still using office 2003 :( ). When I run the wizard and select VSTO 2005 SE, I am only offered Office 2007 in the targert office version dropdown. For this version of VSTO I should be offered Office 2003 as well. The result of this is that my add-in fails to run with Excel 2003 as some critical registry entries are missing.

If I create a completely separate Office add-in project then these entries are available, so I guess for now I will have to hack the enties in manually.

While I'm on the subject, the help for both the add-in project/wizard seems woefully lacking. Some expanation of what should be entered in the CSIDL edit box would be nice!

Regards,

Phil
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: VSTO add-in wizard still broken?

Hi Phil,

Thank you for your input on the above issue, we will analyze it immediately and include a fix in the next version of Advanced Installer.

We had little feedback on Office 2003 and this seams that has lead to missing some test cases, sorry for the inconvenience.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: VSTO add-in wizard still broken?

Hi,

I started investigating on the above reported issue, but having problems reproducing it with out test solutions.

As you can see, in the attached screenshot, if I select VSTO 2005 SE the wizard still shows and allows you to select Office 2003 as target version.
Is this different for you?

If yes, can you please upload a test VS solution that reproduces the problem (without your source files), or send the zip by email on support at advancedinstaller dot com.

Regards,
Bogdan
Attachments
Advanced Installer 11.0000.png
Advanced Installer 11.0000.png (27.2 KiB) Viewed 9321 times
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: VSTO add-in wizard still broken?

vsto.png
vsto.png (17.44 KiB) Viewed 9310 times
As you can see I do not have the option to select Office 2003 in the dropdown. All I need to do to (not) get this is create a new enterprise project and then run the addoffice add-in from the toolbar, selecting vsto addin and adding files from a location on disk. I am using advanced installer 11.0 but it was installed as an upgrade replacing an earlier version. I have tested this on two separate machines with the same results. For what it is worth a sample aip file is attached.

Phil
Attachments
Your Application.aip
(15 KiB) Downloaded 498 times
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: VSTO add-in wizard still broken?

Hi Phil,

Thank you for the additional details, I managed to reproduce the problem.

The bug appears only if you create an empty project as you said and start the addins wizard from the toolbar. If you try to create
and Office Addin project type from scratch, using the option on the start page, under Add-ins, the combo will be correctly populated.

We shall investigate and fix this ASAP.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: VSTO add-in wizard still broken?

Hi Phil,

I had a look over the code that controls the wizard for the Office Addin. It seems we limit it on purpose when you launch it from
an existent project, to not show Office 2003 in the combo. This is because, according to our documentation from the time the code was written,
an installer generated with Advanced Installer could not support contain more than a single Office 2003 addin (because of conflicting registry entries).

Since there is no built-in way for us to detect if the project already contains or not an addin,the check is more strict, i.e. we assumed that if you have an existing project
you already had the chance to define your add-in, from our "Add-Ins" group in the start page (when creating the project), so we do not allow adding any other Office 2003 add-ins.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: VSTO add-in wizard still broken?

I feel your assumption is extremely flawed! In our case the existing installation project was created several years ago. We have only recently created a VSTO add-in so we never had a chance to add it at the start. In any case the main project is NOT the VSTO add-in so we would have been unlikely to begin from the wizard.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: VSTO add-in wizard still broken?

Hello,

This was fixed in version 11.1 of Advanced Installer released on April 28th, 2014.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
PhilB
Posts: 95
Joined: Fri Jul 06, 2007 4:13 pm

Re: VSTO add-in wizard still broken?

Dan wrote:This was fixed in version 11.1 of Advanced Installer released on April 28th, 2014.
Doesn't look like it to me!

Phil
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: VSTO add-in wizard still broken?

Hello Phil,

Fist of all I apologize for my misleading reply, it seems there was an issue with the resolution for this ticket from our bug track system which we are also using to announce the users with the fixed bugs when a release is made.

As my colleague Bogdan says above, we do NOT allow this because we do not support adding multiple addins for Office 2003 (i.e. we support only one addin for only one office product).

So, you must create the project by starting from the start page of AI, "Add-Ins" group.

If there is anything else I can help you with, please let me know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”