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!

GSchaller
Posts: 30
Joined: Tue Aug 28, 2007 2:07 am

Office Add-ins

Hi Folks,

I am looking for some advice on how to construct Outlook and Word add-ins as MSIs. I've followed the wizard to the point where it asks you to point to "resources" but it never finds files of the "type" that match. But I don't know what "type" of files it is looking for. Up til now we just used Click=Once to support add-ins but the client now wants MSI installers only. I have the BIN folders from Visual Studio where we've created the DLLs and VSTO files but I can't see how to package this into Advanced Installer. Are there examples out there of this? The help file is particularly unhelpful :( .

A related question is how to use Visual Studio to manage the AIP file but I can't see how to start. AI shows up in my VS tools-options so I know it knows about it but I can't see how to kick off the relationship. The wizard just wants an existing AIP file. We think we'd like VS to manage the installer for the add-ins - makes sense but how?

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

Re: Office Add-ins

Hi Geoff,

There are multiples options to package your addins:

1) if you already have a project that also installs another application. Open the project, then from the toolbar in Home section use the button
"Add Office addin" to start the correct wizard. In this wizard select the VS solutions file and Advanced Installer will automatically detect the resources
that need to inside the installer. Make sure the solution is built before importing it.

You need to start the wizard two times, once for each addin.

2) If you create separate projects, thus installers. Start Advanced Installer and from the Start Page go to "Add-ins -> Office Addins".
Start the wizard and follow the same steps I mentioned above. This way you will create separate MSI packages for each addin.

Basically, the addin installation means that we need the copy the output files on the client machine and create some registry entries on the end user machine.
Advanced Installer creates the registry as a result of the options you select in the wizard.

Regarding Visual Studio. The following is a tutorial for our Visual Studio extension. It shows you the basics, to understand how it works.

You need to create a project for Advanced Installer in your VS solution. The project will contain and empty AIP file, delete it. Then use the options on the project to add a new file
from an existing source and select the file you created from the Advanced Installer GUI.

This will make your Advanced Installer project to build together within VS, as you wish and it will also make it easier to integrate in the automated build system.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
GSchaller
Posts: 30
Joined: Tue Aug 28, 2007 2:07 am

Re: Office Add-ins

I'm all good now. Didn't realise how it would choose the Visual Solution project correctly but I am full bottle now.

Thanks for your help.

Geoff

Return to “Building Installers”