Can't create office add-in installer - Advanced Installer Community
zalfak
Posts: 2
Joined: Fri Sep 13, 2013 6:26 pm

Can't create office add-in installer

I'm unable to use a VSTO office add-in when creating an Office Add-In AI project. I am using the latest version of AI (10.5). My steps to reproduce the problem:

Within visual studio 2012:
1. Create a new Excel (or Word) Add-In project.
2. Add something such as a ribbon to the project
3. verify that this runs correctly through visual studio. Ribbon shows up in Excel (or Word).
4. Save All

Next, I want to create an Advanced Installer project which installs this office add-in:
1.From with AI: File => New => Add-Ins => Office Add-In
2. Click "Create Project"
3. Name product and ord. Hit Next
4. Select "MSI setup file" for distribution type. Hit Next.
5. save project somewhere and name the install package. Hit Next
6. I select "Deploy a VSTO Office Add-In". Hit Next
7. Select "Import the files from a Visual Studio Project". Click the Ellipsis.
8. Select my newly created .csproj file. Hit Next

It then says "Loading Visual Studio...", then "Closing Visual Studio", and then finally the bar turns red and it says "Foo.csproj cannot be accessed. Please verify that the corresponding Visual Studio module is installed or that the project exists."

At this point, I can't continue.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Can't create office add-in installer

Hi,

Can you please send your solution and project files from VS so we can reproduce and investigate this problem? as support at advancedinstaller dot com.

We do not need the source files, but if it is a test project you can send those too.

It seems something fails with the VS import. Are you using VS express edition? If so, you should know that VS does not support importing
solutions created with the Express edition, this is a limitation from their APIs, used by us to import the solutions.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zalfak
Posts: 2
Joined: Fri Sep 13, 2013 6:26 pm

Re: Can't create office add-in installer

I have sent the .sln and .csproj files. I am using Visual Studio Premium 2012.

Return to “Common Problems”